What is Selenium?
Selenium is a free (open source) automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Pro (QTP) only that Selenium focuses on automating web-based applications.
Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization. It has four components.
- Selenium Grid
- Selenium Integrated Development Environment (IDE)
- Selenium Remote Control (RC)
- WebDriver
| src: guru99.com |
At the moment, Selenium RC and WebDriver are merged into a single framework to form Selenium 2. Selenium 1, by the way, refers to Selenium RC.
Let’s start with the Selenium IDE.
Selenium IDE (Integrated Development Environment) is the simplest tool in the Selenium Suite. It is a Firefox add-on that creates tests very quickly through its record-and-playback functionality.
Installation of Selenium IDE
What you need- Mozilla Firefox
- Active Internet Connection
Open your Mozilla browser & Goto the http://docs.seleniumhq.org/download/ for downloading Selenium IDE. Which is a plugin of Mozilla Firefox.
Now Click on Restart Button. Firefox will restart & you are done with your installation.
After Firefox has restarted you can launch Selenium IDE using two ways.
- By Pressing Ctrl+Alt+S
- Goto the Tools(By Pressing alt button) -> Web Developer -> Selenium IDE
This is how Selenium IDE is looks like.
Installation of Firebug
Firebug is a Firefox add-on that we will use to inspect the HTML elements of the web application under test. It will provide us the name of the element that our Selenium command would act upon.
Step1: Goto Add-ons & search for Firebug.
Step2: Download & install it.
Here We discuss some Test Scenario as Test Case.
Selenium Test Suite:
No comments:
Post a Comment