RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

RunAnything plugin - Expose Context/RF built-in variables ?

Open Anon1988 opened this issue 10 years ago • 2 comments

Hi there!

I'm trying to create a macro with VCS commands to save the tests suites in an automated way so that the QA team can create and save it's tests as needed; But I can't find a way to expose the suite path to the plugin.

Reading a bit I found that the ${CURDIR} is calculated at Execution time but since that's not exposed to the plugin I tried to debug how it's calculated with no luck. I also tried to see how RIDE TestRunner Class calculated the command used to execute the tests, but it seems it's already initialized that way.

With that said, I was wondering if there is a way to save,calculate or expose the current directory being used to the plugin in a RF fashion, or perhaps a feasible work-around.

Anon1988 avatar Jul 29 '15 18:07 Anon1988

During test execution, ${CURDIR} is always equal to the directory where pybot command is issued. In RIDE, it is equal to the directory where RIDE was started.

Do you really need the ${CURDIR}, or is it enough to have the absolute path to the current test suite?

yanne avatar Aug 06 '15 08:08 yanne

Yes, if possible, the absolute Path to the current test suite would be enough.

Anon1988 avatar Aug 07 '15 14:08 Anon1988