Showing posts with label Jenkins. Show all posts
Showing posts with label Jenkins. Show all posts

Saturday, 12 September 2015

Selenium Integration with Jenkins

#thebuddhatree #Selenium #WebDriver #Maven #Jenkins

The Problem
Running your Selenium project from CI tools like Jenkins.

A Solution
In order to integrate Selenium project with Jenkins, you need to manually configure Jenkins job. Let's step through how to do it and make sure it's working.

An Example 
Install Maven in Eclipse, after that create a Maven project for your Selenium. To do that 
  1. Open Eclipse
  2. Create a Maven project
  3. Update POM.XML file with required dependency
  4. Write your Selenium WebDriver code
  5. Make sure code is running
  6. Follow below given steps 

Manorama Yearbook 2015 (Book & CD)
Step 1


Step 2



Step 3



Step 4



Step 5



Step 6




Expected Behavior
Scion of Ikshvaku (1st Part in Ram Chandra Series)
When you build your project from Jenkins, here is what will happen -

  • Build is created & Success message is displayed
Conclusion
Keep in mind that your Maven project should be running successful from local machine.

Note - If any doubt/query/suggestion, pls post in forum - Testing Forum

Happy Learning!