10-04-2016, 09:21 PM
(This post was last modified: 10-04-2016, 09:22 PM by venkatesh9032.)
Hi,
If you spy on the webmenu u will get all items options so use below syntax.
starValues = B().Pg().webmenu().getropropert("all items")
''Webmenu items will be segregated by space or semi coloumn mostly. In that case split the according to delimeter shown in object spy
strValArray = Split(starValues ,; )
Msgbox Ubound(strValArray)
''Use for loop to get values and add conditional stmt to select values
For i= 0 to ubound(strValArray )
Print Trim(strValArray (i))
Next
'''Please tell me if i answered ur question
If you spy on the webmenu u will get all items options so use below syntax.
starValues = B().Pg().webmenu().getropropert("all items")
''Webmenu items will be segregated by space or semi coloumn mostly. In that case split the according to delimeter shown in object spy
strValArray = Split(starValues ,; )
Msgbox Ubound(strValArray)
''Use for loop to get values and add conditional stmt to select values
For i= 0 to ubound(strValArray )
Print Trim(strValArray (i))
Next
'''Please tell me if i answered ur question