View on GitHub

RED - Robot Editor

Eclipse based editor for RobotFramework testcases

RED - Robot Editor User Guide > User guide >

Validation

General information

Validation is a mechanism to read and parse Robot test cases in order to provide feedback about Robot defined spell check. Validation mechanism walk down the project tree and read all test files format supported by RED (.robot, .txt and .tsv), mark all unknown/undefined keywords, variable misuse, missing resources etc.

Validating & revalidating whole project/workspace

Validation of test case is triggered by any user actions, it is also done during files & project imports.
Whenever there is a change in multiple files (for instance find/replace) or big file import/deletion, it is good to force revalidation of project.
It is done accessing option Project -> Clean...



At the bottom right of RED, progress bar will appear with the status of validation.

Validation execution

Validation mechanism is executed any time when edited file is changed with slight delay while Build Automatic option is selected from Project. Whole project validation can be manually started using option Project -> Clean.
Resources can be also validated by selecting Robot Framework -> Revalidate option in Project explorer.

The file which currently edited within Suite Editor is constantly validated in background giving quick feedback about potential problems.

Note
Although not recommended, validation can be turned off in Preferences ( Window -> Preferences -> Robot Framework -> Errors/Warnings).

Validation preferences

Validation problems severity level settings are covered under topic Configuring problems severity

Validation scope is covered under topic Limiting validation scope

Validation as command line tool (without GUI, headless) is covered under topic Running validation in command line

Contents