HI ,
I am doing a automation POC on .NET application which has used Infragistics controls using UFT 11.50. I am using Infragistics evaluation ADD-in
.Net application which i am working has 'Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea' control which has many buttons. When i click on a toolbar button it will display a floating screen.
My Issue is, UFT is recording or recognising the toolbar buttons. Could you please help me in resolving this issue.
Thanks,
Hello Ramrati,
Thank you for reporting this to us. At this time may I ask if you can provide some additional information about your current testing environment and your AUT. Keep in mind that to use TestAdvantage, you are required to install patch (UFT_00001) aka UFT 11.51, .NET Add-in
1. What version of Infragistics is your AUT used with? 2. Which version of TestAdvantage are you currently using with your AUT?
To obtain the full version of NetAdvantage used in the AUT (application under test) you can look at the version of the NetAdvantage assemblies provided with the AUT or you can ask your developers. To obtain the version from an assembly, right click the assembly in Windows Explorer and select Properties. On the Properties dialog, from the Version tab, look for the Assembly Version.
The full version of TestAdvantage being used can also be obtained from the assemblies. By default the TestAdvantage assemblies are located in the "C:\Program Files\Infragistics\TestAdvantage [version]\Bin" folder.
Have the samples that ship with TestAdvantage work as intended? (record/playback)? They can be found in their default directory C:\All Users\Public Documents
Let me know if you have any questions regarding this matter.
Hi Michael
Thank you very much for your immediate response.
I tried to record my AUT without Infragistics add in. I didnt find any difference in the script for with add in and without add in.
Could you please help me understand where Infragistics add in would fit
Thanks
You should be able to use the GetNAProperty to retrieve cell information like so,
SwfTable(grid).GetNAProperty("Rows[0].Cells[0].Value")
This property will allow you to access most if not all the properties about the table.
Thank you for your response.
You should have installed the patch for UFT first, but I don't think it makes that much of a difference. However, I do know that UFT 11.51 does not work correctly with .NET 4.5. If you have .NET 4.5 installed, you will need to either downgrade to .NET 4.0 or install Service Pack 3 for UFT 11.5.
Hi,
I have installed UFT_00001 patch . Even then i am not getting displayed .getNAproperty method.
could you please guide what went wrong with me. I have attached snapshots of .net framework version and controls and .Net spy fyr.
Hi ,
I have installed 'TestAutomation_WinForms_HP_20141'. for UFT11.51.
Please help me whether it is the correct plugin to install to work on 'Infragistics2.Win.UltraWinGrid' and 'Infragistics2.Win.UltraWinToolbars'
Unspecified Error could mean just about anything. The first thing to do is to see if the error is caused by the AUT, by UFT, or by TestAdvantage. First, perform the actions that caused the error manually without using UFT or TestAdvantage. If the error does not occur, perform the actions through UFT without TestAdvantage enabled. If the error still does not occur, the issue has something to do with TestAdvantage. In that case, take a screenshot of the error and post it here if possible.
Thank you very much for your response.
I have installed TestAutomation plugin. Now i could get display with Infragistics methods. But when i trying to execute am getting 'Unspecified error'.
Please help me to resolve this. Below the line of code for which am getting Unspecified error.
swfWindow("MID Retail").SwfToolbar("_Explorer_Toolbars_Dock_Area_Top").ClickToolbarTool "Explorers", "Allocation Workspace"
As I mentioned in my previous response, you should verify the version of the .NET Framework you have installed and make sure you have Service Pack 3 for UFT 11.5 installed if you need it. Also, the version of TestAdvantage you use must match the version of NetAdvantage your AUT uses.