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 |
what is the defference between calling ation and called action?
Where the text version of script file located in file system?
Wt is the difference between Business Component and scripted component?
how to retrieve the column headers in database using vbscript statement in QTP
what is the latest version of QTP? Main difference between 9.2 and 10 version
How to "Turn Off" QTP results after running a Script?
how u write vb script in qtp pls give me some basic script and some material
32 Answers Datamatics, UHG, Winit,
How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario.
how to calculate no. of repeating characters in a a string..please give me the code
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)
Tell me few important difference Between QTP and WinRunner?
How to make arguments optional in a function?