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

Answer Posted / rahul

If the displayed dialog property is same then we can use below listed code

If Browser("").dialog("").exist then
Browser("").Dialog("").webbutton("").click
End If

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Difference between copy to action and call to action?

584


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1515


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1436


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

1623


Diff b/w Health care domain and Banking Domain?

4211






Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1494


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1466


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

1590


Is it possible to use two instances of UFT on the same machine? If not why?

595


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

5508


explain how to write vb script in qtp?when will you write own script?

1853


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1475


How many types of recording facility are available in quicktest professional (qtp)?

603


in a web page How to check and display a particular word from a paragraph?

2037


Explain data driven framework?

575