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

describe common problems of test automation?

3 Answers  


What type of framework you are using in your company and explain it?

4 Answers   CTS,


in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table

1 Answers  


Hi,Every one,my name is RAHUL,aim wondering if any one got QTP software? If yes,can u plz knock on to gchinthakindhi@gmail/yahoo.com. THANK U.

2 Answers  


How many function you use in your application?

2 Answers   Polaris,






How function returns a value?

1 Answers  


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

1 Answers  


how to add run-time parameter to a datasheet?

1 Answers   Mphasis, Ordain Solutions,


What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?

1 Answers  


w is active screen

2 Answers   GCI, Wipro,


Expalin Text/Text Area Checkpoint

1 Answers   Crea,


anyone can explain Diff B/w Actions and Functions

2 Answers  


Categories