12-23-2015, 08:04 PM
Hi to all,
in past days, I did automated test on a SwtTable.
For this object I used standard funciont as RowCount, ColumnCount, ActivateCell or GetCellData.
Today all these functions not work.
I had to replace:
with
with
withÂ
Why?
With Spy Object, the Object is equals, it not changed.
Thanks.
in past days, I did automated test on a SwtTable.
For this object I used standard funciont as RowCount, ColumnCount, ActivateCell or GetCellData.
Today all these functions not work.
I had to replace:
Code:
rowCount = SwfWindow("myApp").SwfTable(dataGridView).RowCount
with
Code:
rowCount = SwfWindow("myApp").SwfTable(dataGridView).GetROProperty("RowCount")
Code:
clmnCount = SwfWindow("myApp").SwfTable(dataGridView).ColumnCount
with
Code:
clmnCount = SwfWindow("myApp").SwfTable(dataGridView).GetROProperty("ColumnCount")
Code:
str = SwfWindow("myApp").SwfTable(dataGridView).GetCellData(r, c)
withÂ
Code:
str = SwfWindow("myApp").SwfTable(dataGridView).Object.Rows.Item(Cint(row)).Cells.Item(c).Value
Why?
With Spy Object, the Object is equals, it not changed.
Thanks.