My testing team is using selenium to automate salesforce testing,in the process, they reference the Id's of text boxe's or drop down boxes in the automation script,this works well and good for standard fields as they are similar across different organizations but for custom fields this varies and hence they have to develop different script for each instance, any help on resolving this issue would help us .thanks
I was facing the same problem. As it was suggested in the comments above using another attribute than id actually works. So try any other unique field in the selector:
Try to create your own XPath.
xpath : //*[@tagName= "Testing"]