Access to Infragistic controls

May 22, 2008 at 7:56 PM

My application uses Infragistic controls.  In one specific case, I am using UltraMaskedEdit control.  I tried to access it with


SearchCriteria searchCriteria = SearchCriteria.ByAutomationId(automationId);



WinFormTextBox textBoxToFill = AppData.mainWindow.Get<WinFormTextBox>(searchCriteria);

But it didn't work.  Can you tell me how I can enter/read data from this control?


May 26, 2008 at 6:58 AM
Can you do a window.LogStructure and send me the output of that.
May 27, 2008 at 1:31 PM

viveksingh wrote:
Can you do a window.LogStructure and send me the output of that.


General Accessibility

AccessKey: ""

AcceleratorKey: ""

IsKeyboardFocusable: "True"

LabeledBy: "(null)"

HelpText: ""


IsEnabled: "True"

HasKeyboardFocus: "False"


ClassName: ""

ControlType: "ControlType.Pane"

Culture: "(null)"

AutomationId: "WA2SplitPrecentUltraMaskedEdit"

LocalizedControlType: "pane"

Name: "50.00"

ProcessId: "2072 (OmacClient.vshost)"

RuntimeId: "42 136198"

IsPassword: "False"

IsControlElement: "True"

IsContentElement: "True"


BoundingRectangle: "(694, 241, 80, 20)"

ClickablePoint: "733,245"

IsOffscreen: "False"


May 30, 2008 at 5:31 AM
Edited May 30, 2008 at 5:33 AM
Sorry for not responding earlier.
I think you need to create your own custom UIItem for UltraMaskedEdit control. Because unlike TextBox this control is not exposed by UIAutomation as of Edit control type.
Let me know if you need help with writing custom item. It is documented here