Forum Discussion
travis_gustafso
16 years agoNew Contributor
Just thought i would post to say that i found the solution to my issue. It was a rather easy fix.
All i had to do was instantiate the class in the setup script section of the test suite, and then reference it from the groovy script from within the test case. I had to add a little logic to decide whether to use the context or not based on if you run it at the suite level or not, but it was not that big of a deal.
All i had to do was instantiate the class in the setup script section of the test suite, and then reference it from the groovy script from within the test case. I had to add a little logic to decide whether to use the context or not based on if you run it at the suite level or not, but it was not that big of a deal.