Forum Discussion
Anonymous
13 years agoHi Rami,
We couldn't find a reliable way to test the filter editor via GUI.
I offer you a way I have already specified to configure a reliable test for your grid. One more way to set the filter is to use the gridControl.FilterView.ActiveFilterString property and assign the string you need directly - this should be much faster and more reliable than simulating user actions. Considering the fact you don't need to test the built-in functionality of the grid control itself, this can be a better approach (at least, that's the approach I would use if I were you). This, however, will require knowing the filter strings syntax. It should be easy to figure it out by setting the criteria you need and looking at corresponding filter strings which appear as values of the gridControl.FilterView.ActiveFilterString property. We have a sample script demonstrating this approach in this How To article.
We couldn't find a reliable way to test the filter editor via GUI.
I offer you a way I have already specified to configure a reliable test for your grid. One more way to set the filter is to use the gridControl.FilterView.ActiveFilterString property and assign the string you need directly - this should be much faster and more reliable than simulating user actions. Considering the fact you don't need to test the built-in functionality of the grid control itself, this can be a better approach (at least, that's the approach I would use if I were you). This, however, will require knowing the filter strings syntax. It should be easy to figure it out by setting the criteria you need and looking at corresponding filter strings which appear as values of the gridControl.FilterView.ActiveFilterString property. We have a sample script demonstrating this approach in this How To article.
Related Content
Recent Discussions
- 4 days ago
- 5 days ago