Skip to content

Robot Framework provider: The test reference is interpreted by the shell

Special characters are interpreted by shell when I run a robot test.

There are two cases: Linux and Windows environnements.

Linux

For example with :

image

Log :

image

We can see here that "Test echo test " is replaced by "Test test"

image

Then we need to fix it to have a command like that:

robot --test "Test \` echo test \`" character.robot

It's the same case for those in Linux:

Test $test

Test ${echo test}

Test $(echo test)

Windows

Same problem with this case:

Test %test%
Edited by Laurent Mazuré