Forum Discussion
rraghvani
Champion Level 3
Get the number of rows of your grid control. Iterate through each row and expand the row. The Expand method may return a value, which you need to check - you should be able to use this to break the loop. Or you could use IsExpandable/IsExpandable or something similar to check the state of the row.
kcarr86
2 years agoOccasional Contributor
Thank you for your suggestions. When you say "get the number of rows of your grid control" are you saying I should know the number of rows in each of my test cases first or that there's a method in TestComplete that will count and return the number of rows?
Related Content
- 4 years ago
- 11 years ago
- 11 years ago
Recent Discussions
- 6 hours ago