Skip to content

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

Open

Description

@Anon1988

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.

Activity

  1. yanne commented on Aug 6, 2015

    @yanne
    Member

    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?

  2. Anon1988 commented on Aug 7, 2015

    @Anon1988
    Author

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

  3. added
    enhancement
    prio-medium
    on Oct 21, 2015
  4. added this to the Future milestone on Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementprio-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions