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 keyword driven framework?
in which situation u will use recording and in which situation u will used to write script manually
can anyone tell me from where i can download qtp demo or crack version
Hi, how can we retrieve a specific value from Excel Sheet (Not datatable. for externel file).i mean to say from .xls file. and also tell me from xml file and .doc file. and how can u parameterize ur script from .xls file.(Not data table).
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
What is Virtual Users?
Difference between image checkpoint and bitmap checkpoint
How can we change(increase or decrease)the size of a array variable with out loosing the previous values
1 Answers DST Global Solutions,
how to load the *.vbs (or) test generating script in a new machine?
is it possible to check the text displayed in the tool tip using QTP? if so, how?
Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts?
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?