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

Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

0 Answers  


I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?

3 Answers   TCS, Wipro,


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

0 Answers  


how and what kind of vb functions do us ein QTP?

2 Answers   Ordain Solutions,


In a webtable,a list of values are there,rightnow one values shows,later random another values shows,but how to retrieve the random value in webtable.

1 Answers   HP,






can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???

1 Answers  


Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

5 Answers   Cap Gemini,


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

0 Answers  


what could go wrong with test automation?

0 Answers  


can we use QTP for load testing instead of load runner?

3 Answers  


What is the difference between driver-script and AOM-script?

2 Answers   IBM, Value Labs,


Connect to QC using AOM.

0 Answers   Deloitte,


Categories