Demo UI test project of the BluOr Bank's web application
- Tools
- Test Cases
- Running Automated Tests
- Jenkins Build
- Example of Allure Report
- Integration with Allure TestOps
- Integration with Jira
- Telegram notifications
- Example of test execution using Selenoid
In the Jenkins
task, an Allure report
is generated, and a notification is sent to Telegram
using a dedicated bot.
The testing environment also connects smoothly with Allure TestOps
and Jira
for complete test management and issue tracking.
It offers both local and remote test execution capabilities and utilizes the "Page Object
" design pattern.
The Allure report for each test includes:
- Test steps and their execution results
- Screenshot of the page on the last step
- Page Source (ability to open the source page in a new tab)
- Browser console logs
- Video of the test execution.
- Check currency exchange calculator (Both sell and buy)
- Check IBAN checker
- Check top menu options in available languages (Parametrized)
- Check company logo exist and verifies href in any language (Parametrized)
- Check Internet bank login button exists and verifies href in available languages (Parametrized)
- Check that 'scroll to top' element appears by scrolling page down
To run the automated tests locally:
gradle clean test -Denv='local'
To run the automated tests on Selenoid:
gradle clean test -Denv='remote'
The following method will run the tests with the following default parameters:
- Remote Url: selenoid.autotests.cloud
- Browser: Google Chrome
- Browser version: 100.0
Jenkins Build
To start the build, go to the "Build with parameters" section, select the necessary parameters, and click "Build".
- TASK (set of tests to run)
- BROWSER (browser, chrome by default)
- RESOLUTION (browser window size, 1920x1080 by default)
- VERSION (browser version, 100.0 by default. Supports execution in Firefox on versions 98.0 and 97.0, as well as Chrome 99.0 and 100.0)
- BASE (tested site base url)
After the build is completed, icons for "Allure Report" and "Allure TestOps" will appear next to the build number in the "Build History" section. Clicking on these icons opens pages with the generated HTML report and test documentation, respectively.
Example of Allure Report
Integration with Allure TestOps
On the Dashboard in Allure TestOps, you can see the statistics of the number of tests: how many of them are added and executed manually, how many are automated. New tests and test run results are sent through the integration with each build.
Integration with Jira
Integration with Allure TestOps and Jira is implemented. In the Jira task, you can see which test cases were written as part of the task and their execution results.
After the build is complete, a Telegram bot automatically processes and sends a message with the test run report to a specifically configured chat.
In the Allure reports for each test, a video of the test execution is attached along with a screenshot.