Announcement

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

    #46
    Hi,

    Seems this one is broken again on build: SmartClient_v82p_2012-10-09_PowerEdition. It works fine on SmartClient_v82p_2012-08-21_PowerEdition.

    Thanks!


    Originally posted by acarur01 View Post
    I was unable to get feedback from our Selenium tester on the editable listgrid but I am told of another possible issue with automating select item dropdowns. Please see details below.

    Build: v8.2p_2012-06-06/PowerEdition Development Only (built 2012-06-06)
    Steps: Click the second record in the picklist (“Class B”)
    Code:
    isc.DynamicForm.create({
        width: 500,
        fields: [{
            name: "ct", title: "ct", type: "select",
            valueMap: {
               "AA": "Class A",
               "B/B": "Class B"
            }
        }]
    });
    The locator recorded by using Selenium IDE 1.9.0 on FF 12 is:

    Code:
    scLocator=//FeatureExplorer[ID="featureExplorer"]/exampleViewer/exampleViewPane[Class=ExampleViewPane||index=0||length=1||classIndex=0||classLength=1]/viewContainer/child[Class=DynamicForm||index=0||length=1||classIndex=0||classLength=1]/item[name=ct||title=ct||index=0||Class=SelectItem]/pickList/body/row[ct=B%24fs%24B||1]/col[fieldName=ct||0]
    The “/” is encoded as “%24fs%24”.

    If we open the smartclient console, try

    Code:
    isc.AutoTest.getElement("//FeatureExplorer[ID=\"featureExplorer\"]/exampleViewer/exampleViewPane[Class=ExampleViewPane||index=0||length=1||classIndex=0||classLength=1]/viewContainer/child[Class=DynamicForm||index=0||length=1||classIndex=0||classLength=1]/item[name=ct||title=ct||index=0||Class=SelectItem]/pickList/body/row[ct=B%24fs%24B||1]/col[fieldName=ct||0]")
    it returns null which means no element found.

    But if we try
    Code:
    isc.AutoTest.getElement("//FeatureExplorer[ID=\"featureExplorer\"]/exampleViewer/exampleViewPane[Class=ExampleViewPane||index=0||length=1||classIndex=0||classLength=1]/viewContainer/child[Class=DynamicForm||index=0||length=1||classIndex=0||classLength=1]/item[name=ct||title=ct||index=0||Class=SelectItem]/pickList/body/row[ct=B%2fB||1]/col[fieldName=ct||0]")
    the correct element is found.

    Comment


      #47
      Thanks for letting us know. We've made a change to fix this regression, which will become available in the 8.3 release.

      Comment


        #48
        Thanks for your quick response.

        We are using the 8.2 build and won't upgrade to 8.3 build now. Is it possible to have the fix in 8.2 build since this issue was fixed in 8.2 and was also broken in 8.2.

        Comment


          #49
          We fixed in both the 8.3 branch and 8.2 branch. Sorry for the confusing update!
          You should see the fix in the latest 8.2 nightly build (October 16)

          Regards
          Isomorphic Software

          Comment

          Working...
          X