How to execute a WinRunner Script in QTP?

Answers were Sorted based on User's Feedback



How to execute a WinRunner Script in QTP?..

Answer / nitin

Go To Insert ->Call To WinRunner ->Select your test

When We execute ->f5
the qtp will open Winrunner Tool and execute that
particular test

Is This Answer Correct ?    3 Yes 1 No

How to execute a WinRunner Script in QTP?..

Answer / guest

insert->callto winRunner->select test or function

Is This Answer Correct ?    2 Yes 1 No

How to execute a WinRunner Script in QTP?..

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

More QTP Interview Questions

When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

0 Answers   HCL,


How to retrive XML file data in QTP ? using Script(Chandana)

6 Answers   Wipro,


Can anybody help me by sharing the code for checkbox in qtp using vbscript.

2 Answers  


Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone

1 Answers  


Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com

1 Answers   UHG,


What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)

1 Answers   Wipro,


How you debug your script?

0 Answers  


what r the executing modes in QTP

2 Answers  


Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji

1 Answers  


What is test object?

0 Answers  


Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??

6 Answers   Virtusa,


when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,


Categories