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

I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

0 Answers  


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

0 Answers  


How we can test a Frame in a web page?

1 Answers   eMids,


How to handle the exceptions using recovery secnario manager in quicktest professional?

0 Answers  


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

0 Answers  






Define Error Pane of UFT?

0 Answers  


What is All object and Local object in Object Repositary? Explain me please.

3 Answers  


Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties.

3 Answers   TCS,


How to verify the Cursor focus of a certain field?

1 Answers  


Both static and dynamic arrays are handled by the vb script. Is it true?

0 Answers  


How u perform exception handling in QTp,what is other name for ths?

2 Answers  


What is difference between function and procedure?

41 Answers   HCL, IBM, iGate, Infosys, TCS, Veritas, Wipro,


Categories