Bug 597997 - [uiaclient-GTKs]: MenuItem doesn't support the ExpandCollapsePattern
Summary: [uiaclient-GTKs]: MenuItem doesn't support the ExpandCollapsePattern
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Client - UIA (show other bugs)
Version: Unspecified
Hardware: Other openSUSE 11.2
: P2 - High : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 06:05 UTC by Feng Xia Mu
Modified: 2010-08-25 09:08 UTC (History)
0 users

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


Attachments
The test to be run. (1.46 KB, text/x-python)
2010-04-20 06:19 UTC, Feng Xia Mu
Details

Note You need to log in before you can comment on or make changes to this bug.
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.