How can I record a generic xpath without the machine name
Posted: Wed Aug 24, 2016 4:26 pm
I am currently building my 1st WEB based test cases on “MachineA” but will later run this on “MachineB,C,D...”.
While building my recordings, each click is recording the full path of A in every xpath and I then have to edit every single one to use a regex match on a substring so that it will still match when running on B.
Is there a way to make the recorder not be so literal and thereby save me the re-editing time on all my clicks.
I thought perhaps this would help but apparently it does not
“The unique ID search can be enabled/disabled within the “General settings” -> 'Enable search by unique ID (if available)'. “
Thanks...
While building my recordings, each click is recording the full path of A in every xpath and I then have to edit every single one to use a regex match on a substring so that it will still match when running on B.
Is there a way to make the recorder not be so literal and thereby save me the re-editing time on all my clicks.
I thought perhaps this would help but apparently it does not
“The unique ID search can be enabled/disabled within the “General settings” -> 'Enable search by unique ID (if available)'. “
Thanks...