Hi~ We are testing an application which adopts tons of Infragistics UltraGrid (2006) with RFT 7.0.1 or higher. Before installing TestAdvantage_WinForms_IBM_20073.exe, during the recording phase, we tried to use "Object Finder" to create a verification point on a cell data of UltraGrid, RFT only recognized the whole grid object so we can't do meaningful verification, but the script can be executed well. After installing TestAdvantage, RFT can capture cell data of UltraGrid when creating verification point, but during script playback phase, RFT failed to recognize many common objects like buttons, so the testing failed. I have tried TestAdvantage with RFT 7.0.1, 184.108.40.206, 220.127.116.11 iFix02 and even 8.0 open beta, all the same results.... Any idea or workaround would be appreciated.
Good to hear that my code helped you. Unfortunately there is no JavaDoc API but the API reference section in the installed help applies to both java and VB scripting.
For the drag action, I'll need to look at the script line that throws the error. It could be an issue in finding the target of the drag action -he "special row"- you can try record a click action on that row (when you are dropping the column header) and see if that can be replayed properly. There is another reason for the error and that is that both the source of the drag and the destination can not fit in the control area without scrolling. TestAdvantage proxy does try to handle this situation but I know of a couple of failed cases due to the complexity of starting a drag then scroll the target after the drag action started. The best way to work on this specific issue is to contact our developer support engineer with a sample that we can use to reproduce the issue so we can try to fix it.
This is the script line throws the error, // Drag table_apuseR_ROWSEQAPUSER_USER().dragToScreenPoint( atCell( atRow("APUSER_USERID"), atColumn(atIndex(2))), table_apuseR_USERPW().getScreenPoint(atCell( atRow(atIndex(0)), atColumn(atIndex(0)))));
RFT playback monitor will wait at "table_apuseR_USERPW().getScreenPoint", and finally complains it can't find Table (Object not found exception)
I tried a similar drag action on one of my test application and it seems to be replaying with no issues:
UltraGrid1Table().DragToScreenPoint( _ AtCell(AtRow(AtIndex(0)), AtColumn("Address")), _ DisplayGridTable().GetScreenPoint(AtCell( _ AtRow( _ "Value", "Fax"), _ AtColumn(AtText("Visible")))))
The error you are coming across might be because of the way you are identifying the cell on the target grid (table_apuseR_USERPW)
Try recording a click on the cell you plan to drop over then copy the subitem as it got recorded and pass it as the sub item to getScreenPoint method.
I hope that will help.