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
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:
//div[text() = 'Radio Button Label Text']/../following-sibling::div//input[@data-onvalue='RadioButtonValue'] |
//button[span = 'Continue'] |
//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 |
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