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
HP's QTP products should record at the very least (x, y) corrdinates if TestAdvantage is disabled by using the toggling it off in the version utility. I would consult with HP to figure why your AUT is not recording properly without using TestAdvantage.
Keep in mind that you are required to select and install the .NET add-in when you first installed QTP to properly record and playback scripts any Windows Forms application.
Hi
I am trying to retrieve cell value from an Infragistics ultragrid win control. I could get column header name. But getting difficult in finding the property which helps in retrieve cell value. Below the code for retrieve the header name of columns
vColCount = SwfWindow("MID Retail").SwfTable("ugHeaders").Object.Rows.Item(0).Band.Columns.count
For i = 0 to vColCount-1
If SwfWindow("MID Retail").SwfTable("ugHeaders").Object.Rows.Item(0).Band.Columns.Item(i).Header.Caption = "Receipt #" Then
Msgbox "column name "
End if
Next
Thank you for your response.
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.
Hi,
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.
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'
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.