Forum Discussion
An assertion is not a test step in itself but if you need to find the assertion name check
Interesting, but doesn't help me. I am beginning to think that what I need isn't possible; everything I've tried indicates that for my assertion, all it knows is the REST Request test step.
- skyhigh8 years agoContributor
My test step is "Login" and when I use the code above, they do return back correctly of my test step name. Thanks.
- PaulMS8 years agoSuper Contributor
CharlesHarold
Can you attach an image to show the assertion name that you want to use
- CharlesHarold8 years agoOccasional Contributor
Yes, I've found 12 different ways to get the wrong Test Step name.
- PaulMS8 years agoSuper Contributor
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.
Related Content
- 2 years ago
Recent Discussions
- 5 days ago