Selenium Tutorial

Selenium Tool Suit Versions of Selenium Selenium Testing Difference Between Selenium and QTP Advantage and Disadvantage of Selenium

Selenium IDE Topics

Selenium-IDE Introduction Installation /download  Selenium–IDE (Firefox) Installation /download Selenium–IDE (Google Chrome) Characteristics of Selenium-IDE First test case of Selenium-IDE Login test for Selenium-IDE Selenium-IDE commands Selenium-IDE locators Id locator Name Locator  X Path Locator CSS Selector Locator Locating by ID Locating by Class Locating by Attribute Locating by ID/Class & Attribute Locating by Sub-string Locating by inner text Link Text Locator Advantage and Disadvantage of Selenium-IDE

Selenium WebDriver Topics

WebDriver introduction Characteristics of WebDriver Difference Between Selenium RC and WebDriver Installation steps of WebDriver WebDriver Class Diagram/ Architecture WebDriver control commands Browser control Navigation control Web element control Operational control Data capture control Verification control WebDriver working with chrome browser WebDriver working with Firefox browser WebDriver working with internet explorer browser WebDriver working with Microsoft Edge browser WebDriver locator Id Locator Name Locator Class name Locator Xpath Locator XPath axes Link text Locator Partial link text Locator Tag name Locator Css Selector Tag and Id Tag and Class Tag and Attribute Tag, class, and Attribute Sub string matches WebDriver wait statements Drop down handling Mouse and keyboard controls Drag and drop Event Handling Window Handling: New tab/new window Alert pop up Handling Checkbox Handling Radio button Handling Selenium Assertion

Advantages and Disadvantages of Selenium-IDE

Advantages and Disadvantages of Selenium-IDE

Advantages of Selenium IDE:

  1. UI based record and playback tool.
  2. Easy to understand & developed a test script.
  3. Selenium-IDE test script export into web driver code & Selenium–RC
  4. It is very easy to install and use.
  5. No programming experience is required to use Selenium IDE.
  6. Selenium-IDE has built-in help feature, and they show the documentation on the selected or entered command.
  7.  It helps us in debugging by displaying the information and error messages.
  8. It provides excellent support for extensions.

Disadvantage of Selenium IDE:

  1. It supports only Firefox browser because it implements as a plug-in for Firefox.
  2. It cannot launch new browser and run the test script (it work with existing browser only)
  3. It supports only the html language.
  4. Parameterization is not possible.
  5. Reading from the external file and run the test script is called parameterization.
  6. Can be used only with a simple application, cannot be applied to develop Ajax application.
  7. It is an asynchronous java framework which is used to create dynamic applications like-facebook.com, BBC.com
  8. Looping and conditional statements are not allowed.
  9. Selenium IDE does not support error handling and database testing.
  10. Selenium IDE cannot be used in iPhone and Android applications testing.
  11. Selenium IDE does not support iterations and conditional operations.