Marramreddy
6 years agoOccasional Contributor
Is context property shared a cross test cases ?
I am creating "context.variableName = new foo()" for every test case in EVENTS under testrunner.beforerun
Here are the steps for every test case:
1. Create a context variable in beforerun
2. Test Steps (access the context variable in the test steps)
3. kill context variable in afterrun
I have 5 test cases in a test suite, so when I execute from Test suite level in parallel. Every time one or the other test case fail because it could not find context variable.
My guess:
Context variable are shared across the test cases, as I am killing the context variable afterrun its creating problem.
What I need to Understand:
Is context property shared a cross test cases ?