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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / pramod mallick
use
SystemUtil.CloseProcessByName "IEXPLORE"
'It will close all Browsers with all dependant popup
windows.
| Is This Answer Correct ? | 1 Yes | 7 No |
Problem with XML checkpoint in QTP ?
we have 10 actions in out test how can we convert 9th action is main action ? how ?
How to merge the two object repositories
How many scripts did you have?
What is Modular framework and Keyword drive framework? Explain
How does quicktest professional identifies the object in the application?
What is action?
Hi anyone having QTP 10.0 licence or crack version pls send me in this mail id mdilipkumar04@gmail.com Regards Dilip
how to retrieve data from the data table (from a particular cell)
How to create runtime property for an object?
i m tryed to use qtp in a user registration form but at the "image enter"part it gives a error when i run the qtp bcz the image is changed every time so it gives a error when i use regukar expreesion fot this it still gives a error value bcoz it reads the image code bt nt reconige the image which i enter in the image verification text box.so hw can i automate qtp for this function.plz give me a answer
setroproperty and getroproperty difference