Are there some ways to control/configure rxpath generate algorithm?
I don't know how to explain that better, may be on examples it will most understandable.
So:
Currently generated rxpath:
Code: Select all
/form[@controlname='DealDetails']/container[@controlname='panelButtons']/element[@controlname='btnOk']/button[@accessiblename='&OK']
Code: Select all
/form[@controlname='DealDetails']/container[@controlname='panelButtons']/element[@controlname='btnOk']/button
Another example:
Currently generated rxpath:
Code: Select all
form[@controlname='DealDetails']/container[@controlname='panelClient']/container[@controlname='grpDealDetails']/element[@controlname='txtDealName']/text[@controltypename='TextBoxMaskBox']
Code: Select all
form[@controlname='DealDetails']/container[@controlname='panelClient']/container[@controlname='grpDealDetails']/element[@controlname='txtDealName']
Main reason why I need that:
Automation project is already 1.5 years old and I was not using recordings, and all items in repositories were added manually. Now, I'm investigating how to delegate part of automation engineer's activities to our clients/customers, and was thinking about start using recordings. And repository items generated during recordings have completely irrelevant names