Working with more than one Terminal Emulator on the same device in UFT?
Question ID: 108136

Our team works with both TCPLink and IBM Host On-Demand 8.0 terminal emulators. We’ve scripted some tests using each, so can we then run the tests on one device without having to change the Terminal Emulator settings manually each time? Currently, the test will lock up depending on what TE is set. Thanks in advance!

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on January 30, 2018 10:47 pm
Answers (1)
Private answer

Give this code example a try to change your set Terminal Emulator on the fly in your scripts, found in the Micro Focus community forums:


Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Dim qtTeOptions 'As QuickTest.TeOptions ' Declare the TE Options object variable

Set qtApp = CreateObject(''QuickTest.Application'') ' Create the Application object
Set qtTeOptions = qtApp.Options.TE ' Return the TE Options object
qtTeOptions.CurrentEmulator = ''Host On-Demand 8.0'' ' Set the current emulator as Host On-Demand 8.0''

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on January 30, 2018 10:48 pm
That's what I was looking for. Thanks for also including the Micro Focus reference link.
( at January 30, 2018 10:49 pm)

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top