![]() |
QTP childObject - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: QTP childObject (/Thread-QTP-childObject) |
QTP childObject - hadar - 03-26-2014 Hi, I am using QTP11 with windows7 64 bit. In my code I use the childObject method and in some cases it doesn't work. I reproduce it with the below code and using file I generated with different number of the following link: <a href="http://www.w3schools.com" target="_blank">Visit W3Schools</a> If I have 10100 the code print 10100 objects. If I have 10300 the code print 0 objects and there is error. How can this be solved ? Is there a limit to the number of objects or time limit ? Thanks Code: Set d = Description.Create RE: QTP childObject - kgovadav - 04-23-2014 I created a html file (see attached text file) with 22000+ links in the page and ran your code. I'm able to see the result correctly. As far as i know, there is no limit in getting count of child objects. Can you please retry with the attached file? |