Bug 597997

Summary: [uiaclient-GTKs]: MenuItem doesn't support the ExpandCollapsePattern
Product: [Mono] UI Automation Reporter: Feng Xia Mu <fxmu>
Component: Client - UIAAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P2 - High    
Version: Unspecified   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The test to be run.

Description Feng Xia Mu 2010-04-20 06:05:07 UTC
SUMMARY:
According to the MSDN, "If the control can be expanded or collapsed, implement IExpandCollapseProvider", and in this test, the menu item can expand to launch its sub menu item, so it should have the ExpandCollapsePattern.

REPRODUCE:
1. Run F-Spot
2. Run the test script which will find a menu item "By Rating" which can be expanded, and get its ExpandCollapsePattern.

RESULTS:
"By Rating menu item's ExpandCollapsePattern is Operation is not valid due to the
current state of the object"

EXPECTED RESULTS:
"By Rating menu item's ExpandCollapsePattern is
System.Windows.Automation.ExpandCollapsePattern"
Comment 1 Feng Xia Mu 2010-04-20 06:19:45 UTC
Created attachment 355478 [details]
The test to be run.