QTP "Can't recognize object" 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: QTP "Can't recognize object" error (/Thread-QTP-Can-t-recognize-object-error) |
QTP "Can't recognize object" error - Ansh123 - 12-23-2011 Hi, I am trying to create a simple login webscript. This is the line of code. Code: Browser("HR Worksheet Navigator").Page("HR Worksheet Navigator").WebEdit("j_user").Click QTP errors out on and gives me a message that it cannot recognize WebEdit object. So I go to ORepository and highlight the object in the application and it highlights the object "j_user". So looks like Runtime value of that webedit object is changing. Not sure how to handle this. Appreciate if someone could help me out. RE: QTP "Can't recognize object" error - sshukla12 - 12-23-2011 go for regular expression. it will help u. Regards, Sankalp RE: QTP "Can't recognize object" error - Ansh123 - 12-28-2011 Could you please give me an example? I am new to QTP. Thanks RE: QTP "Can't recognize object" error - sshukla12 - 12-28-2011 Hi, U have mentioned that object is changing. could u please provide us the comman pattern between the two objects so that we can suggest u the regular expression. Regards, Sankalp |