Introduction to Manual and Automation Testing

Jul 9, 2024

Introduction to Manual and Automation Testing

Session Overview

  • Introduction to manual testing and automation testing
  • Basic concepts of selenium
  • Q&A session
  • Overview of course content and benefits of training

Software Testing Basics

What is Software Testing?

  • Definition: Process of finding bugs/defects in software
  • Main Goal: Release a quality product to the customer
  • Types: Manual Testing and Automation Testing

Manual Testing

  • Testing without using any tools
  • Tester performs all steps manually
  • Challenges:
    • Retesting: Executing the same test multiple times with different data
      • Time-consuming, requires a lot of effort
    • Regression Testing: Ensuring new changes don’t break existing functionality
      • Time-consuming, requires repeated verification

Automation Testing

  • Testing using tools (e.g., Selenium)
  • Advantages:
    • Reduces time and effort
    • Efficient for retesting and regression testing
  • **How it works: **
    • Manual test cases are converted into test scripts in a language the tool can understand (e.g., Java, Python)

Importance of Programming in Automation

  • Programming is required to write test scripts
  • Different tools support different programming languages
  • Selenium supports multiple languages: Java, Python, JavaScript, C#, Ruby

Introduction to Selenium

What is Selenium?

  • Definition: A web-based automation tool/library
  • History: Developed by Jason Haggins in 2004 from ThoughtWorks
  • Open Source: Community-supported and free of cost
  • Components:
    • Selenium IDE: For record and playback
    • Selenium WebDriver: For automation scripting
    • Selenium Grid: For execution
  • Latest Version: Selenium 4.x

Advantages of Selenium

  • Open Source and Free
  • Supports Multiple Operating Systems: Windows, Mac, Linux
  • Supports Multiple Browsers: Chrome, Firefox, Edge, Safari, Opera
  • Supports Multiple Languages: Java, Python, C#, Ruby, JavaScript
  • Integration with Third-Party Tools: For extended functionality (e.g., Apache POI for Excel, TestNG for reporting)

Limitations of Selenium

  • Does not support window-based applications
  • No built-in reporting (requires TestNG or Extent Reports)
  • Cannot directly manipulate Excel files (requires Apache POI)
  • Cannot automate captchas and dynamic graphs

Versions of Selenium

  • 1.x: ID (Firefox), RC, Grid
  • 2.x: ID (Firefox), replaced RC with WebDriver, Grid
  • 3.x: ID (Chrome), WebDriver, Grid
  • 4.x (Latest): ID (Firefox, Chrome, Edge), WebDriver, Grid

Course Content Overview

  • Comprehensive learning of Selenium and its components
  • Integration of third-party tools for extended features
  • Java programming for automation scripting
  • Practical hands-on sessions

Q&A Session

  • Open to questions for further clarification

Closing Notes

  • Emphasis on the importance of programming skills
  • Detailed learning objectives for upcoming sessions