Hi Thomas,
You can get the properties of an object using getProperties() or getRecognitionProperties() method
For example, If we want to get properties of an 'X' object then we can we use the below code:
Hashtable<Object, Object> props = X().getProperties();
props.forEach((k,v)->System.out.println(k.toString() + " - "+v.toString()));
------------------------------
sravan kumar reddy koteru
------------------------------
Original Message:
Sent: Thu April 13, 2023 09:27 AM
From: Thomas Taylor
Subject: Finding the object with the current focus
I'm trying to use RFT to do Section 508 testing. One of the tests, the 'Z' test, uses the tab key to move right to left and then down to the next line. I have a data set that lists all the objects on the form with the expected sequence number. When the script tabs to an object I need to know if I'm at the right object based on the object id or the object name. So how do I get the properties of the object that has the current focus, without using the object map?
------------------------------
Thomas Taylor
Information Specialist
Internal Revenue Service
Grand Junction CO
970-2543420
------------------------------