Hi Paul: Rational Functional Tester. I think I stumbled on to the solution by accident. I added the actual list objects to the Object Map using the Test Object Browser function. I found the actual list objects associated with the Combo boxes only by taking a deep dive into the object map. My solution:
damBreedComboBoxcomboBox().waitForExistence();
damBreedComboBoxcomboBbox().click();
damBreedComboBoxcomboBox().setText(dpString("DAM_BREED");
dambreedlist.click(attext(dpString("DAM_BREED")));
I had to use the setText command in the ComboBox so the valid entry would show up in the list object, the list of dog breeds was pretty long. Without the setText statement the click(stText() command could not find breed names near the end of the list. This is a very common control, and I was surprised that there wasn't a discussion and example in either the online documentation or my "Software Test Engineering.." book.
Maybe this can be added the next time the online documentation is updated.
------------------------------
Thomas Taylor
Information Specialist
Internal Revenue Service
Grand Junction CO
970-2543420
------------------------------
Original Message:
Sent: Mon November 07, 2022 08:14 AM
From: Paul Liskay
Subject: Combobox Control Access
Hi, to clarify, are you using testing with Rational Functional Tester or another Rational test tool?
------------------------------
Paul Liskay
------------------------------