Highlighted
Absent Member.
Absent Member.
127 views

Using more properties to identify an object in TE emulator

Hi,

I am using QTP Description object to identify objects in QTP like:
Set oDesc = Description.Create
oDesc(some_property1).value = My_value1
oDesc(some_property2).value = My_value2
...
then I get the object using:
.ChildObjects(oDesc)

It works fine for web objects, but when I tried to use the same for terminal emulator it works only for one property specified! If I need to identify the object by more properties I need to do it like:
TeWindow("protocol:=3270").TeScreen("micclass:=TeScreen").TeField("property1:=value1","property2:=value2","...").Set "whatever"

Can I use Description object to identify object on mainframe using more than just one property?

Many thanks!
Lukas
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.