Web Automation Using Selenium
  • About The Book
  • Selenium
    • Introduction
      • What is testing and why?
      • What is Selenium and Why?
    • Getting Started
      • Audience
      • Prerequisite
      • Set up
      • Getting Started - Hello World..!!
      • What are drivers
    • Locators
      • CSS Selectors
      • XPath Selector
    • WebDriver
      • WebDriver Methods
      • WebDriver Types
    • WebElement(s)
      • WebElement Methods
      • Looping Through WebElements
    • Waits In Selenium
  • TestNG
    • Introduction
    • TestNG Setup
    • First Test Script
    • Some of the features of TestNG
    • TestNG Annotations
      • @Test
      • @DataProvider
  • Maven
    • Introduction
  • Framework Development
    • Introduction
    • Building Framework
      • Technology Stack
      • Page Object Model (POM)
      • Setup
      • What our framework contain
      • Packages
        • Context
        • Factory
        • Listeners
        • Pages
      • Creating first automation test
  • Common Interview Questions
    • Selenium-Related
Powered by GitBook
On this page

Was this helpful?

  1. Framework Development
  2. Building Framework

What our framework contain

Now we know the disadvantages of writing selenium automation scripts without using a framework. (Like can't run in groups, lot's of code duplication in order to log or report etc.,).

So in this framework we are going to add all the necessary elements which are required for a good framework.

  1. Logging.

  2. Reporting.

  3. Mailing the report if needed.

  4. Ability to run in groups.

  5. Page Object Model for clean and less redundant code.

PreviousSetupNextPackages

Last updated 5 years ago

Was this helpful?