Can u call winRunner scripts from QTP?

Answer Posted / deeps

V can call TSL test in Winrunner from QTP by using RunTest
method.This is supported to Winrunner 7.01 version or later.
But its recomended to use newer RunTestEx method when using
Winrunner 7.6 or later.

here is the syntax for both RunTest and RunTestEx methods:

TSLTest.RunTest testpath,testset [,parameters]

testpath--->path of winrunner test
testset--->the testset in Qualitycenter where the testruns
are executed.This parameter can be ignored if teststes r
not stored in QC.

Parameters---->optional

TSLTest.RunTestEx testpath,runminimized,close app
[parameters]

testpath---path of winrunnertest (string)
runminimized-->indicates whether to open or minimize the
winrunner during test run (boolean)
closeapp-->indiactes whether to close winrunner when test
run ends.(boolean)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Samrat, Thank u very much, what u said it is right.

1340


How to use setroproperty?

564


How to create scenario selector

1470


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1341


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

1606






Explain quicktest professional (qtp) testing process?

534


Explain xml checkpoints.

593


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

625


Can we run test with out adding object in object repository? How it is possible?

539


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1400


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1547


How to add verification steps to tests?

9116


How you debug your script?

560


What are the features and benefits of quick test pro (qtp 8.0)?

592


Which environments does qtp support?

669