Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UFT] SelectRow and Exception
#1
Not Solved
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.
Reply
#2
Not Solved
I thought of something ....
The DataGrid object is instantiated in previous STEP that are called to the STEP another TestCase.

The problem could be that?
Therefore linked to a switch of context?

Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  External component has thrown an exception. mharps 1 7,145 05-28-2014, 10:07 AM
Last Post: mharps
Exclamation RE: QTP - Exception Handling Unleash Rajesh 2 5,059 07-05-2011, 08:54 PM
Last Post: rajpes
  Exception Handling in QTP sudhirzpatil 2 13,026 12-22-2010, 10:05 AM
Last Post: sudhirzpatil
Wink QTP Batch test exception handling thotamurali 1 4,878 10-20-2010, 02:44 PM
Last Post: KVK
  Exception Handling thorugh Descritpive Programming. prabhu656656 11 8,602 09-21-2009, 03:10 PM
Last Post: shambu.pujar

Forum Jump:


Users browsing this thread: 1 Guest(s)