Object Identification error - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions) +--- Thread: Object Identification error (/Thread-Object-Identification-error) Pages:
1
2
|
Object Identification error - Ansh123 - 12-28-2011 Hi, I am trying to automate a web application. My script reads something like this Code: Browser(...).Page(...).WebEdit(j_user).Set datatable("Userid", dtlocalsheet). QTP is unable to recognise the webedit object when I run the script and throws an Object Identification error even though the OR is able to highlight the object in the application. How can I use Regular expression to solve this issue? Can someone give an example? Thanks Ansh123 RE: Object Identification error - soumen - 12-28-2011 Is j_user the name of the object in the OR? If yes then you should use: Browser(...).Page(...).WebEdit("j_user").Set datatable("Userid", dtlocalsheet). RE: Object Identification error - vinod123 - 12-28-2011 can u send the error message and upload any screenshot of that so i can send script to resolve it RE: Object Identification error - ravi.gajul - 12-28-2011 Could you please check whether or not the property of that particular object follows a pattern? RE: Object Identification error - Ansh123 - 12-29-2011 Screenshot of the error message is attached RE: Object Identification error - Ansh123 - 12-30-2011 I have attached a screenshot of the error. Let me know if you are unable to view it. Thanks RE: Object Identification error - soumen - 12-30-2011 What are the properties that are displayed on spying? RE: Object Identification error - Ansh123 - 01-03-2012 Screenshot is attached. Thanks RE: Object Identification error - sundari_msls - 01-04-2012 Hello, There are two possibilities for this issue: 1. Might be the input value (datatable("Userid", dtlocalsheet)) which ever you are giving is different. Please put a message box and see what the input is. 2. Can you try to remove the name property for the object in OR. (as we have index property) One more question... are you getting the object not found error after a long wait? RE: Object Identification error - Ansh123 - 01-04-2012 Yes I am getting the object not found error after a long wait. I am getting the object not found after a long wait. |