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

Hi, actually I completed Btech(CS). But i Will go to admin (Facility) interview. So, If Interviewer asking like " Why You choose this field". What we say? pLZ PLZ PLZ PLZ >............................................Send me.....

2 Answers  


1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?

2 Answers   RBS,


What is an optional step in qtp ?

0 Answers  


Is it a smart choice to use QTP for backend testing?

1 Answers   CTS,


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

0 Answers  


Explain about invoking of application?

2 Answers  


what is compiled module?

1 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

0 Answers  


Explain the concept of object repository & how QTP recognises objects?

1 Answers  


how we will use output values in qtp? is there any possibulity by descriptive programming?

2 Answers  


HOw to add the recovery file at runtime to the test file .

0 Answers  


Categories