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
Even when the controls were maintained Infragistics didn't provide any tools for automation of the VB6 controls and I am not sure what would work well. You could test other testing tools on your own to see if is able to record/replay actions on the VB6 controls and allows automating your tests.
I have never looked at TestStack White so I don't know if this will help you. Some others that you could look into as well are HP Quick Test Professional and IBM Rational Functional Tester as they may give you enough functionality to automate your application though again I haven't tested these with the VB6 controls and don't know how well they will work.
Let me know if I may be of further assistance.
Hello,
I'm picking up a fairly old thread here but...
I'm looking into setting up Coded UI tests on a Winforms application using Infragistics (16.1) controls. I've noticed your new Coded UI extension which work with Visual Studio. I have Visual Studio Professional so can’t use Microsoft’s Coded UI. Do you knlow of any reason why your Coded UI extension wouldn’t work with TestStack.White?
Thanks
Dan
Hi Dan,
I haven't used TestStack.White either but we did implement UIA in most controls to support Coded UI Test. http://es.infragistics.com/help/winforms/coded-ui-test-extension-overview lists the supported controls we added UIA for so what have you encountered that isn't working? Are you able to verify what you want to automate with uia verify?
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://es.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
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://es.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?
Hi there, I've been pulled on to a different project: but thanks for information.
EDIT: its called LegacyIAccessible.Name in Inspect.exe. this shows the value for AccessibleName for any standard control btw
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