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

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
168 views
Answers (1)
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:

(reference: https://admhelp.microfocus.com/uft/en/14.02/AutomationObjectModel/QuickTest~TEOptions~CurrentEmulator~Select_the_Emulator_to_Test_E.html)

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
0
That's what I was looking for. Thanks for also including the Micro Focus reference link.
( at January 30, 2018 10:49 pm)
EyeOnTesting

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

X
Scroll to Top