Hi,
How to invoke QTP or any application through Command Prompt
without using Vb script and batch file....
Reply me
Srinivas
Answers were Sorted based on User's Feedback
Answer / supriya
************openqtp.vbs************
Save this in a vbscript:-
Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible=True
**************
and in command prompt
Run this
csript openqtp.vbs
****************
I am not sure if you are looking for the same
because to invoke qtp application wehave to use the above
script
and for running a vb script in vbs , we use csript/wscript
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / navjyot
create vbscript file as:
set app=createobject("quicktest.application")
app.launch
app.visible=true
Then run this file in cmd prompt by its name
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / surya
Hi
The above given Answers are absolutely currect But
according to the Question the answer should be without
using Vb Script
It is possible to invoke QTP or any Application without
using VBscript by simply Run it's complete path
Ex:
Start -> Run ->
"C:\Program Files\Mercury Interactive\QuickTest
Professional\bin\QTPro.exe"
Thank you
| Is This Answer Correct ? | 3 Yes | 0 No |
what is the frame work your using in automation testing
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
There r 1000 rows and 1000 coloums , in that I want pickup a name of the coloumn , pls dont say in sql statements , in interview one of the interviewer said it was a wrong answer pls any send me answer its urgent
What is debugging? How you debug your script?
How to test background color and dynamic images during run time can you put the check point for moving objects?
How to create an instance in QTP?
3.How to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.
How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script
does the vb script knowledge is mandatery in testing using QTP
Write test cases for copy and past password in password field ?
what is output parameters in qtp?explain? 2)