Forum Discussion
nmrao
6 years agoCommunity Hero
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_
6 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.
- nmrao6 years agoCommunity HeroAre you running the assertion without running the step?
- _ivanovich_6 years agoFrequent Contributor
The assertion is part of a method.
i'm calling from another testsuite.
- nmrao6 years agoCommunity HeroThumb 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.