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



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

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

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

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

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

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

Post New Answer

More QTP Interview Questions

i need the licence key for QTP V9.5 can anyone help me on getting this?

140 Answers  


How do u write a regular expression for date (dd/mm/yyyy) field?

10 Answers  


How to find array size in qtp?

0 Answers  


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


What are main panes available in qtp test browser?

0 Answers  






normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer

2 Answers  


difference Between Call Run action and copy of action?

3 Answers   Quest,


What is Virtual object wizard in QTP?

4 Answers  


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

0 Answers   CTS,


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

0 Answers  


how to idetfy which test cases are automated?who will deside that plz tell me

0 Answers  


Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


Categories