Child object of webtable 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: Child object of webtable not identified (/Thread-Child-object-of-webtable-not-identified) |
Child object of webtable not identified - Nirav - 04-18-2011 Hi, I am trying to retrieve all webelement objects existing in webtable of a webpage and I could do that using DP without any issues. The issue is in object identification when worked on same object which is recorded in OR instead of using DP. The following works fine because that’s how QTP recorded the click action: Browser(“ “).Page(“ “).Link(“ “).Click But the given below code throws an error: Code: Browser(“ “).Page(“ “).WebTable(“ “).Link(“ “).Click I have manually added WebTable just to check that whether QTP can recognize the object or not as Link is residing inside webtable but QTP neither recorded it that way in kewword view not its showing it under parent webtable in OR. Please guide Thanks, RE: Child object of webtable not identified - supputuri - 04-18-2011 Hi, I could not find any difficulties with the scenario that you have explained. I just checked now by taking Gmail as AUT. Find the below code and let know if you are looking for something different. Code: 'Define new test in OR SignIn button with name property and value "Sing In" RE: Child object of webtable not identified - Nirav - 04-28-2011 Thanks for trying that out!!! You correctly figured out the problem. I also tried the same thing using GMail as AUT and it worked without any issues. I think it might be the AUT which is an intranet application, could have caused some trouble. I will try again on that and let you know if it does not work. Thanks & Regards, Nirav |