• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
HP Recommended
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

1 REPLY 1
HP Recommended

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 <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.