Category: <span>Webdriver</span>

Google Chrome and ChromeDriver with Selenium

Google Chrome and ChromeDriver with Selenium Before going in details about google chrome and ChromeDriver lets learn some terminology. Wire Protocol: defined as RESTful web services using JSON over HTTP that is being used by webdriver/RemoteWebDriver, to communicate with browser. ChromeDriver is a standalone server developed by Chromium team(Google) which implements wire protocol. ChromeDriver consist of three separate pieces, a. Chrome Browser. b. Selenium Project code (driver) AND c.  An Executable that helps code to communicate with chrome browser (lets call it server for ease) server expects you to have chrome installed in the default location of computer. Before start, …

Slide-bar and slide action using Webdriver

Some websites do have slider elements like you can see in some travel websites like given below. this moment is possible using mouse event and concept would be very much similar to the old article on the mouse event. I will take a simple example of working code with dummy data inside so you can pass your input and see this working. Here is a detailed explanation: You need to keep few things in mind: Slider bar size may or may not vary based on browser size. You may need to slide either by the number of pixels or percentage of …

Jenkins and Continuous Test Execution

Continuous test execution is an essential part of automation testing, especially in regression run. If you need to start execution manually means your return on investment is not as good as needed. There are multiple ways to do this. Developers in many companies use Continuous Integration (CI) tool like Hudson, Rational Team Concert for building application multiple times in a day where codes are checked in from multiple locations. You can use the same feature of building application to perform testing as well. You can build your own in-house application to perform the same task. I will give an idea …