Micro Focus QTP (UFT) Forums

Full Version: Access QTP Settings programmatically
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ,

I am using PCOMM terminal emulator with UFT to connect to mainframes.
Before running my script in the Mainframe window I have to make the below setting for UFT.

1. Open UFT
2.Open the Mainframe screen
3. Tools->Options->GUI Testing ->Terminal Emulator
4. In the terminal emulator I have to click on the Validate button and receive response as 'OK'.

Only when I do this , UFT identifies the Mainframe window that is opened and perform the desired operations on it.

I am trying to make these settings programmatically through vbscript.
Could anybody provide the line of code ?
Research AOM (Automation Object Model) section in QTP help file. You can take it from there.