Forum Discussion
Ah, MSFlexGrid... yeah, we have to deal with those, too, in our application under test. Honestly, if you can find a nice, clean way to click on the contents of a cell within an MSFlexGrid, let us know. As it is, our testing requirements in this situation is not to test the buttons in the grid, but to test the workflow around the data and we have alternative options to interact with contents of the grid.
- tristaanogre7 years agoEsteemed Contributor
The only interaction we have with the cells is to verify content using the TextMatrix. We don't actually do any clicking within the cells or interacting with any components of the cells. The application under test has other buttons around the grid that, when a row in the grid is highlighted, we can click a button to interact with the data in that row. So, I'm not sure our solution will help you with that as it is pretty much part of the application itself.
- SanderK7 years agoOccasional Contributor
The application I'm testing has a few grids which create an edit on top of the cell which is identifiable as a separate object. Normally I'd avoid using grids as well, but if I really can't I just walk though the cells with the arrow keys, press enter on each cell and compare the edit text to the one I'm looking for. Maybe you can do this with your AUT as well? (I'm not familiar with MSFlexGrids)