Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1653

[UFT] SelectRow and Exception

$
0
0
Hi,
I created a new solution for my TC.

Usually, with SwfTable, I use SelectRow command, it works always.

In this solution, where I write:
Code:
dgRowCount = SwfWindow("myWin").SwfTable("dataGridViewSelect").RowCount
dgClmnCount = SwfWindow("myWin").SwfTable("dataGridViewSelect").ColumnCount

SwfWindow("myWin").SwfTable("dataGridViewSelect").SelectRow 1

SelectRow returns me an error:
'SelectRow: Exception has been thrown by the target of an invocation."

The same error there is if I use ActiveCell o other (only in this TC)

What's means?
How can I resolve it?

Thanks.

Viewing all articles
Browse latest Browse all 1653

Trending Articles