Post new question
Question
Reply
 
Highlighted
Student
Posts: 1
Member Since: ‎08-10-2017
Message 1 of 2 (454 Views)

How to execute UFT 12.02 API test script from external vbs file

Operating System: Microsoft Windows 7 (64-bit)

Hi,

I am unable to execute UFT 12.02 API test script from external vbs file.  

I can execute UFT 12.02 GUI test script from external vbs file successfully.

 

Script for GUI is :


Dim Test_path
Test_path = "Path"
Dim qtApp
Dim qtTest
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = False
qtApp.Open Test_path, True
Set qtTest = qtApp.Test
qtTest.Run
qtTest.Close
qtApp.quit
Set qtTest = Nothing
Set qtApp = Nothing

 

 

 

Regards,

Ronak

Reply
0 Kudos
Master's Graduate
Posts: 1,427
Member Since: ‎10-03-2009
Message 2 of 2 (411 Views)

Re: How to execute MF UFT 12.02 API test script from external vbs file

[ Edited ]

This is the wrong company for MF software. Please use the MF Software Community:
https://community.saas.hpe.com/t5/Unified-Functional-Testing/bd-p/sws-Fun_TEST_SF

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation