View on GitHub

RED - Robot Editor

Eclipse based editor for RobotFramework testcases

RED - Robot Editor User Guide > User guide > Launching Tests >

Launching related UI elements

RED provides couple of elements which are used in order to launch test and communicate with them when they are running.

Launching tests

Launch configuration has to be created to launch Robot tests. This can be done either manually or automatically e.g. when launching tests from Project Explorer or from Suite Editor.

Console view

Console view is standard view provided by eclipse platform. RED is using in to display output of the tests launch. In case of locally launched tests it displays standard output and standard error (stdout and stderr) of process which runs the test. It also contains a header in which command line call and Robot version is shown. Remotely launched tests do not send those streams to RED, so in this case only messages about remote server status are displayed.

Note
You may notice that some links are clickable in output of tests - for example locations of Output/Log/Report files as well as location of argument file (if in use). You can use them to open the files right inside RED.

Execution view

Execution view is a view provided by RED in which RED is presenting suites tree together with status of tests/suites (PASS or FAIL). The view is updated during tests launch thus presenting current execution progress. Remotely launched tests may also use this view - the only requirement is that the tests itself has to take agent into execution as a listener.

There are couple of actions possible within this view:

Dynamically changing execution tree

With Robot Framework listener API version 3 it is possible to create listeners that will be able to modify execution tree very late during tests execution. As an example: suites or tests can be added, removed or renamed as late as when parent suite is starting. RED is able to handle such changes and the affected nodes in the tree are marked. A screen below presents how added/removed or changed nodes are presented:

Message Log view

Message Log view is a view provided by RED which presents messages logged during tests execution. Like execution view it it is also updated during tests launch. Similarly it may also work with Remote configurations when agent is taken into execution as a listener.

Debug perspective

RED uses standard eclipse Debug perspective when configuration is launched in debug mode. For more information about working with this perspective please take a look at Debugging Robot topic.