Forum Discussion

CharlesHarold's avatar
CharlesHarold
Occasional Contributor
7 years ago
Solved

Get Current Test Step Name in Script Assertion returns Source Test Step Name?

I have a Script Assertion in an Assertion TestStep (name "Verify Response") that evaluates the response from a REST Request TestStep, so the "Source" for the Script Assertion is "REST Request" (the n...
  • PaulMS's avatar
    PaulMS
    7 years ago

    Oh I see what you mean. The run button in the script assertion uses a "Virt testContext" according to the tool tip.

     

    However when you run the whole test case you should see the correct assertion test step name in the script log.

    Click Logs, Script log at the bottom of the window.