Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Selenium scLocator for hidden menu items

    SC_SNAPSHOT-2011-01-06/PowerEdition Deployment 2011-01-06

    What is the preferred method for locating hidden/nested menu items? When I expand a menu item that is nested, the right-click Firefox context menu is not available, thus the scLocate feature does not work.

    The Developer's Console Watch tab will show all the isc* objects, but there are no titles, so finding isc* objects that are not Drawn is very difficult. Perhaps one solution is to add a Title field in the Watch tab grid? That would help identify any hidden isc* objects like a nested menu item?

    I have a test case I am trying to write where I need to select a hidden/nested menu item, any suggestions?

    #2
    Fire a click on the parent menu to cause the nested menu to show, then it be drawn and have a title.

    Comment


      #3
      Ok, the Menu now appears in the DevConsole's Watch tab, however the menu items that are click-able do not (even though they are rendered in the browser, they do not show up in the DevConsole)?

      Comment


        #4
        They are ListGrid rows and can be addressed that way in a locator (Menu is a subclass of ListGrid).

        Comment


          #5
          Ok, hence the GridBody class type.

          Comment

          Working...
          X