Announcement

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

    Selenium.click() issue on a button

    Hi,

    We are having a problem of calling Selenium.click() on a customized button Item. It seems the item is not clicked.

    This button is an element of a DynamicForm wrapped in several levels of VStack. At one level of the VStack, it has style containing "border:14px solid #ededed;" which makes Selenium.click() not work - if we split the style and remove the border-style: "border-width:14px; order-color:#ededed; ", the Selenium.click() works.

    Please try the attached js and css file. The button we try to click by Selenium is "loginButton" and the issue is caused by the VStack "loginWrapper" with style "cwLoginStyleGeneric".

    Thanks!
    Attached Files
    Last edited by ESherbakova; 5 Sep 2013, 11:48.

    #2
    You've left out critical information, such as what exact version of the SDK you're running (version and date), what browser, and what context you're running the script in (Selenium IDE, Selenium RC Server, etc.)

    It works fine for us in Firefox 23 and Selenium IDE 2.3.0. This Selenium IDE command is generated and works fine during playback:
    Code:
    click
    scLocator=//Button[ID="loginButton"]/

    Comment


      #3
      Sorry for missing the important info. We are using SmartClient_v83p_2013-09-01_PowerEdition on FF12 with Selenium RC 2.13.

      Comment


        #4
        You're using fairly old versions of FF and Selenium. For us to help you, you'll need to install the latest version of the Selenium JARs (or v2.34, which is what we're using internally now). You can grab them from here: http://code.google.com/p/selenium/downloads/list

        We'd also like you to update to FF17ESR (extended support release, for corporate environments) or FF22/FF23, which are more current.

        As mentioned, when we try to reproduce the issue you describe in our environment, it works fine for us.

        Comment

        Working...
        X