I had a problem like need to click on a button based on Label text field name but label filed position will change ones we submitted .For some filed i have used “Anchor Base Activity” and it is working .
Now when “User group” has identified i need to click on button by using Anchor base we can click left one position but here when we identify the User group filed bot has click after 3 position as in screen shot.
Need help on this.
We have different environments like Q4,Q5 and Q7 for environment the selectors were different That why we need to identify them with Label filed names.
One last option from me to have a selector mapping file for all the required selectors as per environment and use specific selector as per it.
I’m advising non anchor base because it’s delicate and complex to achieve and SAP is not that much complicated to use it.
Also I remembered one thing about different selectors in different environments, it happens due to SAP Connection network settings. verify that the High-Speed Connection (LAN) option is checked. Check this document for more details: Client Side Network Settings - Setup