can u Give Procedure to Handle Pop Window & write Code for
that

Answers were Sorted based on User's Feedback



can u Give Procedure to Handle Pop Window & write Code for that..

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

can u Give Procedure to Handle Pop Window & write Code for that..

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

Post New Answer

More QTP Interview Questions

Explain about the test fusion report of quicktest professional (qtp)?

0 Answers  


How to handle the exceptions using recovery scenario manager in QTP?

1 Answers   Crea,


write a function to read the items from Combobox of Flight Reservation application and save in excel.

5 Answers  


Differenece betwen Project and product ? when company need project or product?

4 Answers   Accenture,


Can we test internet application using QTP?

2 Answers   Quinnox,


which type of testing process are you following in ur company? how to recognize a qtp page?

0 Answers  


Differences between text and test area checkpoints?

0 Answers  


How to export QTP results to an ".xls" file?

1 Answers  


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?

1 Answers   Satyam,


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

0 Answers   Rogers,


Which statement will use for close an action in QTP?

0 Answers  


What is the advantage of associating a procedure with a test object?

1 Answers  


Categories