Micro Focus QTP (UFT) Forums
How to Select GetROproperty value in GUI - 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: How to Select GetROproperty value in GUI (/Thread-How-to-Select-GetROproperty-value-in-GUI)



How to Select GetROproperty value in GUI - sangitarm - 06-06-2011

Code:
Browser("V5.4").Page(" V5.4").WebList("qcolNQSERVICE_AREA_ID").GetTOProperties("items count")

I got the item count(ex:22) of weblist , can anyone tel me how I can select item count (ex:2) in GUI from the weblist


RE: How to Select GetROproperty value in GUI - amruntanjanbalm@gmail.com - 10-15-2012

Use for loop

highlight the items and select 22nd item


RE: How to Select GetROproperty value in GUI - agarwl.anurag - 10-15-2012

Hi,

In your case you can simply use the following code:

Code:
Browser("V5.4").Page(" V5.4").WebList("qcolNQSERVICE_AREA_ID").Select 2

it will select the item present at index 2.

Thanks
ANurag


Hi,

In your case you can simply use the following code:

Code:
Browser("V5.4").Page(" V5.4").WebList("qcolNQSERVICE_AREA_ID").Select 2

it will select the item present at index 2.

Thanks
ANurag