XM UI-Automation task
Prerequirements for run-
- Installed chrome (Version 98.0.4758.102< (Official Build) (64-bit)) and firefox (for crossbrowser run(97.0.1<))
- Java 11
- Maven
Brief information
Framework built using Selenium and Testng. Supports parallel and crossbrowser run for tests.
Test execution ways.
- Single test run (play button): will run test using driver type provided in config.proerties
- Command line run: can be executed via command mvn clean test -Dsurefire.suiteXmlFile=/src/test/resource/registrationTest.xml (from source root), will execute based on drivers provided in registrationTest.xml
- Suite run via IDEA: Ability to run tests via xml suite from IDEA
Task Description
Automation testing task #1 (UI) Resource: xm.com Tools: Selenium/Java (preferable) OR Cypress/JavaScript OR <your_choise>
Use Case:
- Open Home page (make any check here if needed).
- Click the link located at the right top corner (make any check here if needed).
- Click button (make any check here if needed).
- Fill in all mandatory fields. IMPORTANT: Use "Test+any digit" for and fields.
- Do NOT check check-box.
- Click button.
- Verify the error message.
- Check/select check-box.
- Click button.
- Make a final assertion.
At the end: Imported IntelliJ/other IDE project so we can run it on our local PC.