I need to input field value in application and no unique attribute for that field. Due to that I am using text() function and it worked. This application changes slightly between vendors.
In application, for vendor1, field name is: Physical street address
for other vendor, it is Physical Street Address
Streed and Address are case sensitive between two vendors and due to this my script is failing.
My xPath which is working for second vendor but failing for first vendor:
//tr[td[contains(text(),'Physical Street Address')]]/td//input[contains(@id, 'part1')]
I checked with translate but it is not working.