Forum Discussion
_ivanovich_
Frequent 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.
nmrao
5 years agoChampion Level 3
Are 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.- _ivanovich_5 years agoFrequent Contributor
Hi,
there is nothing incorrect in my code.
i'm using library. i did not put the library setcion in my post.
Related Content
- 3 months agoarmygrad