Selenium 2 - Web Driver basics
  • Introduction
  • 1. Pre-requisites
    • 1.1 Intro to the Tools in brief
    • 1.2 Setting classpath for Java
    • 1.3 Selenium IDE
    • 1.4 Eclipse Project setup
  • 2. Selenium For Beginners
    • 2.1 Setting up Browsers
    • 2.2 WebDriver Locators
    • 2.3 Multiple Elements Handling
    • 2.4 Assertions
    • 2.5 Wait Time
  • 3. Testing Frameworks for Selenium
    • 3.1 JUnit
    • 3.2 Why TestNG over Junit
    • 3.3 Sample TestNG Class
    • 3.4 Extent Reports
    • 3.5 Sample Test Suite
  • 4. Selenium Prospects
    • 4.1 Proxies,Profiles
    • 4.2 Handling Multiple Windows
    • 4.3 Webdriver Actions
    • 4.4 Generate Logs
    • 4.5 Javascript executor
    • 4.6 Handling frames
  • 5. Concrete Scripts
    • 5.1 Test Suite parameterisation
    • 5.2 Object Repository
    • 5.3 Using Properties file
    • 5.4 Capture Screenshot
    • 5.5 Robust Xpath
  • 6. Continuous Integration
    • 6.1 ANT Basics
    • 6.2 Ant Build XSLT.xml
    • 6.3 Issues in Jenkins
  • 7. WorkArounds for Commonly faced issues
    • 7.1 IE Driver NOT working
    • 7.2 Presence of iFrames
Powered by GitBook
On this page

Was this helpful?

3. Testing Frameworks for Selenium

Testing framework is necessary to organize our tests. When the count of automated test increases it becomes very tediuos to manage them. Test frameworks provide us with below features.

  1. Setting up data before tests run

  2. Cleaning up data after tests are finished

  3. Creating suites to run multiple tests

  4. Externalize configurations from actual scripts

  5. Integration with CI server

We will be using TestNG as our framework of choice, however we will also briefly cover a Junit Test.

Previous2.5 Wait TimeNext3.1 JUnit

Last updated 5 years ago

Was this helpful?