In the software I'm testing, we have a diary section which is built up of a grid. I need to test if it is capable of accepting 999 'bookings'. As you can imagine, I'd like to avoid doing these manually! However, when I record a click, the Ranorex code just contains the cell, as opposed to the table it is part of. The code I have written, which doesn't work, is below. I'm new to C# development, just learning here and there in order to supplement my tests. Thank you in advance for any assistance you may be able to provide.

Sorry. Totally misread that. By following the instructions on generating the snapshot, and as a result, using Spy for the first time, however, I can see more clearly how to do what I need to do. Thank you very much for your help.