Hi,
In the test case A :
String text = WebUI.getText(findTestObject(‘Page/name’), ‘value’)
WebUI.callTestCase(findTestCase(‘testCaseB’), [:], null)
And I would like to use the variable ‘text’ in the test case B.
Have you a solution ?
Hi,
In the test case A :
String text = WebUI.getText(findTestObject(‘Page/name’), ‘value’)
WebUI.callTestCase(findTestCase(‘testCaseB’), [:], null)
And I would like to use the variable ‘text’ in the test case B.
Have you a solution ?
Hi,
If your testCaseB have a TestCase variable with name “var1”, use
WebUI.callTestCase(findTestCase('testCaseB'), [('var1') : text], FailureHandling.STOP_ON_FAILURE)
Perfect ! It works !
Thanks a lot