How to execute a WinRunner Script in QTP?
Answers were Sorted based on User's Feedback
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 |
Answer / guest
insert->callto winRunner->select test or function
| Is This Answer Correct ? | 2 Yes | 1 No |
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 |
when we apply the daily build each and every day,the property may change in the application.so that the created script is not reusable in winrunner and qtp.for ex for date field it is taken dtpicker.at another time it is taken some other name.how can i solve it.
Can the user toggle between using Local OR and shared OR for the same action?
How to apporach while starting the automation testing?
What is quick test pro?
How to Run a Test using QTP?
which type of testing process are you following in ur company? how to recognize a qtp page?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
How can I generate customized logs in QTP ?
To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0
What is the difference in between function and sub as well as give some code of both
How to change the run-time value of a property for an object?
can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.