[solved] How to check if a variable is already set? [message #827566] |
Fri, 23 March 2012 14:07 |
Sup SC Messages: 15 Registered: February 2012 |
Junior Member |
|
|
What I want to do is to store a variable VAR only if it is not yet filled with a value (Background: its a reused test case where I want to store a value of the first usage in my test suite). For that I tried to use a 'up_app_checkStringValues' which checks:
I added an 'Check Failed' event to set the VAR to the given VALUE if the check fails (-> if VAR is empty).
But on execution of the test I get a
"7009: Test Execution Error. Variable with name $VAR is not resolvable."
No problem, I thought, also add a 'Configuration Error' event and everything is fine.
Unfortunately the error still appears, so here it comes to my question:
How would I check if a variable is already set?
[Updated on: Fri, 23 March 2012 14:46] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03481 seconds