Micro Focus QTP (UFT) Forums
SwfTable and RowCount: Unspecified Error - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: SwfTable and RowCount: Unspecified Error (/Thread-SwfTable-and-RowCount-Unspecified-Error)



SwfTable and RowCount: Unspecified Error - robertosalemi - 12-14-2015

Hi,
until days ago, I use this sample function:

Code:
rw = SwfWindow("myApplications").SwfTable("dataGridView1").RowCount

for to get the num of rows in this dataGrid.

Today, I launch it and I get "Unspecified Error".

Why?

The dataGrid exists and it has some rows.

Thank.