How to execute a WinRunner Script in QTP?



How to execute a WinRunner Script in QTP?..

Answer / 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

More QTP Interview Questions

Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

0 Answers  


Set DR= CreateObject("Mercury.DeviceReplay")

2 Answers  


difference Between LowLevel and Normal Recording Modes?

4 Answers  


1>How to get the browser name by writing the VBScript. 2>How did you used the GetROProperty and GetTOproperty .give real time scenario. 2>Give and real time ex for the bug having "High Severity and low priority"on banking doamin web based application.

2 Answers   Nous,


In website, protocol has been changed http:to https what you will do? tell me your approach?

1 Answers  






In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?

2 Answers  


describe common problems of test automation?

3 Answers  


what is KEYWORD DRIVEN TESTING ? I M NOT ASKIN WHAT IS KEY WORD VIEW PLZ ANS FOR ONLY WHAT IS KEYWORD DRIVEN TESTING EXACTLY THANX

3 Answers  


write script to read and write data from file ?

2 Answers   HealthAsyst,


What are the automation metrice in your project?

0 Answers   Accenture,


we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position

3 Answers   Covansys,


Hi all, what is the latest version of QTP?

20 Answers   CTS,


Categories