Micro Focus QTP (UFT) Forums
Parametrization using GetRO property - 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: Parametrization using GetRO property (/Thread-Parametrization-using-GetRO-property)



Parametrization using GetRO property - ssuyamboo - 10-16-2008

Hi,,
I am a beginner of QTP.

I have a question about getRo property. How do I use the getRo property to parameterize the test script.

From the documentation , one should add the getRo property to repository first.

I am not clear on this.

Could anybody help

Thanks
Sun


RE: Parametrization using GetRO property - stevol - 10-17-2008

mmhhh... getROproperty is a method of objects... you can use it to capture the value of the interested property... for example if you want to capture the hwnd value of a browser xyz you can write:
Code:
dim a
a=browser("xyz").getroproperty("hwnd")