Forum Discussion

kavansays's avatar
kavansays
Contributor
10 years ago

Javatable GetRows/Get Columns

1) How to get JavaTable RowCount and ColumnCount in testcomplete?   My object : "Aliases.javaw.MainWnd.scene.PrimaryTab.TradesTable. ? "   2) How to convert that rowcount in string?
  • cunderw's avatar
    10 years ago

    You can call the native methods of Java objects inside a TC script, so just use .

    table.getRowCount()
    // and
    table.getColumnCount()