This project is read-only.

Janus Windows Forms controls

May 8, 2008 at 1: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 ( 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,
May 9, 2008 at 8: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 1: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
Bounding rectangle: 44,44,639,300
IsOffScreen: False

----AutomationId: gridEX1
----ControlType: pane
----Bounding rectangle: 60,79,607,249
----IsOffScreen: False

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

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

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

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

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

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

May 13, 2008 at 3: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.