How can I use the value retrieved by OUTPUT VALUE check
point as Input for other Actions?



How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?..

Answer / nath .t

When u selected OUTPUT VALUE, it's stored value into
datatable. we can use datatable value in any actions in
the Test.

Default OUTPUT VALUE is stored in "Global Sheet" in Test.
we can retieve the data as

x = datatable
("Spam_Skillet_Casserole_innertext_out",dtGlobalSheet")

Here in Quotes name mentioned the output checkpoint value.

like this way we can use any where in Actions in Test.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

In QTP, What is Global action and Local action?

0 Answers   Virtusa,


There is an excel file of 1 to 100 sheets how you will iterate through it?

0 Answers  


using descriptive programming how to close all opend browsers?

7 Answers   Satyam,


What is the entry criteria and exit criteria for your test automation

2 Answers   HP, Virtusa,


How do u write a regular expression for date (dd/mm/yyyy) field ?

4 Answers   Semantic Space,


1.what is test automation life cycle?

1 Answers   IBM,


Explain the differences between table and db checkpoints?

0 Answers  


Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman

1 Answers  


did you perform retesting(DATA DRIVEN test) using functions with out using datatable methods how can you perform retesting using functions

3 Answers  


What are the common defects found in your project? (in qtp interview)

0 Answers   TCS,


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


Under what conditions would you recommend QTP for future projects?

1 Answers  


Categories