Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.

6 Answers  


what is the difference between development and testing

1 Answers  


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

0 Answers  


WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?

2 Answers  


When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?

1 Answers   TCS,


Set DR= CreateObject("Mercury.DeviceReplay")

2 Answers  


how can i replace any text from the qtp script with some anothere text

1 Answers   Livetek,


I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?

3 Answers   TCS, Wipro,


Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas

3 Answers   Excel,


how can i parameterize a login page by using database parameterization i fetch the username and password from database and put this on login page and click on ok button. so how can we write script for that code please let me know asap thanks

4 Answers   iCreate,


There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.

1 Answers  


Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya

3 Answers  


Categories