Multiline comments in Robot framework

Hi Can someone help out if there is any way to comment multiple lines in Robot framework.

In python we have option like ''' and ''''.

Thanks in advance.


There is no block comment feature. However, there's a subtle little trick you can use to comment out whole blocks. It's not documented to be a multiline comment feature but it can be used like that.

This trick works by knowing that robot will ignore any data in tables that are not one of the four recognized tables: keywords, tests, settings or variables. If you have some other table, anything under it up until the next table will be ignored.

The relevant section of the user guide says this:

2.1.4 Rules for parsing the data

Ignored data

When Robot Framework parses the test data, it ignores:

  • All tables that do not start with a recognized table name in the first cell.
  • ...

For example:

*** Test Cases *** 
| test 1 
| | log | this is test one

*** comment ***
| test 2
| | log | this is test two

*** Test Cases ***
| test 3
| | log | this is test three

If you run the above test you'll see that only test 1 and test3 are executed. Everything in the "comment" table are ignored.

Need Your Help

C# Enumerate Regex Matches

c# regex string replace pattern-matching

What is the best way to enumerate a regex-replacement in C#.

SQL Order rows with each column of a type

sql hibernate postgresql jpa jpa-2.0

My column called type-row has the following values (A, B, C, D, E...) I need to make a query which will order the result sorting by the column type-row but I don't want them all together I want the

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.