Forum Discussion

IvanB's avatar
IvanB
Occasional Contributor
7 years ago
Solved

how can I change testRunner.testCase.testSteps[0].targetTestCase.name and id?

I have a test case with a test step "Run TestCase" type, which point to a TestCase01 and I want to change that target TestCase01 to TestCase02 during test execution depending on some parameter.

How can I change testRunner.testCase.testSteps[0].targetTestCase.name and id?

10 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    IvanB,

    Are you trying to execute a dynamic test case in "Run Test Case" test step?
      • nmrao's avatar
        nmrao
        Champion Level 3

        IvanB,

         

        thank you for clarifying. Is the target test case in same test suite? or in a different test suite?