Forum Discussion

macheshmeh's avatar
macheshmeh
Contributor
6 months ago
Solved

How to click last row of the grid?

I want to click on the first cell from the last row in the table ? with Spy , i can fond the name of last row but because the last number of the row depends to the data and data every time change , i want to click on first cell of last row , i mean i want say to the test go find last row and get value of the first cell 

with (Ctrl+end ) , test is able to find last row but I can't click on it at the same time 

  • I found the solution , with rowCount , i found the number of row , and in adress of Object i used the full name and instead of the number of row i wrote rowCount and it works 

2 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Object Spy will not spy on individual cells, only the UI control. You have to see what properties and methods are exposed by Object Spy, and try to use those to select individual cells of your table.

  • I found the solution , with rowCount , i found the number of row , and in adress of Object i used the full name and instead of the number of row i wrote rowCount and it works