How to execute a WinRunner Script in QTP?

Answer Posted / tarun agarwal

(a) TSLTest.RunTest TestPath, TestSet [, Parameters ] --> Used in QTP 6.0 used for backward compatibility

Parameters : The test set within Quality Center, in which test runs are stored. Note that this argument is relevant only when working with a test in a Quality Center project. When the test is not saved in Quality Center, this parameter is ignored.

e.g : TSLTest.RunTest "D: est1", ""


(b) TSLTest.RunTestEx TestPath, RunMinimized, CloseApp [, Parameters ]

TSLTest.RunTestEx "C:WinRunnerTestsasic_flight", TRUE, FALSE, "MyValue"

CloseApp : Indicates whether to close the WinRunner application when the WinRunner test run ends.
Parameters : Up to 15 WinRunner function argument

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which scripting language used by quicktest professional (qtp)?

662


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

985


What is checkpoints for quicktest professional?

551


What is expert view and keyword view?

625


Is qtp supports uni-code?

612






Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1351


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1455


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

564


How can you close the second opened browser?

804


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1212


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

1527


Can you write a script to check if the folder exists or not?

515


How can you send user defined messages to test report?

583


can test automation improve test effectiveness?

1486


What is the XML file architecture ?

1551