How u will open the build automatically in QTP except using
Systemutil.run command

Answer Posted / sandeep

Please refer to the VBScript below.

I used this script to start one application.

You may need to do the same.

In oSheel.Run row enter the variosu command statement which
you take DOS Prompt to required path where exe exists.

Once in that folder just enter name of exe which need to
start application.


Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K C: & CD C:\Program Files\COADE\CAESAR II
5.20& C2.EXE"
Set oShell = Nothing

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the advantages and disadvantages of using functions instead of re usable actions

1518


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1362


Explain about Test Fusion Report of QTP?

705


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

717


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1707






Difference between action & Reusable action?

753


How to use actions in qtp ?

672


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

963


How to integrate the qualitycenter with qtp

1869


Which features or drawbacks of QTP lead to the upgrade for a newer version?

659


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

737


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

658


How to check bitmap output value?

737


how will you load the test cases in ddt?

1680


what is keyword driven testing in qtp?n how is it useful?

1578