Robot framework test automation
Create test suites and automated acceptance tests from scratch Create a Robot Framework test file and a test suite Identify and differentiate between different test case writing styles Full of easy- to- follow steps, to get you started with Robot Framework In Detail Testing has traditionally been a...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2013.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628082906719 |
Tabla de Contenidos:
- Intro
- Robot Framework Test Automation
- Table of Contents
- Robot Framework Test Automation
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers, and more
- Why Subscribe?
- Free Access for Packt account holders
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Getting Started with the Robot Framework
- The need for acceptance testing
- Pinpoint application failure
- Reducing the error rate
- Providing automation and re-use
- Creating the a test audit trail
- What is the Robot Framework?
- The Robot Framework ecosystem
- Installing and setting up the Robot Framework
- Source installation
- One-click graphical installer
- Java environment installation
- The Python package installation
- Support for different runtimes
- Command details
- A small exercise
- Summary
- 2. Configuring a Test Project
- Test naming conventions
- Creating an execution order
- Test randomization
- Test file structure
- HTML format
- TSV format
- Plaintext format
- Pipe-separated format
- Restructured text format
- Test configuration files
- Suite initialization files
- External variable files
- Structure
- Python/Java files containing variables
- Resource files
- Structure
- Test setup and teardown
- Summary
- 3. Further Test Customization
- Automation and agile
- Internal re-use
- Loops and flow control
- Flow control
- Breaking off without finishing
- Feeding external data
- Performing a set of tasks repeatedly within a test
- Application in test automation
- Higher order re-use
- User keywords
- Test templates
- User libraries
- Approaches towards writing tests
- Keyboard-driven tests.
- Data-driven tests
- Behavior-driven tests
- Behavior-driven development
- BDD using the Robot Framework
- Standard libraries
- Collections
- Dialogs
- Operating System
- Process
- Screenshot
- String
- Telnet
- XML
- Remote test execution
- Summary
- 4. Extending the Framework
- Testing the web applications
- Selenium
- The Robot Framework Selenium library
- Running web-based tests
- Using the Selenium2Library
- Debugging through the REPL shell
- Testing desktop applications
- Testing through objects - Java Swing
- A Swing test
- Testing through images
- Sikuli
- Creating a custom Sikuli library
- Other noteworthy libraries
- Testing network protocols
- Testing the web services
- Testing the database
- Summary
- 5. Generating Reports
- The need for reports
- Quick-test run assessment
- Result comparison
- Individual result detailing
- Intelligent assessment
- Generated files
- Output structure
- Heading
- Summary information
- Test statistics
- Test details
- Test execution log
- Test coloring information
- Separating files
- Making changes in outputs
- Customizing the report title
- Background color customization
- Changing how much is logged
- Changing the report format
- Creating derived reports
- Recreating reports
- Viewing differences
- Further result usage
- Summary
- Index.