I'm currently working on a condition for our Ranorex/Jenkins builds, which should make the tests to use different data range for daily and for night builds. While the daily builds are much more frequent, we prefer to do only a basic "smoke" test (with just one or two elements), while the night builds are supposed to perform more thorough testing with extended/complete data range.
I was able to implement such condition using DataContext.SetRange function. However, I've noticed one weird behavior. The Ranorex progress dialog is not always updated.
Here is a screenshot from the below attached test project... As you can see, the progress shows 1/10 range. The thing is, that the that actual range is limited to just 2 iterations and the test correctly ends after second iteration! It's just that the max range value (in progress dialog) is not updated.
Please try this project... Just run it and you should immediatelly see the problem.
It seems the problem is caused by "All Rows" option... If the Data Range is set to "All Rows" and then the data range is set somewhere from code, the max range value is not updated (in progress dialog).
If the Data Range is set using "From:" option, the max range value is updated correctly.
Hope it makes sense?
