End-to-End and Api Testing with Robot Framework
4 Days
python
Intermediate
This workshop coaches participants on how to automate end-to-end web testing using Robot Framework, which can employ browser automation tool-set like Selenium and Playwright. With least presumption on participant's knowledge, Workshop commences with key concepts succinctly and then moves to Robot Framework usage as a tool for test automation for web applications and services. The course covers testing of static or dynamic website with html, http, ajax and more. Selenium and Playwright introductions are covered. Highlight of this workshop is extensive hands-on and demos.
Audience
Participants must be developers or software savvy testers who aspire to use Robot Framework to efficiently conduct their business.
Prerequisites
Participant must be able to code in core Python (beginner level) with corresponding standard library.
Topics
Introduction
- Web and HTTP
- Browsers and Servers
- HTML, CSS and JavaScript
- Browser Developer Tools
- Cookies, Cache, Headers
- DOM Tree and Web flow
- Ajax Vs Non-ajax
- Brush up on Python, Javascript, Java or C#
- Files and Databases
- Key Python Classes/Methods/Tools
- Debugging
- Intro to Tool Set
- Third party extensions
- Manual Testing
- Coded Tests and Benefits
- AAAC structure
Robot Framework
- What is Robot Framework?
- Core Automation
- Architecture
- Installation
- Prerequisites
- Robot Framework
- Intro to PyCharm/VSCode integration
- Robot Framework Vs Selenium Vs Playwright
- Files and directories
- Test data sections
- Supported file formats
- Rules for parsing the data
- Localization
- Test Cases
- Syntax
- Arguments
- Failures
- Naming
- Documentation
- Tagging
- Setup and Teardown
- Styles
- Tasks vs Test Cases
- Test Suites
- Using Libraries
- SeleniumLibrary
- PlaywrightLibrary
- RequestsLibrary
- DatabaseLibrary
- BrowserLibrary
- Standard Libraries
- Other Libraries
- External Libraries
- Using Variables
- Keywords
- Syntax
- Arguments
- Setup and Teardown
- Private
- Tags
- Timeouts and Waiting
- Parallel execution
- Resource and Variables Files
- Control Structures
- If, For, While
- Break, Continue
- Try Except
- Group
More
- Verifying Page Elements
- Locating Elements
- css, id, name, link, class, xpath, tags
- How to generate locators
- Getting state of DOM
- Manipulating Elements
- Click, double click, drag, drop, keypress
- Input elements
- Actions
- Custom Assertions
- RegEx
- Matching Text Patterns
- Wait Commands and Ajax
- Implicit, Explicit, Fluent Wait
- Flow Control
- Alerts
- Forms and Tables
- File upload and download
- Handing Alerts
- Windows, Frames, Dialogs
- Browser Window
- Object Repository
- Page Objects
- Parameterization
- Data Driven Tests
- Test Cases Guidelines
- Different Browsers
- Test execution
- Command Line
- Startup scripts
- Executables from .robot
- Results
- Reporting and Logging
- Debugging
- Dry run
- Select subsets
- Listeners
- Other configuration
- Extending Robot Framework
- Custom Libraries
- Custom Keywords
- Custom Test Runner
- Custom Reporters
- Custom Listeners
- Custom Resource Files
More
- Authentication
- Injecting javascript
- Taking screenshots
- Taking partial screenshots
- Recording tests
- Browser Specific Options
- Headless
- Profile
- Downloads
- Extensions
Exclusions
SDLC, Advanced protocol details, Advanced distributed testing
Anything not mentioned in Topics
Software Requirements
PyCharm for Python (with Python and pip)
Modern browser(s) like Chrome
NodeJs for Playwright demo
Internet Requirements
Good unrestricted internet connection is required.
Hardware Requirements
Laptop capable to run MS Office
Classroom Requirements
Projector with HDMI, White Board, Markers with Eraser
Online Requirements
Appropriate meeting software e.g. Zoom, MS Teams Please make sure that camera, speaker and mic are working
If you have any query, please contact now.