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 |
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.
what is the difference between development and testing
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?
Set DR= CreateObject("Mercury.DeviceReplay")
how can i replace any text from the qtp script with some anothere text
I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?
Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas
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
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.
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