Announcement

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

    Selenium click issue on expanding/collapsing ListGrid groups

    Hi,

    We are having an issue to expand/collapse ListGrid groups by clicking the group expansion/collapsion icon(row) by Selenium.

    We are using SmartClient v8.3p_2013-09-01/PowerEdition with Selenium IDE 2.4.0 on FireFox 12.

    Please try the following example:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:"100%", height:224,
        overflow: "auto",
        dataSource: countryDS,
        fields:[
            {name:"countryCode", width: 300},
            {name:"countryName", width: 300},
            {name:"government", width: 300},
            {name:"continent", width: 300},
            {name:"capital", width: 300},
            {name:"member_g8", width: 300},
            {name:"independence", width: 300},
            {name:"area", width: 300},
            {name:"population", width: 300},
            {name:"gdp", width: 300}
        ],
        groupStartOpen:"all",
        groupByField: 'continent',
        autoFetchData: true
    
    })
    And the selenium statement we are using is
    selenium.click("scLocator=//ListGrid[ID=\"countryList\"]/body/row[4]/col[fieldName=countryCode||0]");

    We notice that if we scroll the horizontal bar to the middle of the listgrid, the expansion/collapsion works by selenium.click(). It may happens because in your core-extensions we are using for doClick method, it tries to mouse down some coords hidden in the screen. (Due to the horizontal overflow: for the expansion/collapse row it only have one column and the X coords for this column got from isc.AutoTest.getPageCoords(scLocator) seems hidden in the screen).

    Thanks!
    Last edited by ESherbakova; 3 Oct 2013, 07:11.

    #2
    We've reproduced this issue and are deciding on a solution. If you'd like to upgrade to SC 9.0p, it's fixed there and in SC 9.1d.
    Last edited by Isomorphic; 3 Oct 2013, 19:24.

    Comment


      #3
      Hi
      As mentioned above, this issue is resolved in 9.0 and 9.1.
      Unfortunately back-porting the code changes to 8.3 may not be practical.

      There may be a way to workaround this in 8.3, but first can you let us know if this issue is a blocker for you / whether upgrading to 9.0 might be an option for you?

      Regards
      Isomorphic Software

      Comment


        #4
        Thanks for the quick response!

        We are still evaluating the upgrade to 9.0, so we are not going to do it right away. We have a workaround for this issue so we believe it is not a trouble to us now.

        Comment


          #5
          Thanks for letting us know. We're not going to attempt a backport to 8.3 at this time. If this suddenly becomes a priority for you for some reason, please let us know and we'll revisit.

          Regards
          Isomorphic Software

          Comment

          Working...
          X