Free Sample
+ Collection

Robot Framework Test Automation

Starting
Sumit Bisht

Create test suites and automated acceptance tests from scratch
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783283033
Paperback98 pages

About This Book

  • 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

Who This Book Is For

If you are an automation engineer, QA engineer, developer or tester who is looking to get started with Robot Framework, as well as find a standardized testing solution, this book is ideal for you. No prior knowledge of Robot Framework or acceptance testing is required, although a basic knowledge of Python is required for few sections of the book.

Table of Contents

Chapter 1: Getting Started with the Robot Framework
The need for acceptance testing
What is the Robot Framework?
The Robot Framework ecosystem
Installing and setting up the Robot Framework
Support for different runtimes
A small exercise
Summary
Chapter 2: Configuring a Test Project
Test naming conventions
Test file structure
Test configuration files
Summary
Chapter 3: Further Test Customization
Automation and agile
Internal re-use
Flow control
Feeding external data
Higher order re-use
Approaches towards writing tests
Behavior-driven development
BDD using the Robot Framework
Standard libraries
Remote test execution
Summary
Chapter 4: Extending the Framework
Testing the web applications
Running web-based tests
Testing desktop applications
Testing through images
Other noteworthy libraries
Summary
Chapter 5: Generating Reports
The need for reports
Generated files
Output structure
Test coloring information
Making changes in outputs
Summary

What You Will Learn

  • Create and run a basic test over Robot Framework to validate the setup
  • Customize a test with reusable components and introduce test reuse
  • Identify the different files and tables used in tests
  • Extend the framework by using third party libraries to work with other tools
  • Parameterize the test cases and get data into the tests /color]
  • Create derived reports using the report metadata
  • Use external resources to feed data into tests
  • Set up the Robot Framework and run its basic test

In Detail

Testing has traditionally been a part of software development, and has always involved a lot of manual effort. It can be automated with Robot Framework, which offers numerous benefits from cost saving to increased quality assurance in the software delivery. This book will help you to start designing test suites and Automated Acceptance Tests.

Helping you to get started with automating acceptance tests, this book will provide a detailed overview of acceptance test management practices and principles. You will also be introduced to advanced techniques that you can use to customize the test suite, along with helpful tips and tricks to extend and leverage it in a wide variety of scenarios.

Starting with a detailed explanation of the need for automated acceptance test driven development, this guide will help you with an empty test project creation and execution for proof of concept, and validation of installation. This book will also cover the Robot Framework in detail, and will help you test desktop applications using Java Swing. You will gain an in-depth knowledge of tricky activities, such as setting up a test environment and using it with Selenium.

You will also learn about other popular libraries, and how to test network protocols, web services, and databases. This book will cover the entire Robot Framework with real- world practical material to make its content informative and interesting.

By the end of this book you will be able to write acceptance tests for desktop and web applications, as well as know how to extend acceptance testing in other scenarios that are commonly devoid of tests, and present the results appropriately.

Authors

Read More