What is Selenium?
Selenium is the most widely used open source automated functional testing tools in the market today. It is composed of essential components like Selenium IDE, Selenium WebDriver, Selenium RemoteControl and Selenium Grid.
Selenium IDE comes as a Firefox plugin which provides an easy-to-use interface for developing automated functional tests. Selenium IDE has a recording feature, which can help you record user actions as they are performed and then exports them as a reusable script in one of many programming languages that can be later executed. The IDE can help you to record, edit and debug tests.
Pre-requisites for learning Selenium
- Experience on QTP does help to quickly learn Selenium as the base of automation remains the
same. For those who aren’t much experience in to QTP / automation, should read some books,
blogs on QTP to understand how it works. - Knowledge of any one of these languages (Java , C#, PHP, Perl, Python) is must, otherwise you
will end up with only recorded scripts and won’t be able to enhance them.
Selenium installation
- Install Firefox
- Install Java jdk: Download jdk (not JRE) without Netbeans IDE or JEE.
- Install (optional) Junit for java rc client(ONLY if you are using java client, you also need to add
selenium java client driver in classpath)
Main TOOLS Installation
- Install Selenium IDE After installation – you should see selenium IDE option in Firefox.
- Install Selenium RC After installation – go to directory containing file ‘selenium-server.jar’- you will need to add
appropriate bat/sh script as mentioned in below steps.