Micro Focus QTP (UFT) Forums
Using run-time properties of objects - 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: Using run-time properties of objects (/Thread-Using-run-time-properties-of-objects)



Using run-time properties of objects - janriis - 12-16-2009

Hi All

Im getting desperate now :-)

Im testing a VB6 thick client app with QTP 9.5. In the app, a third party component is used for buttons so they are all called Softbuttons.pushbutton_6..etc. Which means that they have new names on each run.

If i use Object spy, i can see the run-time properties and I want to use the run-time property of my buttons, for example "Load".

So how do I use the run-time properties instead of Test Object Properties ?

Thanks

p.s. Someone with the right answer might save Christmas for me :-)


RE: Using run-time properties of objects - Saket - 12-17-2009

try- yourButtonObject.Object.Load
does this works ?