Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Robot Framework Test Automation

You're reading from  Robot Framework Test Automation

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781783283033
Pages 98 pages
Edition 1st Edition
Languages
Author (1):
Sumit Bisht Sumit Bisht
Profile icon Sumit Bisht
Toc

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. For each table, the first heading element is read and based on this information; the rest of the table is understood. A word of caution! Any data that is outside the recognized table is discarded. You can understand this better with the help...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}