SELENIUM - PYTHON - CUCUMBER (ROBOT)
Introduction
Use Variables to Centralize Data
Exploring the Robot Framework Libraries
- Overview
- Origin & History
- Features & Capabilities
- Robot Framework vs. Selenium
- Command Line & Path Basics
- Install Python & PIP
- Install Robot Framework & Libraries
- Install Desired Browsers
- Install Selenium Web Drivers (IE and Chrome)
- Install Selenium Webdriver for Firefox
- Install PyCharm IDE + Robot Plugin / RIDE
- Create Base Scripts Directory
- Organizing Your Project Files
- Sections of the Script File
- Write Test Steps- Part 1
- An Important IE Precondition Setting
- Run the Script and Examine Results
- Write Test Steps- Part 2
- Locators Primer
- Running from Pycharm / RIDE
- Running from a Command Window
- Running from a Batch File
- Running from the Task Scheduler
- Style: Procedural vs. Gherkin
- Introducing User-Defined Keywords
- Break the Script into Keywords
- Moving Keywords to Resource Files
- Adding Set Up and Tear Down
- Overview of Page Objects
- Demo: Create a Page Object
- Increase Readability Using Gherkin
- Introduction
- Looping and Conditional Statements
- Control Statememnts
- String
- List
- Tuple
- Dictionaries
- Functions
- Modules/libraries
- Input/Output
- Exception Handling
- Java binding
- Python binding
Use Variables to Centralize Data
- Scalar Variables
- List Variables
- Variable Scope
- Passing Variables to Keywords
- Supplying Script Input Data at Runtime
- Modify Our Project with Variables
Exploring the Robot Framework Libraries
- BuiltIn (Log, Verifications, Repeat)
- Dialogs (Pause for Manual Steps/Data Entry
- OperatingSystem (Folders & Files)
- API
- XML
- Selenium2
- Running & Scheduling from Jenkins
- Running Multiple Suites
- Running a Single Test Case
- Advanced Run Options