//a[@type='text'][contains(@class,'form-control')][contains(@name,'projectsurvey')]
Do we have a way when the element name changes from input to some other For Example : class then definitely script fails. So do we have any other different ways to identify the element on the page if any changes are done on the page?
//input[@type='text'][contains(@class,'form-control')][contains(@name,'projectsurvey')]
You can see in the above xpath it got changed from //a
to //input
then script is unable to identify this element on the page.