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.
TestAdvantage proxies have one-to-one compatibility with the NetAdvantage version that is used to build test application. So If the test Application is built with NetAdvantage 2007 Vol1 then you have to use TestAdvantage 2007 Vol1 to test it.
You mentioned that your application is build with a 2006 version of the grid. Unfortunately the first version of TestAdvantage is the 2007 Vol 1 so in order to be able to use it to test your application you have to be upgrad it to use UltraGrid version 2007 Vol1 or newer.
If you decided to upgrade, contact Infragistics' sales or support to get the appropriate installer that is compatible with the NetAdvantage you are upgrading to.
I hope this was helpful
Thanks for your prompt response.
So you mean that upgrading NetAdvantage can solve the problem? In my case, capturing UltraGrid seems okay, but RFT can't recognize some normal window form object such as buttons after TestAdcantage installed. So I doubt upgrading UltraGrid will solve the problem....
What are these buttons? are they Infragistics controls? also I don't belive you are getting the right object on the grid. you should see the whole grid as "UltraWinGrid" and not individual cells. The grid proxy has a number of verification point to verify different things on the grid. also if you try recording actions on the grid you will see that all it records is Click AtPoint(x,Y)) which should tell you that TestAdvantage and NetAdvantage version are not compatible.
The button is System.Windows.Forms.Button, not Infragistics controls.... And about UltraGrid, you are right, I can't capture the whole grid and see various verification point. I guess I should suggest my customer upgrading their NetAdvantage in their application.
My customer updated their application with "NetAdvantage For Win Forms 8.2 Trial Version".... but the problem remains.... any other suggestion?
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