Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select item within WebMenu
#5
Not Solved
(10-04-2016, 09:21 PM)Hi,This is what my code looks like: Wrote:  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-11-2016, 03:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ContextMenu item disabled Powerbuilder Phread 1 3,901 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,148 05-15-2012, 12:07 AM
Last Post: viswa
Rolleyes How to select multiple choices from Multi-Select weblist blavanya 3 9,527 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,184 12-13-2011, 08:15 PM
Last Post: PrabhatN
Question How to access Menu item using DP Charanpreet 0 2,977 04-19-2011, 07:34 PM
Last Post: Charanpreet

Forum Jump:


Users browsing this thread: 2 Guest(s)