Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange Behaviour of SwfTable
#1
Not Solved
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:

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.
Reply


Messages In This Thread
Strange Behaviour of SwfTable - by robertosalemi - 12-23-2015, 08:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Strange form, cant get it marvson 0 1,363 05-12-2016, 07:35 PM
Last Post: marvson
  SwfTable and RowCount: Unspecified Error robertosalemi 0 1,810 12-14-2015, 04:05 PM
Last Post: robertosalemi
  Why do I see strange signs by the line numbers? sqadri 2 2,793 04-05-2012, 04:36 AM
Last Post: sqadri
  Strange Behaviour of QTP PrabhatN 0 2,155 02-01-2011, 12:11 PM
Last Post: PrabhatN
Question Strange Behaviour of DataTable A.Saini 0 1,810 10-01-2010, 03:41 PM
Last Post: A.Saini

Forum Jump:


Users browsing this thread: 1 Guest(s)