Currently the tray shows the status of cluster as part of the main menu.
The class used to implement the status is a ToolStripItem which is translated into a control type menuitem. The menuitem control does not implement UI Automation TextPattern to get the value of the label shown by the control.
To overwork this issue the text value can be used as accessibility name (also it is required to take care of change the value every time the text value is changed).
Apart from the issues for taking the text value of the control, probably it would be nice to use a more suitable class for the purpose of the status control: ToolStripLabel which translated control type is text
Currently the tray shows the status of cluster as part of the main menu.
The class used to implement the status is a
ToolStripItem
which is translated into a control typemenuitem
. Themenuitem
control does not implement UI Automation TextPattern to get the value of the label shown by the control.To overwork this issue the text value can be used as accessibility name (also it is required to take care of change the value every time the text value is changed).
Apart from the issues for taking the text value of the control, probably it would be nice to use a more suitable class for the purpose of the status control:
ToolStripLabel
which translated control type istext