Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select item within WebMenu
#4
Not Solved
This is what my code looks like:
 Elements =  Browser().Page().WebElement().GetROProperty("all items")
 iTemCount =  Elements.Count

        For intCounter = 0 to iTemCount - 1
            WebValue = Elements(intCounter).GetROProperty("innertext")
            If Instr (1LCase(WebValue)LCase(CrReg)) Then
            MsgBox CrReg
                Setting.WebPackage("ReplayType") = 2
                Elements(intCounter).Click  --------------This is where my code fails. i.e I cannot click on the desired value
                Setting.WebPackage("ReplayType") = 1
                Exit For
            End If
        Next
Reply


Messages In This Thread
How to select item within WebMenu - by learnasugo - 09-07-2016, 12:18 PM
RE: How to select item within WebMenu - by learnasugo - 10-05-2016, 06:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ContextMenu item disabled Powerbuilder Phread 1 3,924 05-24-2012, 10:15 AM
Last Post: Shridevi.Salagare
  Unable to select an item from weblist and unable to enter text in edit box estherindu 5 9,173 05-15-2012, 12:07 AM
Last Post: viswa
Rolleyes How to select multiple choices from Multi-Select weblist blavanya 3 9,541 01-03-2012, 05:55 PM
Last Post: shivu.hanu
  to check if an item in the list is disabled or not sujaravi123 6 15,234 12-13-2011, 08:15 PM
Last Post: PrabhatN
Question How to access Menu item using DP Charanpreet 0 2,979 04-19-2011, 07:34 PM
Last Post: Charanpreet

Forum Jump:


Users browsing this thread: 1 Guest(s)