Is there a way to extract the field IDs of SAP Web Dynpro components?
I need them to set up a stable automatic testing environment.
Is there a way to extract the field IDs of SAP Web Dynpro components?
I need them to set up a stable automatic testing environment.
With Firebug you can see the current state of the DOM of a html page. This means you can also see stuff which has been added via AJAX after loading the page (in the case of Web Dynpro pretty much everything).
There is even a feature where you can click on a HTML element, e.g. a form field, and jump to its source, including the id.
Best regards, Tobias
You may be interested on using components labels instead of IDs.
Because, as previously mentioned, you can't rely on IDs: they are generated.
Here is a CSS-like selector that can be used to access an element (in Ruby, using Watir):