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
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
Through array we can execute the testcase how ? give me example
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
Why script error occur in between recording in qtp?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
How many types of parameters are available in quicktest professional (qtp)?
How you can make an action as re-usable action?
How to give a call to another action from one action?
How you calling actions in qtp?
Differences between text and test area checkpoints?
wt is the use of multiple questions in QTP
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
Which environments are supported by hp qtp?