Announcement

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

    Automated Testing for SmartGWT - other than Selinium

    SmartClient Version: v10.0p_2015-06-10/PowerEdition Deployment (built 2015-06-10)
    Browser Version : IE 11.0.9600.17843

    Hello,
    We are using the Smartgwt Power. We are looking for the automated testing tool for the Smartgwt application that uses DataSources.Mainly we need to test the UI functionality. We know that Selenium can do that. But the problem with Selenium we are facing is set the ID for each canvas in the application. The id conflict issue coming while we try to set the ID.

    Please help us to find out the best automated testing tool for SmartGWT.

    #2
    Selenium is the best automated testing tool for SmartGWT.

    All automated testing tools will require you to set stable and non-conflicting IDs for components and/or DOM elements.

    SmartGWT minimizes the effort involved by having most components derive stable IDs if just a single stable ID is provided to some top-level parent. See the Automated Testing and Selenium docs for details.

    Comment


      #3
      Thanks Isomorphic.

      We are using mostly the DataSource (ds.xml) file without much server code(DMI..). So we need to test the output of the DataSource and not UI part . So to test the DataSource (with Advanced criteria) we need to go for the Selenium or any other simple tool will do that? The DataSource is bound with other Canvas (ListGrid) in that case need to create ListGrid also for the testing?
      Last edited by jaikumar; 30 Nov 2015, 11:56.

      Comment


        #4
        Tools like JMeter can capture and replay HTTP requests to the server, and could be used to perform an isolation test of the server. SmartGWT also allows you to use DataSource operations in a command-line Java program, that is, you ran use SmartGWT server-side DataSources without a servlet engine.

        These techniques would typically be used by a team that has a custom DataSource and lots of server-side logic - the reverse of your situation. With the little you've shared, we would instead recommend focusing on UI-driven tests running under Selenium, in order to cover both your server code and your UI in the same set of tests.

        Comment

        Working...
        X