Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Invoke QTP script from command prompt within the QTP forums, part of the Software Testing category; Can anyone explain How to invoke QTP script from command prompt? If we need to create a batch file, what should be the content of the batch file? If we ...
|
|||||||
|
|||
|
Invoke QTP script from command prompt
Can anyone explain How to invoke QTP script from command prompt?
If we need to create a batch file, what should be the content of the batch file? If we need to create the vbs file, what should be the content of that one? Your help is really appreciated. Question asked by visitor Vimala |
| The Following User Says Thank You to Geek_Guest For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Invoke QTP script from command prompt
you can invoke it by having these lines in a VBScript file:
Set qtApp= CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True And then call your scripts one after another qtApp.Open "Enter Complete path for script here" qtApp.Test.Run and once you are done then close the QTP with the following : qtApp.Quit Hope this helps ![]() Kunals. |
|
|||
|
Re: Invoke QTP script from command prompt
you can invoke it by having these lines in a VBScript file:
Set qtApp= CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True And then call your scripts one after another qtApp.Open "Enter Complete path for script here" qtApp.Test.Run and once you are done then close the QTP with the following : qtApp.Quit If we Execute the QTP Scripts like this,then how can we get the results of the Executed Script |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| trouble running rational robot script via .bat/command line | Mandata | Rational Robot | 1 | 02-15-2008 07:38 AM |
| How to invoke IE7 using winrunner? | Geek_Guest | WinRunner | 1 | 08-28-2007 11:10 PM |
| How to invoke the Mozilla Firefox browser | Geek_Guest | WinRunner | 0 | 07-18-2007 11:04 PM |
| Pre-defined prompt and Report level prompt | Geek_Guest | Data Warehousing | 1 | 07-03-2007 02:52 AM |
| Compile a C program using command prompt | priyajos | C and C++ | 2 | 05-17-2007 07:52 AM |