We have application which uses Infragistics – 2.0.5001.36 controls, Just wanted to check, Is there any way to automate that application which has these controls. Currently We are unable to automate it with Coded UI.
Just wanted to check if the automation support is available for Infragistics – 2.0.5001.36 controls or not.
The controls are of type: Tree View, Menu
Ashish,
What platform are the control on? What product are they part of?
Hello there,
The Platform is VB6, and it's our Internal legacy application.
I just wanted to check if the controls are automatable or not using Microsoft UIAutomation API.
Regards,
Ashish
Hi Matthew,
Thanks for the swift reply. So far I haven't encountered anything which wasn't working: I'm just at the beginning of a project to set up automated UI testing on a fairly old Winforms application. I was looking into using TestStack.White, as it is free, and had come across some posts indicating possible problems with Infragistics controls.
It now looks like we'll be heading down the Microsoft route, or possibly Smartbear TestComplete. Having read http://ko.infragistics.com/help/winforms/coded-ui-test-extension-overview I don't think we'll encounter any issues if we go down the Microsoft route. I'm assuming TestComplete would also be fine, that is unless you might know otherwise.
Best wishes
Dan
Keep me in the loop on your progress! As a side note we've had MSAA implemented for many moons and you can switch MSAA back on in our controls by setting UltraControlBase.UIAutomationForCodedUITestingEnabled to false (http://ko.infragistics.com/help/winforms/infragistics4.win.v16.2~infragistics.win.ultracontrolbase~uiautomationforcodeduitestingenabled) if the testing tool is better suited to work with MSAA.
Reading through TestComplete's documentation they have some support for IG controls (https://support.smartbear.com/testcomplete/docs/general-info/supported-technologies/controls/infragistics.html) and it does not look extensive. Do you happen to know how they communicate between the test tool and the controls? Is it Accessibility? Injection? Another approach?
Matthew,
I have set UIAutomationForCodedUITestingEnabled to false, but Inspect.exe shows blank values for Legacy.AccessibleName for a UltraCombo control even though i have set AccessibleName on it. is there any other workaround for this? Inspect sees its Role as a combobox, but Name and description arent getting picked up by Inspect
EDIT: its called LegacyIAccessible.Name in Inspect.exe. this shows the value for AccessibleName for any standard control btw
Hi there, I've been pulled on to a different project: but thanks for information.