Is there any way to create a variable with the text of an element from within a test case. Kind of like Selenium IDEs “store” function.
At the moment I am trying “testvariable = WebUI.getText(findTestObject(‘TargetElement’))” and I have also tried " def testvariable = WebUI.getText(findTestObject(‘TargetElement’))"
When I looked at a variable