We are using QTP 8.2 with .NET Add-in 8.2
QTP is recognizing Data Grid as “SwfTable”. It’s a Win Forms Application with no third party controls used. It is being developed on .NET Framework 2.0(Stable version of which was released on 7th November 2005).
Problem: Unable to use methods like GetCellData, ActivateCell, SelectCell, RowCount etc. But I am able to get the row count using GetROProperty. When I record the script it is recorded as shown below but on execution gives “General Run Error” for the first line (SelectCell).
SwfWindow ("wndMain").SwfWindow ("wndChild").SwfTable ("queueExplorerDataGridView").SelectCell 9,"Security ID Type"
SwfWindow ("wndMain").SwfWindow ("wndChild").SwfTable ("queueExplorerDataGridView").ActivateCell 12,"Security ID Type"
.Net Framework 2.0 is supported by QuickTest Professional 8.2 with the .Net add-in 8.2 supports with the addition of private patch QTPNET82P2104. To test .Net Framework 2.0, contact Customer Support for the patch.
Why is the patch private?
A private patch can best be described as the result of a bug fix or enhancement to a more sensitive area of the product. Because of this sensitivity, there is an increased risk of the patch affecting something else unintentionally; hence, Mercury Customer Support needs to assert control over its distribution on an as-qualified basis.
Customer Support (CSO) will ultimately make the decision as to whether or not the patch is a good candidate for any specific Service Request.
I have a qtp script developed for grid control in .net. When I run the script it identifies the object properly. But when it goes for the second iteration , systtem does not recognize the grid.
Can anyone help me.