In my listener how to check if dryrun flag is set or not

Viewed 529

I have a listner which updates test result to test management tool at end_test. The problem is when run in dryrun mode it update every thing as Passed which is False result.

Is there a way I can access ROBOT_OPTIONS in my listener because it will have all the command line options, OR is there an alternative way of checked if -dryrun is enabled in my listener library

1 Answers
Related