Software Testing

UI Automation using Appium and WinAppDriver

Posted on

Introduction to Appium Appium is an open source cross platform test automation framework for use with native, hybrid and mobile web apps. It drives iOS, Android, and Windows apps using the WebDriver protocol. Platforms supported are:  iOS Android Windows FirefoxOS Step 1: Installing Appium in Windows machine Install latest nodejs from https://nodejs.org/en/ Open command prompt and […]

How-To

Selenium Ruby Binding – how ?

Posted on

Good part of selenium is that the selenium tests can be written in multiple programming languages like c#, Java, Perl, PHP, Ruby etc. I normally hear saying that “This Java project, so we can write tests in Java as well”.  The only advantage I see with this is that you can get help from development […]

Software Testing

Using Selenium to Scroll on pages

Posted on

By using selenium to scroll on pages, you can do automated testing of a page which is dynamically loaded. Something like linkedin or facebook where you get the updates as you scroll down the page. To scroll throught the page in Selenium you can use JavaScript function called scrollBy. Here is the code for it. for […]

Software Testing

Using Selenium with JMeter

Posted on

To use Selenium Webdriver with JMeter, install “Webdriver” plugins. The WebDriver sampler is useful if you want to test for performance AJAX or GWT based web applications. Download WebDriver plugins from http://jmeter-plugins.org/downloads/all/ Unzip the files and copy in the lib folder under JMeter home directory. To test if WebDriver plugins installed open Jmeter and test […]

Software Testing

Page Object Model in Selenium

Posted on

Page Object is a Design Pattern which has become popular in test automation for enhancing test maintenance and reducing code duplication. A page object is an object-oriented class that serves as an interface to a page of your Application under test. The tests then use the methods of this page object class whenever they need to […]

Software Testing

Selenium – The AndWait and the waitFor Commands

Posted on

Difference between “AndWait” and the “waitFor” Commands The difference between a command and its AndWait alternative is that the regular command (e.g. click) will do the action and continue with the following command as fast as it can, while the AndWait alternative (e.g. clickAndWait) tells Selenium to wait for the page to load after the action has been done. The AndWait alternative is always used […]

Software Testing

Page Load time using Firebug and Selenium

Posted on

Firebug is a well known tool for debugging and page load time.It provides detailed timing information about Http traffic initiated by the page. The Net panel which collects all the data can be used to export it into HAR file. Prerequisites Firebug – a Firefox plugin NetExport – Firebug extension for exporting data collected by the Net […]