Azeeb
Azeeb

Reputation: 91

Is there a way to error checking of Robot framework testdata

Is there any way by which error checking can be done for the robot framework test data (testcases and keywords).

RIDE displays red color if there is import error, or a required argument is not passed. How is it implemented?

Upvotes: 0

Views: 798

Answers (2)

Ansu
Ansu

Reputation: 69

For validation you can use the below code

Run Keyword And Return Status

http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Run%20Keyword%20And%20Return%20Status

Upvotes: 0

JaPyR
JaPyR

Reputation: 1569

you could run your tests with dryrun flag:

--dryrun              Verifies test data and runs tests so that library
                      keywords are not executed.

Upvotes: 4

Related Questions