I am working in selenium webdriver.I have few text boxes whose ids are going to change all the time.
e.g id=ctl00_SPWebPartManager1_g_ad39b78c_a97b_4431_aedb_c9e6270134c6_ctl00_wizNotification_ucChangeData_txtAddress1
but last part remains same always. in above example wizNotification_ucChangeData_txtAddress1
i have tried to go with xpath like:
//input[contains(@id,'txtAddress1')
//input[ends-with(@id,'txtAddress1')]
but while running not able to identify the textarea.
Any suggestions please.
I tried as well with: //input[ends-with(@id,'wizNotification_ucChangeData_txtAddress1')]
but no Luck :(