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

what r advance features u had done in QTP?

3 Answers   HCL,


What is the main difference between desriptive programming and generic functions

2 Answers   HCL,


How may types of defects identify application or your currently working application?pls give me answer..

0 Answers   Cap Gemini,


HI! I have completed my testing course in 2008. but now am working in banking sector as a data analyst and i want to move to an IT based company but am unable to understand whether i have to complete the testing course again and try for a job .

1 Answers  


suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query

1 Answers   IBM,






How you can make an action as re-usable action?

0 Answers  


What is ‘object spy’ and what is the function of object spy in qtp?

0 Answers  


How we can merge the object repositories?say if we have two or three object repositories then how e can merge them? is there any option in Qtp to merge the object repositories

5 Answers   BirlaSoft,


what is the purpose of QTP?

2 Answers  


Why QTP is termed as a Record and Playback tool?

1 Answers  


How to covert a String to an integer?

5 Answers  


Give answer with example what is orthogonal array testing technique?

1 Answers   CTS, Wipro,


Categories