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, 188.8.131.52, 184.108.40.206 iFix02 and even 8.0 open beta, all the same results.... Any idea or workaround would be appreciated.
To test your application you need TestAdvantage 8.2 which will be released on Aug 27. if you need a beta build please contact Infragistics sales.
Hi Ammar,Can you help me to get the beta version asap? It's very urgent. My customer will buy RFT, and also purchase TestAdvantage and NetAdvantage(upgrade) from Infragistics. Please help me.Best Regards,Max
Thanks for your help. Now we can record/playback test script on Infragistics objects normally and the performance is much better when using the right version of TestAdvantage.
Now we have two more question:
1. During playback, the drag-and-drop operation on UltraGrid didn't work. It shows ObjectNotFound exception.
2. How to capture certain data of grid and assign the data into a Java variable? With RFT's default funtion, it can capture object properties into a Java variable. But since the RFT function treat the whole grid as an UltraGrid object, it can't capture the cell data.
Thanks for your help.
The Grid proxy support a number of data verification point that should help you get any piece of data in the grid. To get a list of those VP's try adding a verification point on the grid TestObject. There is another way to get specific data and that is using "GetNAProperty" you can pass in the fully qualified name of the specific property. For example if you want the text displayed in the first cell of the second row use:
or to get the header text of the third column in the second level band (when having hierarchal data)
For the other issue you mentioned. What kind of drag and drop action you are trying to replay? Please paste the script action you are trying to replay as well as the full exception detail.
I hope this is helpful
It worked. Thanks a lot for your helpful information. Do you have any API document like JavaDoc? Then it will be easier for test developer to find specific method to use.
Regarding the drag and drop action. We were trying to record the operation of drag a colomn header(for example: gender) to a special row, then UltraGrid will do the grouping by the colomn header values (for example: male, female, etc) During playback, RFT stoped at the drag action because it can't find the object to act.... BTW, I tried click action on colomn headers and it worked.
The test was done in customer's environment and we forgot to bring back the script and test log. I'll give them to you asap if you can't identify the question according to the information I gave.