Selenide, is what I discovered as part of a new assignment at work. It involved testing of a product management application, majority of it a web based UI.
I took a week to get a deeper understanding of the assignment, both in terms of technical and business. Although it said automation is out of scope for now, I wanted to make my work easier. My hunt for suitable tools ended with Selenide.
It took be around 4 days to automate considerable amount of scenarios which could be presented as ROI or effort savings. Setting up the project with right tech stack took the most time. I spent around 1.5 days in writing tests.
- Selenide – For UI tests
- Maven – Build tool
- Junit5 – For writing tests
- Allure – For reporting
- Docker* – For generating an emailable report.
The intent of this post is to share the project setup so that, if anyone else is looking for something similar, they can avoid the effort to set the project up. You can find this in on my github .
Few thing that I learnt while working on this are listed here :
- Ability to log custom messages in an allure report.
- Ability to use excel sheet as test data input.
- Java Enum
- Junit5 parametrized test.
- Understanding of tags in Junit
Selenide has definitely worked very well for my use cases and would definitely recommend for people to try. There are a lot more things that I would like to learn/understand.
- Better way of handling Test data.
- Leveraging picocli or other argument parsers for executing specific tests/modules.