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


Please Help Members By Posting Answers For Below Questions

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?

4682


Through array we can execute the testcase how ? give me example

1391


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

552


Why script error occur in between recording in qtp?

1756


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

1590






Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

599


How many types of parameters are available in quicktest professional (qtp)?

574


How you can make an action as re-usable action?

642


How to give a call to another action from one action?

618


How you calling actions in qtp?

620


Differences between text and test area checkpoints?

568


wt is the use of multiple questions in QTP

1671


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?

1480


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?

1739


Which environments are supported by hp qtp?

593