- Selenium is used for testing and automating the web applications. We can run our tests with CI/CD tools such as Jenkins. In this blog we will see Jenkins Integration and reporting using Selenium 4.
Why is Jenkins integration required?
- Test automation helps us with continuous defects, errors, and bugs as early as possible. Earlier the issue is found, cheaper it is to fix it.
- With CI/CD integration this is possible, where we can run our tests after every build or after a set interval of time which will help us identify any issues.
- It is always faster to test the service manually or to run the regression manually. As it will run automatically without any human intervention. And a report will be generated at the end of it.
- So, that we can see if any tests are failing or not. If failing they can be easily fixed.
Requirements
- Jenkins
- JDK
- Maven
- Selenium project
Setting up Jenkins
We will be using a maven project and pom.xml class to execute our test. To do that we will be required to configure JDK and Maven in Jenkins.
#jenkins #jenkins ci/cd