Announcement

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

    Selenium IDE can't find the right scLocator

    Hello,

    I have to test an application based on smartGWT using Selenium tools.

    We had the SmartGWT 2.4 version and using the extensions, the Selenium IDE was able to get the right scLocator.

    Now, we have migrated to the 2.5 version, and unfortunately, the Selenium IDE couldn't ever reconize the elements.

    It gets a different scLocator at a time.

    For example, the first time it give me: scLocator=//IButton[ID="isc_IButton_408"]/
    But, the next time it give me for the same element: scLocator=//IButton[ID="isc_IButton_402"]/

    I don't know why this is happening.

    Could you please tell me what to do?

    Regards,

    SmartGWT: 2.5
    Firefox: 3.6.14
    Selenium IDE: 1.0.10
    Windows 7

    #2
    No one has encoutered this problem?

    Comment


      #3
      IDs are generated.
      You need to set a hardcoded ID on your IButton.

      If you add a component more than once, you'll need something which allows you to identify your button and still have a randomly generated part in the ID.

      Comment

      Working...
      X