Bug 503286 - ToolStripComboBox does not get its name from a label
Summary: ToolStripComboBox does not get its name from a label
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P4 - Low : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 04:35 UTC by Brian Merrell
Modified: 2009-07-02 03:44 UTC (History)
1 user (show)

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-05-13 04:35:19 UTC
PROBLEM STATEMENT

In Windows, a ToolStripComboBox appears to get its name from a label if there is one present.  If there is not a label present, the ToolStripComboBox gets its name from text of the selected item in the combo box.  If there is not a selected item nor a label, then the ToolStripComboBox name is blank.

Our behavior, however, matches other combo boxes.  That is, the ToolStripComboBox gets its name from the selected combo box item (except in the case of Bug 503281).

REPRO

1.  Run Accerciser, and open the "API Browser" tab
2.  Run uia2atk/test/samples/toolstripcombobox.py and notice that there is a label that reads "Please Select one Font Size from the ComboBox"
3.  In Accerciser's left pane browse to and select the "combo box" accessible of the toolstripcombobox.py "ipy" application

RESULTS

The name of the combo box accessible is the text of the default selected item (i.e., "8").  (The name of the combo box accessible may be blank due to a bug.)

EXPECTED RESULTS

According to the behavior in Windows, the name of the combo box accessible should be the text of the "Please Select one Font Size from the ComboBox" label.

COMMENTS

I don't really like this behavior and don't really understand why the ToolStripComboBox gets its name in a different way that a regular ComboBox, but our behavior does differ from the Windows behavior.
Comment 1 Brian Merrell 2009-05-13 04:48:15 UTC
The bug mentioned in the RESULTS section is Bug 503291