| Using stored values as Test Data of other TCs [message #1106564] |
Wed, 11 September 2013 05:01  |
Daniel Opitz Messages: 2 Registered: September 2013 |
Junior Member |
|
|
Hey,
I have following poblem: I want to use value 'X' stored in a variable 'A' by a test step of test case 'K' (ub_tbl_storeValueAtMousePosition, I read the value from a table component) in a fully different TC. Test case 'K' runs before test case 'L' and in 'L' I want to check if the component I'm testing has the name consisting of a string and the value 'X'. E.g. 'Length ${A} differs from the baseline'. How do I refer to the variable A correctly? ATM an empty string is entered and the test fails.
Cheers,
Daniel
|
|
|
|
| Re: Using stored values as Test Data of other TCs [message #1125216 is a reply to message #1110796] |
Fri, 04 October 2013 05:21  |
Daniel Opitz Messages: 2 Registered: September 2013 |
Junior Member |
|
|
Hi Alex,
Thanks for the response. I did the test as follows:
1. (Table) Select value from column
2. (Table) Move one cell to the right
3. (Table) Store value at mouse position [var name: renr]
4. (Application) Check string values [val1: $renr, val2op: equals, val2: 123456]
The test failed with check string values, because actual value was an empty string.
Cheers,
Daniel
Edit:
Using ${renr} as val1 doesn't work as well
[Updated on: Fri, 04 October 2013 05:23] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02113 seconds