Skip to main content

Posts

Showing posts from September, 2011

Selenium Grid with TestNG

Hi all, Here I want to share some information on "How to run selenium tests in parallel using Grid". Steps: 1.      Keep ready the tests and TestNG.xml file by including tests to be run. 2.      Launch the Grid using " ant launch-hub " 3.      Then, launch how many RC instances you want to run on different environments like,  " ant launch-remote-control " 1.      You should use parameter   -DhubURL=yourHubURL.   Here yourHubURL is the machine address in which you launched Grid Hub. 2.      then you can use parameters   -Dport, -Denvironment, -Dhost   to launch different RCs. 4.      So now, Hub and RC instances are running. To see the running instances, goto  http://localhost:4444/console 5.      After this, you have to make test multiplication for the purpose of making each instance...

Selenium Start Up - Practical Guide

What is Selenium for? It is used for functional or system testing web applications. These tests are also sometimes called acceptance, customer, or integration tests. Selenium is not meant for unit testing. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.         Works anywhere JavaScript is supported         Hooks for many other languages - Java, Ruby, Python         Can simulate a user navigating through pages and then assert for specific marks on the pages         All you need to really know is HTML to start using it right away         You can use open source - Selenium tool         Selenium IDE is a plug-in to Firefox to record and playback tests (like WinRunner, QTP).         You can then export the recorded test in most language e.g. HTML, J...