VBS to launch QTP 9.2 and invoke script automatically - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: VBS to launch QTP 9.2 and invoke script automatically (/Thread-VBS-to-launch-QTP-9-2-and-invoke-script-automatically) |
VBS to launch QTP 9.2 and invoke script automatically - test123 - 04-10-2008 Hi, I need a VBS Script to launch QTP 9.2 and invoke the driver script automatically..... Can you please help me with this? RE: VBS to launch QTP 9.2 and invoke script automatically - lucky.qa - 04-10-2008 ************************************************************************************************************************ 'Description: ' 'This example configures QuickTest views and panes for running QuickTest in visible mode. '************************************************************************************************************************ Code: Dim qtApp 'As QuickTest.Application ' Declare the Application object variable -------------------------------------------------------------------------------- RE: VBS to launch QTP 9.2 and invoke script automatically - Sri - 05-08-2008 The following VBScript works for me: Enter the following code in VBScript editor and save teh file(saves as a VBS file) then you can go to the CMD to run the VBS file or use windows scheduler to schedule for a particular time.This is just an example make sure to change the location of the test script. '************************************************************************** 'The following script opens a test, configures run options and settings, 'runs the test, and then checks the results of the test run. '************************************************************************** Code: Dim qtApp 'As QuickTest.Application 'Declare the Application object variable |