How to execute a WinRunner Script in QTP?

Answer Posted / ramyab.mca@gmail.com

Hai....

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:\test1", ""

(b) TSLTest.RunTestEx TestPath, RunMinimized, CloseApp [,
Parameters ]
TSLTest.RunTestEx "C:\WinRunner\Tests\basic_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

K,Byeeee.....
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2446


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?

1492


how can we do the frame work in qtp

1602


When and why to use descriptive programming?

607


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1802






what the difference between shared repository and per action repository?

550


What are the main differences of qtp and win runner?

595


How to use the object spy in quicktest professional (qtp) 8.0 version?

511


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1348


How to open a new test using quicktest professional?

574


What is a checkpoint? How many check points are there in qtp?

530


Hi All, I need code for how to execute qtp scripts from excell sheet

1465


What are private functions in QTP? How they can be called from the function library?

636


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1486


explain abt dyanamic changing object with example?

1899