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 / niranjan chandramouli reddy
IF you are getting in different pages of same browser.
then you can use the following code:
Do While Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Exist
Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Close
Loop
You can use this as function and call this function in
every page
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the different types of recording modes?
Explain the differences between table and db checkpoints?
How does you pass optional arguments in qtp?
What are the types of object repository?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Differences between quicktest professional (qtp) and winrunner?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Approach for Installation,comaptibility,system testing
How does you test a weblink which is changing dynamically?
What is the extension of qtp local repository?
How you debug your script?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Can any body please tell me the steps of keyword driven framework of QTP.
What are the different kinds of test steps?
Explain the features and benefits of quick test pro(qtp)?