Posted in:
By Sachin J 0 comments
By Sachin J 0 comments
Beginner's guide to Selenium
Overview –
Selenium IDE is an integrated development environment for performing automation tests for web applications. Selenium tests can be written as HTML tables or coded in various languages like Java , C#, PHP, Perl, Python and can be run directly in most modern browsers (Firefox, IE, Chrome, Safari) present in the industry. The IDE can help you to record, edit and debug tests. Selenium IDE is only available for Firefox.
Pre requisite for Test Developer –
1. 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.
2. 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.
1. 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.
2. 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 (http://www.mozilla.org/en-US/firefox/new/)
- Install Java jdk: Download jdk (not JRE) without Netbeans IDE or JEE. (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
- 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:
After installation - you should see selenium ide option in Firefox.
5. Install Selenium RC
Selenium IDE |
5. 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.
Example –
We will see how to create a simple test in Selenium. So let’s get started.
About Me
Blog Archive
Followers
Popular Posts
-
Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in any programming language again...
-
Overview – Selenium IDE is an integrated development environment for performing automation tests for web applications. Selenium tests...