|Count/Compare/Iterate in Table [message #799833]
||Thu, 16 February 2012 11:12
| Johann Vogel
Registered: February 2012
I have a Process-Table like:|
And it's finally loaded (changes) when all values that have a set SM have a set DATE.
N SM DATE (N=Name, SM=Starting mode, DATE=Starting timestamp)
A I 11:11
B IR 12:32
D IR 13:23
The number of processes is not fixed, the names aren't too.
In a scripting-language i'd simply run something like
foreach row in tablerows
x = x OR !(isset(SM) == isset(Date))
or count the set cells in column 2 and 3 and compare them
How can i do this in Jubula? (The loaded-check, the retry-till-loaded-check-returns-true-thing is clear)
|Re: Count/Compare/Iterate in Table [message #800540 is a reply to message #799833]
||Fri, 17 February 2012 07:42
| Alexandra Schladebeck
Registered: July 2009
There isn't a "for" in Jubula - you do have to know how many datasets / loops you will need. Your point about counting the cells could be possible with the upcoming version though - we have a new action to store a property value (e.g. the amount of rows in a table). You could use this as a comparison or as a dataset (but not as a "execute this check $ many times) - perhaps this will help in this case. Otherwise it could be a case of choosing a certain subset of data that will be representative, or using other cues in the GUI (progress bars, re-enablement of save buttons etc) to help you synchronize.
Powered by FUDForum
. Page generated in 0.02086 seconds