What is output value in QTP? Why do we use the output value
in QTP?How many types of output values are there in QTP?
what are their respective usage in QTP?
Answer Posted / nilesh banjare
Please find out the solution for Task 3 Output Values.
Dialog("Login").WinEdit("Agent Name:").Set Datatable.Value ("Username",Global)
Dialog("Login").WinEdit("Password:").Set Datatable.Value ("Password",Global) @@ hightlight id_;_3409322_;_script infofile_;_ZIP::ssf1.xml_;_
Dialog("Login").WinButton("OK").Click
If Window("Flight Reservation").Exist Then
Datatable.Value("ErrorMessage",1)="No Error"
wait 10
Exittest
End If
Dialog("Login").Dialog("Flight Reservations").Static("Agent name must be").Output CheckPoint("ErrorMessage")
dialog("text:=Flight Reservations").WinButton("text:=OK").Click
Dialog("text:=Login").close
Thanks,
Nilesh Banjare
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is clean sweep?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
What is the significance of “action 0” in qtp?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
How to remove the associated function library?
Can we run multiple QTP scripts one after the other without manual intervention? How?
how to download mercury qtp9.2 ny internet ?
give me the code to save all messages of inbox of gmail into a folder and notepad
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
Why do we use breakpoints in QTP?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
What are the different types of recording modes in qtp? Which will be used when?
What is the qtp testing process?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?