About the course

Writing a script to do perform basic browser automation is simple. Creating a holistic framework managing and running all aspects of the automation project is not so easy, and is far more important and valuable.

Participants will learn to become an expert at writing an automation framework using Selenium and different other tools. Concepts and strategies learned here will take their programming aptitude and exposure to the next level which can be used in any automation project here on.

Automation fundamental courses have to be completed before this course. This course is taught in conjunction with ‘Pillars of automation framework design’ course

Course content

  • Introduction to TestNG
  • Introduction to layered architecture
    • What is it, with examples
    • Why do it and
    • How to design it for Selenium
  • Test cases layer
    • Purpose
    • Do’s and Don’ts
  • Page Object Model
    • What is it, with examples
    • Why do it and
    • How to design it for Selenium
  • Utilities layer
    • What is it
    • Why do it
    • How it is designed in Selenium
  • Advanced test 1 – Piecing all layers together
  • Test data management
    • Data creation / deletion techniques and works best for you
    • Test data storage techniques
  • Advanced test 2 – Multiple tests with test data variations
  • Logging and reporting
    • Importance of logging
    • What should be part of your log
    • What NOT be a part of your log
    • Different logging and reporting tools we can use
  • Advanced test 3 – Adding advanced logging libraries, write one new test
  • Exception handling and advanced synchronization
    • Mastering delays
    • Exception handling techniques
    • Fail safes
  • Advanced test 4 – improving different layers to incorporate delays and exception handling – add one new test
  • Revisit pillars of framework design and match with our framework

Course duration

18 hours

 

Target audience

Have been working with UI automation, want to learnt to do it well

Pre-requisite knowledge

  • Basic pre-reqs:
    • Experience of working with Selenium for at least 1 year
  • Additional good to have:
    • Have attempted at developing automation frameworks but were not up to mark

Take Aways

  • Learn to do UI automation like a pro.
  • Learn to practically implement the pillars of automation framework design with Selenium