Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

How can we integrate Jenkins with Selenium WebDriver?

Solved 1 Answers 36 Views
0 1

can you brief about How can we integrate Jenkins with Selenium WebDriver?

1 Answer

Best answer

At first, you can convert your project to Ant or Maven. 

Link:  how to convert a existing code into maven?

Once your code is converted to Maven, you can download and setup Jenkins.

Once your Jenkins setup is ready, you can go to http://localhost:8080 on your web browser to access the Jenkins dashboard.

Configure Jenkins:

1.Go to Manage Jenkins->Configure System

2.Configure JDK

-Give the JDK name

-JAVA_HOME : C:\Program Files\Java\jdk1.7.0_45

3.Maven configuration

-Give a maven name

-MAVEN_HOME : C:\apache-maven-3.2.5\apache-maven-3.2.5-bin\apache-maven-3.2.5

4.Global Maven_OPTS



5.Save once done

In Jenkins you can create new Job -> Select Maven project, enter project name -> click Ok

On the Job configuration page, enter SCM details and click on "SAVE" button.

Hope that helps!

answered by (733 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors