i want to print the same value of the variable after i call a test case , but in my exmaple it returns null and not the true value
String ch = 'rahma' ch = WebUI.callTestCase(findTestCase("New Test Case", [('ch'): ch], FailureHandling.STOP_ON_FAILURE) println(ch)
Make sure the called TestCase returns the value of
or simply do the print in the called test case
but this will not print the value of ch in the other testcase
That’s right, because asked for the value after the test case.
If you want the value in the test case, do what @Ibus said.
Please be CLEAR what you are asking before you ask your question. It will save me a lot of time.