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 |
Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How can i learn Descriptive programming in QTP. Please reply.
tell me about if in the interview what i should tell about pharma application,what r the pharma application concepts,i need pharma application testing features
When should I use smart identification?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
What is Step generator in qtp? wt is the use? can u any body explain me? plz
With what extension you can save the list of tests in a file to run in test batch runner?
What is the entry and exit point of automation testing
How will you handle the situation when object is not captured during record?
if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?