this code show error after some iterations - 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: this code show error after some iterations (/Thread-this-code-show-error-after-some-iterations) |
this code show error after some iterations - excellentpawan - 06-16-2013 Please see attachment RE: this code show error after some iterations - supputuri - 06-16-2013 it's not mandatory to assign the name property for each object type, so when your loop hits the object type which does not support "GetROProperty("name")" then you will get this error. Try to use the error handle mechanism, to know What is the error and proceed further... Let me know if you need any further info RE: this code show error after some iterations - learnQtptips - 06-18-2013 The name property that you are searching for might not be there for the ith item of the object that you have created. To verify this check the ith item or use exception handlling. |