We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario



We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is diff..

Answer / ram

Yes...We can handle this scenario by creating user
defined function here we pass page and popup object
aspparameters....pls do comment..Ram

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What will be happen if i load object repository at run time, but it has already associated.

0 Answers   NTT Data,


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.

1 Answers  


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

0 Answers  


Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where.

8 Answers   Microsoft,


what is L-trim function will do?

2 Answers  






In where you are keeping or maintaining shared object repository (file)in your appliction?

2 Answers   Inlogic,


What r types of parametarizations?

6 Answers  


What is the condition or scenario that leads the use of object spy in qtp? (while recording we can get all the properties) then wat leads to use this?

2 Answers   iSoft,


What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?

1 Answers  


What is QTP and the use of QTP in TD?

0 Answers   MaxSolPro,


How do u fetch data from a database ?

2 Answers  


What is object repository in qtp?

0 Answers  


Categories