Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinForm Infragistic Controls Steering issue #154

Open
acn-nithya opened this issue Aug 7, 2019 · 5 comments
Open

WinForm Infragistic Controls Steering issue #154

acn-nithya opened this issue Aug 7, 2019 · 5 comments

Comments

@acn-nithya
Copy link

Hi,
I'm working on a .Net application which is build on WinForms and Infragistic UI Controls. I couldnt find any suitable keywords to automate the different controls in Infragistics. Could you please help me with what keyword to use to select the Navigation Workspace item. I tried with list and menu and both are unsuccessful. Or I'd like to know if there any any other ways to handle the Infragistic controls for WinForms and WPF?

-Nithya

@eeter
Copy link
Contributor

eeter commented Aug 7, 2019

Please provide more details on the item you are trying to automate, e.g. what does Inspect show as the control's type?

@acn-nithya
Copy link
Author

Hi,
Thanks for the reply. Below is the completeinfo from the Inspect.exe spying tool.
How found: Selected from tree...
RuntimeId: "[42.67002.2.1]"
BoundingRectangle: {l:1 t:958 r:302 b:982}
ProcessId: 1184
ControlType: UIA_GroupControlTypeId (0xC36A)
LocalizedControlType: "group"
Name: "ViPS"
HasKeyboardFocus: false
IsKeyboardFocusable: true
IsEnabled: true
AutomationId: "[Group] 8"
IsControlElement: true
IsContentElement: true
IsPassword: false
Orientation: 0
FrameworkId: "WinForm"
ItemStatus: " !IG_DATA_START!ObjectIdentifier^IG_TOKEN_SEPERATOR^Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup+GroupUiaProviderStub^IG_TOKEN_DELIMETER^AssemblyVersion^IG_TOKEN_SEPERATOR^13.1.20131.1001^IG_TOKEN_DELIMETER^!IG_DATA_END!"
ProviderDescription: "[pid:1184,hwnd:0x0 Main(parent link):Unidentified Provider (managed:Infragistics.Win.UIAutomation.Proxies.FragmentUIAProviderProxy, Infragistics4.Win.v13.1, Version=13.1.20131.1001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb)]"
ExpandCollapse.ExpandCollapseState: Expanded (1)
LegacyIAccessible.ChildId: 0
LegacyIAccessible.DefaultAction: "Collapse"
LegacyIAccessible.Description: ""
LegacyIAccessible.Help: ""
LegacyIAccessible.KeyboardShortcut: ""
LegacyIAccessible.Name: "ViPS"
LegacyIAccessible.Role: grouping (0x14)
LegacyIAccessible.State: expanded,focusable (0x100200)
LegacyIAccessible.Value: ""
IsDockPatternAvailable: false
IsExpandCollapsePatternAvailable: true
IsGridItemPatternAvailable: false
IsGridPatternAvailable: false
IsInvokePatternAvailable: false
IsLegacyIAccessiblePatternAvailable: true
IsMultipleViewPatternAvailable: false
IsRangeValuePatternAvailable: false
IsScrollPatternAvailable: false
IsScrollItemPatternAvailable: true
IsSelectionItemPatternAvailable: false
IsSelectionPatternAvailable: false
IsTablePatternAvailable: false
IsTableItemPatternAvailable: false
IsTextPatternAvailable: false
IsTogglePatternAvailable: false
IsTransformPatternAvailable: false
IsValuePatternAvailable: false
IsWindowPatternAvailable: false
IsItemContainerPatternAvailable: false
IsVirtualizedItemPatternAvailable: false
IsSynchronizedInputPatternAvailable: false
FirstChild: [null]
LastChild: [null]
Next: "NavigationOverflowButtonArea" pane
Previous: "ViPoD" group
Other Props: Object has no additional properties
Children: Container has no children
Ancestors: "" custom
"" pane
"" pane
"" pane
"Orion (DNB Livsforsikring ASA)" window
"Desktop" pane
[ No Parent ]

And the UI control's structure is attached in the screenshot below
Infragistic_Control

@acn-nithya
Copy link
Author

Any updates here please?

Thanks,
Nithya

@eeter
Copy link
Contributor

eeter commented Aug 20, 2019

Looks like the control is a GroupBox which is a container for items. Inspect does not seem to see any child items inside that group, so I don't know if they would be visible to White. With White it is possible to search items inside a GroupBox (or Panel) but WhiteLibrary currently only supports searching inside a window.

@acn-nithya
Copy link
Author

I have a question regarding the Infragistic UI controls as I see that RF (Robot Framework) is not able to read these dlls. Basically I have the Infragistic DLLs built on C# used for my application which is again DotNet based. Is there any way that I can make these dlls available for RF so that it can work fine with Infragistic controls? If so could you please help me how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants