Kotlin Selenium Framwork
Introduction
This is the attempt of someone coming from a Python background, switching to something that would run on the JVM, Kotlin.
This framework includes:
- Maven
- JUnit 5
- Allure reporting
- Page Object Model (POM) structure
Requirements
To run this locally, follow these steps:
- Clone this repo:
git clone XXXXandcd kotlin-selenium-framework - Start Zalenium Grid:
docker-compose up -d - Access your local Admin Grid
- Run:
mvn test -Dbrowser=chrome-- You can run immediatly on multiple browsers by separating them with a comma:-Dbrowser=chrome,firefox - See the result and video
- Check the report with
allure serve PATH_TO_OUTPUT
To be able to run the commands above you'll need to have installed:
- Docker
- Docker-Compose
- Allure (to see the results locally)
- Your usual development environment. This may imply you to change some settings in this code.
On this page
Languages
Kotlin100.0%
Created November 20, 2020
Updated February 23, 2024