Hi,
I have a question in which version of Infragistics we have CUIT support available ? Is it available for the Infragistics version 11.2.
Is there any plugin avaialble which I can install over my current version to have support for this ?
Thanks
Arpita
Hello Arpita,
Thank you for your reply. I have created a sample application that has a Window with a Button that opens another window that contains XamGrid and XamDataGrid. I have also added a TestProject to the solution and created a Codded UI Test, that clicks on the Button and the Window with the two grids is opened. When I run the test, no exceptions are appearing, when the Window with the XamGrid and XamDataGrid is opened and also the test is passed. I am attaching the solution that I have created and also a video of running the test. I have tested the project with the versions 11.2 and 13.1 with the same result.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
I am using Infragistics 11.2. But when I record my application which has Data Grids and then playback it fails to load my grids and throw this exception.
Test method TestProject1.CodedUITest8.CodedUITestMethod1 threw exception: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details: TechnologyName: 'UIA'ControlType: 'Button'AutomationId: 'btnSearchByCriteria' Search may have failed at 'TabGrp' TabList as it may have virtualized children. If the control being searched is descendant of 'TabGrp' TabList then including it as the parent container may solve the problem. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
I get these excepions in many places when some button clicks loads a XamDataGrid or XamGrid. Can you attach some sample applications which have XamdataGrids and it loads fine if we are on 11.2.
If I use current version of Infragistics 2013 Vol1 will these issues be resolved in this version ?
We use both CUI and UIA for the automation of WPF LoB controls. In order to have the maximum results UIA should be used for controls where the UI is changing constantly such as TilesControl and DataGrid. The recorder of CUI is used mostly for recording actions with basic controls such a buttons, list views etc. We did used the recorder and the automatic code generation tool provided by CUI for controls such as DockManager, Ribbon and OutlookBar.
Also I can say that you can use CUIT framework with version 11.2. In out latest version there were some fixes added, so the recording works even better there.
Hope this helps you.
But I am specifically looking for CUIT framework. Which version of infragistics supports that?
Thank you for your post. I have been looking into it and I can suggest you use UIAutomation or CUI for automations. You can find them from here:
http://testapi.codeplex.com/
which is supported in version 11.2.