Object not identified - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Object not identified (/Thread-Object-not-identified) |
Object not identified - ytr - 12-10-2010 Hi , Can any one help me with my problem. I am trying to test a web page in which it has some WebElements, I created a new object in OR with shared Object. and Here is my code: Code: Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_2").WebCheckBox("agree").Set "ON" I get an error at this point " Code: Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").WebElement("test_email").Click 212,537 " Here is the Error code: Cannot identify the object "test_email" (of class WebElement). Verify that this object's properties match an object currently displayed in your application. Line (10): Code: "Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").WebElement("test_email").Click(212.537)". I removed x,y value parameters ,still no luck. If anyone could help would be a great help. Thanks, YTR. RE: Object not identified - manishbhalshankar - 12-10-2010 Hi YRT, Check the properts of object WebElement("test_email") using Object Spy and compair it with the properties on Object Repository. |