O'Reilly logo

Robot Framework Test Automation by Sumit Bisht

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test file structure

So far, it has been demonstrated that whitespaces play an important role in configuration files. The test configuration is written in a tabular format with each column having separate elements such as test element. The Robot Framework allows flexibility in specifying the separations among the different columns in a test file as well as supporting different formats for the test files, which you can choose at your discretion. Note that depending upon the file extension; a suitable parser is selected during runtime. Some of the supported formats are as follows:

  • HTML
  • TSV
  • Plaintext
  • Piped text
  • RestructuredText

HTML format

In an HTML format, the HTML is read, which comprises of different tables for different portions of the test configuration. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required