8404  Reviews star_rate star_rate star_rate star_rate star_half

Python Test Automation with Robot Framework

This Python Test Automation with Robot Framework training course leads students from the basics of test automation to more advanced features such as building a custom Test Automation Framework,...

Read More
Duration 5 days
Course Code PYTH-132
Available Formats Classroom

Overview

This Python Test Automation with Robot Framework training course leads students from the basics of test automation to more advanced features such as building a custom Test Automation Framework, setting up Test Data, and utilizing best practices for creating efficient, robust, and easy-to-maintain automated scripts. Extra emphasis is placed on using Python to create new Robot Keywords (Python functions) to extend Robot Libraries, and to create self-documenting Robot test cases that are easy-to-read and valuable to every member of the Project team.

Skills Gained

  • Master the fundamentals of Test Automation
  • Build a Test Framework from scratch
  • Use Behavior-Driven Development (BDD)-style scripts to improve Scrum team collaboration
  • Extend Robot Framework by using custom Python functions.
  • Create easy-to-read test scripts
  • Create robust Automated test scripts that are easy to maintain.
  • Create API Tests with Python in the Robot Framework

Prerequisites

Students should already understand general testing concepts and have basic proficiency with at least one other programming language. Experience writing Automated Scripts (in any test framework) is desirable.  

Course Details

Training Materials

All Python Test Automation with Robot Framework training students will receive comprehensive courseware.

Software Requirements

  • Python 3.5 or later on macOS, Windows, or Linux

Outline

  • Robot Framework Fundamentals
    • Install & Setup Robot Framework 
    • The Settings Section of a Robot file
      • Importing Resources
      • Importing Existing Python Libraries (e.g., the Selenium Library)
      • Suite Setup & Suite Tear Down
      • Test Setup & Test Tear Down
    • Creating a Variables section in a Robot file
    • Creating a Keywords section in a Robot file
    • Basics of Robot Syntax
      • Using Existing Robot Keywords
      • Importing Python Libraries
    • Creating a Test Cases section in a Robot file
      • Test Cases naming convention
      • Documenting Test Cases with Documentation attribute
      • Tags attribute
      • Writing a simple Robot Test
    • Executing a Robot Test
      • Using the terminal execute tests
    • Analyzing Results 
      • Viewing the log file
      • Finding Root Cause of Test Script Failures
      • How to read and explain the Report File to your Project team
  • Locators / Finding Elements in a Web Application
    • Setting up a Locator file
    • How to find locators using Developer Console and XPath Helper
    • Using id’s or CSS to find elements
    • When and how to use XPath Axes for Locators
    • Dealing with elements that have the same attributes
  • Page Object Model Pattern
    • What is the Page Object Model?
    • What are the benefits of the Page Object Model?
    • How to benefit from Utilities Library when using Page Object Model
  • Behavior-Driven Development
    • What is BDD?
    • What are the benefits of BDD?
    • How to create easy-to-read test cases
    • How to align BDD test cases with Agile team
    • Converting BDD style tests to Automation “stubs”
  • Designing a Test Automation Framework
    • What are the components of a Test Automation Framework?
    • What are the factors that make a robust Test Automation Framework?
    • How to benefit from using Robot Framework extensibility when customizing your framework
    • Be a “Subject Matter Expert” of the application before building your framework
  • Building a Test Automation Framework
    • Working with Keywords from existing libraries
    • Creating your project’s Utilities library
    • Extending Robot with custom Keywords
    • Creating Page Object files
    • Creating organized Test Case files
    • Generating Test Data
  • Enhancing Test Automation with Best Practices
    • Creating Test Automation Scripts that are adaptable for many test cases
    • Enhancing your project’s utilities library
    • Reducing the amount of locators you have with “polymorphic” locators
    • Making scripts more robust with proper waits
    • Using Keyword Args for Python Functions
    • When to use Exception Handling
    • Generating Robot Docs to help with Documentation
  • API Testing Fundamentals
    • What is API Test Automation?
    • What are the benefits of API Test Automation?
    • When should I use API Test Automation vs. UI Automation?
  • API Test Automation
    • Setting up a simple API Test in Robot Framework
    • Creating an API Test Suite
    • Using API Tests to generate Test Data

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

The format of the class was concise. I learned new skills to use at my workplace.

the interface was super easy to use and the instructions to get ready for the course was also very simple and easy to understand.

Overall experiance is very nice. the online training plateform is very advance.

Very good company. I've done technical trainings at their facility in downtown Montreal in the past and I'Ve always appreciated them.

Instructor was great, course was mostly very good except for too much focus on pricing