Robot Framework Test Automation

Robot Framework Test Automation
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 98 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 1783283033
ISBN 13 : 9781783283033
Author(s) : Sumit Bisht
Topics and Technologies : All Books, Open Source

Table of Contents

Chapter 1: Getting Started with the Robot Framework
Chapter 2: Configuring a Test Project
Chapter 3: Further Test Customization
Chapter 4: Extending the Framework
Chapter 5: Generating Reports
  • Chapter 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
    • Chapter 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
      • Chapter 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
        • Chapter 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
          • Chapter 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

            Sumit Bisht

            Sumit Bisht currently works as a Senior Software Engineer at a software service outsourcing firm. He has experience in both project and product-based companies and has done Masters in Computer Applications in addition to self-taught learning as part of his learning process towards making computers work. He has keen interests in leveraging various open source technologies for developing better software, considers himself a polyglot programmer and has experience working with different programming. While not working, he devotes his time in learning new researches and technologies, reviewing technical books on a wide variety of topics, sharing interesting information, and evangelizing open source philosophy through his blog,

            Code Downloads

            Download the code and support files for this book.

            Submit Errata

            Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

            Sample chapters

            You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

            Frequently bought together

            Robot Framework Test Automation +    Mastering Web Application Development with AngularJS =
            50% Off
            the second eBook
            Price for both: £20.45

            Buy both these recommended eBooks together and get 50% off the cheapest eBook.

            What you will learn from this book

            • 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.


            Written in an engaging, easy-to-follow style, this practical guide will teach you to create test suites and automated acceptance Tests with the 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.

            Code Download and Errata
            Packt Anytime, Anywhere
            Register Books
            Print Upgrades
            eBook Downloads
            Video Support
            Contact Us
            Awards Voting Nominations Previous Winners
            Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
            Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software