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 |
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
What is Active Screen in QTP?
What is the recovery scenario in qtp?
What is the difference between systemUtil and invoke method..?
How to invoke Mozilla from QTP thru VB Script
what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief
How to create an instance in QTP?
what is frame work of qtp?
Where the text version of script file located in file system?
What is the difference between Datadriven and Parameterization?
How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?
Is any limitation to xml checkpoints?