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, -Dhostto launch different RCs. 4.So now, Hub and RC instances are running. To see the running instances, goto http://localhost:4444/console

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 supportedHooks for many other languages - Java, Ruby, PythonCan simulate a user navigating through pages and then assert for specific marks on the pagesAll you need to really know is HTML to start using it right awayYou can use open source - Selenium toolSelenium 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, Java, .NET , Perl , Ruby etc.The exported test can be run in any browser and any platform using "selenium remote control".You can use Selenium-Core and customize everything – deprecated.But it is easier to just get a F…