Janus Windows Forms controls

May 8, 2008 at 12:10 PM
Hi there,

Me and my team are trying to use White to automate testing of forms that use the Janus Windows Forms controls suite (http://www.janusys.com/controls/). I got it to work on some simple controls, but for the GridEX control, which is an advanced data grid, I'm stumped. In UISpy, the grid appears simply as a Pane with nothing inside of it.

Is there any chance I can use White to automate this control?

Thank you,
David
Coordinator
May 9, 2008 at 7:30 AM
Can you do window.LogStructure() and send it to me? Also please indicate what is the name/automationid of the Pane.
May 9, 2008 at 12:30 PM
Here it is. The control in question is gridEX1.
Looks pretty empty... I think I'm out of luck
--------------------------------------------------------------------------
ControlType: window
Name: GridForm
HelpText:
Bounding rectangle: 44,44,639,300
ClassName: WindowsForms10.Window.8.app.0.378734a
IsOffScreen: False

----AutomationId: gridEX1
----ControlType: pane
----Name:
----HelpText:
----Bounding rectangle: 60,79,607,249
----ClassName: WindowsForms10.Window.8.app.0.378734a
----IsOffScreen: False

----AutomationId: TitleBar
----ControlType: title bar
----Name: GridForm
----HelpText:
----Bounding rectangle: 48,48,631,19
----ClassName:
----IsOffScreen: False

--------AutomationId: GridForm
--------ControlType: menu bar
--------Name: System Menu Bar
--------HelpText:
--------Bounding rectangle: 48,48,18,18
--------ClassName:
--------IsOffScreen: False

------------AutomationId: Item 1
------------ControlType: menu item
------------Name: System
------------HelpText:
------------Bounding rectangle: 48,48,18,18
------------ClassName:
------------IsOffScreen: False

--------AutomationId: Minimize
--------ControlType: button
--------Name: Minimize
--------HelpText:
--------Bounding rectangle: 628,48,17,17
--------ClassName:
--------IsOffScreen: False

--------AutomationId: Maximize
--------ControlType: button
--------Name: Maximize
--------HelpText:
--------Bounding rectangle: 645,48,17,17
--------ClassName:
--------IsOffScreen: False

--------AutomationId: Close
--------ControlType: button
--------Name: Close
--------HelpText:
--------Bounding rectangle: 662,48,17,17
--------ClassName:
--------IsOffScreen: False

Coordinator
May 13, 2008 at 2:16 AM
Yes you are out of luck for only for sometime.
I would be working on it. UIAutomation has support for AutomationPeers. I am not sure right now how I would make it work because ideally these peers should be written by the vendor. In this case Janus. Expecting white users to write these might be a problem. But I would be exploring this option. You should have some sort of answer for this in next two releases.