Posts

Showing posts from November, 2018

Simple Selenium Java example using selenium API

Image
Simple Selenium Java example using selenium API This blog will go through step by step process of creating a simple test case using selenium java api. Pre-Requisites : 1) JDK (Java development Kit) - Download the latest version 2) Eclipse 3) Download API from seleniumHQ.org 4) Download the webdriver the one you are interested in (I have downloaded Chrome driver) Steps :  Install JDK Install or Extract Eclipse into a folder Extract the webdriver to a particular location After the installation of above Open Eclipse Create a new java project Add the selenium libraries to the project Follow the video below to get a simple selenium webdriver example created and run. If you have any Queries, get back to me, I will be glad to help

How to Integrate Selenium Java test case with Jenkins - Continuous Integration

Image
How to Integrate Selenium Java test case with Jenkins (CI) This blog will go through step by step integration of Selenium Test Case with Continuous Integration tool i.e. Jenkins Jenkins is a open source automation server which can be used to automate the tasks related to build and deploy Download the Jenkins software from jenkins.io by selecting the operating system. The I nstallation is quite straightforward all you need to do is click next next and then install. By by default on a Windows machine Jenkins will be installed as a Windows service. I'm not going to use Jenkins as a Windows service so we need to disable that by going to Windows Services Instead I'm gonna start Jenkins using the command prompt. Go to installation folder. Use the following command  Java - jar jenkins.war This will start Jenkins on local machine. Open the browser and goto local installation of Jenkins and from there install  install suggested plug-ins. Follow the video tutorial to integrate ...