Announcement

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

    issue with doubleClick

    try this example
    http://www.smartclient.com/docs/7.0rc2/a/system/reference/SmartClient_Explorer.html#cellClicks
    double click any record, we should see a pop up window which shows which row is clicked.

    but during playback, on both Ie and firefox, there is no pop up window.

    i am using the latest build.

    #2
    Show the test script you've recorded which is not working.

    Do this every time you post, please. We always request the same information.

    Comment


      #3
      Code:
      selenium.open("/isomorphic/system/reference/SmartClient_Explorer.html#cellClicks");
      selenium.doubleClick("scLocator=//ListGrid[ID=\"countryList\"]/body/row[countryCode=JA||countryName=Japan||2]/col[fieldName=countryName||1]");
      selenium.click("scLocator=//Dialog[ID=\"isc_globalWarn\"]/okButton/");

      Comment


        #4
        Run click twice with no delay. That's what triggers the behavior, not the native double click.

        Comment


          #5
          hi guys, run click twice with no dely actually does not work.
          in selenium console, i got "Same command (62ms): click(scLocator=//ListGrid[ID="page$content$$content$resultFrame$docFi...".

          Comment


            #6
            i your selenium core-extension.js, a sequence of event are used to trigger double click
            Code:
            //fire a sequence of events to trigger a SmartClient doubleclick event
                    this.browserbot.triggerMouseEvent(element, "mouseover", true, clientX, clientY);
                    this.browserbot.triggerMouseEvent(element, "mousedown", true, clientX, clientY);
                    this.browserbot.triggerMouseEvent(element, "mouseup", true, clientX, clientY);
                    this.browserbot.clickElement(element);
                    this.browserbot.triggerMouseEvent(element, "mousedown", true, clientX, clientY);
                    this.browserbot.triggerMouseEvent(element, "mouseup", true, clientX, clientY);
                    this.browserbot.triggerMouseEvent(element, "click", true, clientX, clientY);
                    this.browserbot.clickElement(element);
            double click is triggered perfectly in ie, safari and chrome, but only not in firefox.
            can you guys take a look why double click is not triggered in firefox?
            the example is already in the first post.

            Comment

            Working...
            X