Forum Discussion
nmrao
Champion Level 3
Difficult to say.
Try couple of times and see.
One question is the value boolean? or some name?
Try couple of times and see.
One question is the value boolean? or some name?
_ivanovich_
5 years agoFrequent Contributor
Yes i tried couple of time and the result is same:
it works sometime then it fails at this moment the variable is null.
cannot figure out how it's possible.
The value is a name because it retrieve from json response as string and store it in project level properties.
- nmrao5 years agoChampion Level 3Are you running the assertion without running the step?
- _ivanovich_5 years agoFrequent Contributor
The assertion is part of a method.
i'm calling from another testsuite.
- nmrao5 years agoChampion Level 3Thumb rule is to have each and every test case be independent.
There might be something incorrect in the usage in your case. If you want to re-use code, use script library as suggested in the other thread.
Related Content
Recent Discussions
- 22 days ago