1
0
-1

Team,

If anyone has insights for how to effectively use Selenium with Avoka Composer published forms in TM, that would be great information to share.

 

Thanks,

Kendall

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi

      We're working on a project to assist with Selenium testing of both Composer and Maestro forms. If you would like to get access to an early access release, please contact support.

      Regards,

      Howard Treisman

      Chief Innovation Officer

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Kendall,

        Here are a couple of tips I've found in my own development of Selenium scripts with Composer forms.

        How To Replace Control IDs with XPath for Selenium Testing

        When building Selenium test scripts, instead of relying on field IDs of controls like buttons which can change on publication, use these XPath statements:


        XPath for a Radio Button
        //div[text() = 'Radio Button Label Text']/../following-sibling::div//input[@data-onvalue='RadioButtonValue']

         

        XPath for a Wizard Continue button
        //button[span = 'Continue']

         

        XPath for the Apply button
        //button[span = 'Apply']

         

        How to sign a form using Selenium

        The following Selenium test script simulates mouse moves on the signature widget. 

         

        mouseDown css=canvas
        mouseMove css=canvas
        mouseUp css=canvas
          CommentAdd your comment...