Announcement

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

    locator for not-databaound Menu

    SmartClient Version: SNAPSHOT_v13.1d_2024-10-18/AllModules Development Only (built 2024-10-18)

    Hello, I just noticed that for a not databound menu, as the first in this sample: https://www-demos.smartclient.com/sm...id=treeBinding

    the locator doesn't contain the title for the menuItem, ie it's like:
    Code:
    //Menu[level=0]/body/row[0]/col[fieldName=title||1]
    I'm pretty sure that before it was using the title, is it possible to configure the old behaviour?


    #2
    Hi Claudio
    The fact that the menu item name is missing from the locator in this case is not a recent change - you can see the same behavior in 12.1: https://smartclient.com/smartclient-...id=treeBinding

    We do agree that this is a case where the locators would be more robust if the item name was included, instead of relying on row-index. We'll queue this up to get looked at (and we'll be sure to maintain back compat, so index based locators that are already recorded in test cases will continue to work)

    No ETA for this one yet, but we'll follow up on this thread when we have more information for you.

    Regards
    Isomorphic Software

    Comment


      #3
      We've made a change to include menu item titles for in locators - please try the next nightly build dated Oct 31 or above

      Regards
      Isomorphic Software

      Comment


        #4
        SmartClient Version: SNAPSHOT_v13.1d_2024-10-31/Enterprise Deployment (built 2024-10-31)

        Thanks, I see the change.

        Comment

        Working...
        X