which tpye of exceptions mostly do we face in QTP
Answers were Sorted based on User's Feedback
Answer / j. sambasivarao
Mostly, we come across application errors. In that case, we
may go for recovery scenario manager to overcome this
problem either using recovery with function call or
condition (to check error window existency in application
and then recover). Next to the application errors, we may,
but rarely, come across QTP runtime errors. In this case,
we have to go for "Test Run Error" in Recovery Scenario Manager.
J. Sambasivarao
9948280248
jampani_sivarao@yahoo.com
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sandhya
can u explain what is recovery scenario?
and what is the use
and how we use this in the project point of view.
where we associate it in frame work?
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared
4 Answers Tavant Technologies,
How can we import a Open Office excel file in QTP
one ok button and one text box is there.when i click on ok button in that text box one no. will display from 1 to 100 randomley.if that is not 100 when we click on ok button again ,again another text box ll created with another no. we will continue this till the text box created and displays 100.and when its 100 ok button should disabled. remember thet no will display not seriely ,it displays randomley,and each time new text box will created.
What is Object Spy in QTP?
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
how we can do web browser using parametarisation in QTP ?
What is use of object spy?
What is object repository?
What is OUTPUT VALUE ? PLZ Explain With Example?
how do u handle an object with out name in our application using QTP 9.2?
how can i call function (which has link with excell sheet at a remote location) within another function
what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief