Yes, thats the best approach.
1. First Find the Object ( I guess in your case it is a weblist ).
2. Find the number of items in the object ( getroproperty("itemscount") )
3. Use For loop to iterate between the count ( For i =1 to itemcount)
4. Select the item based on the index cummulatively (for eg : Select(i) )
Sample Code,
Does this help ?
@Azeem - Can you explain your true intention behind the screenshot ?
1. First Find the Object ( I guess in your case it is a weblist ).
2. Find the number of items in the object ( getroproperty("itemscount") )
3. Use For loop to iterate between the count ( For i =1 to itemcount)
4. Select the item based on the index cummulatively (for eg : Select(i) )
Sample Code,
Code:
itemcount = Browser("IE").Page("Product").WebList("id[MGP915]").GetRoproperty("itemscount")
For i = 1 to itemcount
Browser("IE").Page("Product").WebList("id[MGP915]").Select i
Next
Does this help ?
@Azeem - Can you explain your true intention behind the screenshot ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.