http://elementalselenium.com/tips/32-xpath-vs-css
[quote:2u0g9afk] Suppose on a webpage, once we have already completed automating it, on later stages, developers adds new fields in between the pages, then how to handle this situations, is there any smart way to handle this while automating at first place itself? or later again we need to keep on updating the xpaths?[/quote:2u0g9afk]
no smart way. have to change the xpaths in properties file.