cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PBrt
Frequent Visitor

UI selectors based on element text (in SAP GUI)

Hello,

 

I've a question regarding selectors in PAD: How can i get the full list of the attributes of an element?

 

In web automation, it's quite easy to inspect a webpage's code but for windows automation i couldn't find a way to systematically do the same.

 

The problem is that the selectors given by default when you add a UI element are often lacking. Doing custom selectors is sometimes the only way to make things work. However to do so, the full list of the element's attribute is needed in order to build the most suited selector.

 

In my case, i'd like to dynamically select an element in SAP GUI using the displayed text of my element. This text is nowhere to be seen in standard selectors (the element only identifiable by its id but it's not dynamic). 

If i use the "get details" function on the element and select "own text" as attribute, PAD is able to get me the text. Its quite frustrating not being able to do the same the other way around.

 

If anyone of you knows how does the "get details" function find what "Own text" is, i'd be really interested.

 

Thanks

 

Best regards.

 

2 REPLIES 2
bolin-stratus
Continued Contributor
Continued Contributor

I have the same questions.  

Bragnsmash
New Member

I have the same question. I would like to search by the Own Text on a windows table because everything before that doesn't allow me to find the correct row.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,659)