can u Give Procedure to Handle Pop Window & write Code for
that
Answers were Sorted based on User's Feedback
Answer / m.hemakumar
you can use pop up recovery scenario to recover from problem
assume a popup window contains yes ,no ,cancel buttons
Function Name: Popup_Recover()
public function Popup_Recover()
if Browser("title:=*").Dialog("name:=.*").Link
("name:=Yes").Exist Then
Browser("title:=*").Dialog("name:=.*").Link
("name:=Yes").Click
End If
End Function
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / siva
if u enter the invalid password means at that time u can get
the pop up message
for ex
browser(logical name).page(logical name).link(element).set
datatable("username",2)
browser(logical name).page(logical name).link(element).set
datatable("password",2)
if u enter the invalid password means u get the pop up message
Is This Answer Correct ? | 0 Yes | 5 No |
Explain about the test fusion report of quicktest professional (qtp)?
How to handle the exceptions using recovery scenario manager in QTP?
write a function to read the items from Combobox of Flight Reservation application and save in excel.
Differenece betwen Project and product ? when company need project or product?
Can we test internet application using QTP?
which type of testing process are you following in ur company? how to recognize a qtp page?
Differences between text and test area checkpoints?
How to export QTP results to an ".xls" file?
1.what is the extension of action template? 2.what are the strengths and weaknesses of Keyword driven framework? 3.how qtp identify runtime objects?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
Which statement will use for close an action in QTP?
What is the advantage of associating a procedure with a test object?