Hi Helge
The documentation for "Statusbar" in OOo_testtool.pdf I have read,but there
is no method to
judge the language status bar control if disabled or not.Because in the
testcase specification,
there is a step as following:
Verify that language status bar control is disabled
I want to know how to judge it?I have tried the method "Bool
Object.IsEnabled",it doesn't work.
I can use the method :
String DocumentWindow.StatusGetText[ ItemID ]
to return the text which displays on the control.If there is no display on
language status bar control ,
Can I think it disabled?
Thank you very much!
Best Regard
Hong
Zhang Hong
Beijing Redflag Chinese 2000 Software CO.,LTD
Email:[EMAIL PROTECTED]
2008-01-08
发件人: Helge Delfs
发送时间: 2008-01-04 14:34:41
收件人: [email protected]
抄送:
主题: Re: [qa-dev] [Automation]Declaration for Language control in Status bar
Hi Hong,
zhang Hong wrote:
> In the testcase "Language control in Status bar",I tried to declare Slot ID
> for this control by .uno in e_all.sid as Peter's suggestion:
> " LanguageStatus .uno:LanguageStatus ",but it doesn't work.Peter told me
> that there may be two controls in language control in
> status bar,one is in the buttom,the other one is that we can see in status
> bar.So I ask your suggestion for this problems . Because
> use the gMouseClick-functions to call menu is not better .
Statusbar is some kind of special control where items can't be declared.
You have to use Statusbar commands to access these items
See documentation for more details:
http://qa.openoffice.org/qatesttool/OOo_testtool.pdf
Search for "Statusbar"
Hope this helps !
Best Regards
Helge
--
===============================================================
Sun Microsystems GmbH Helge Delfs
Nagelsweg 55 Quality Assurance Engineer
20097 Hamburg OOo Team Lead Automation
http://qa.openoffice.org mailto:[EMAIL PROTECTED]
http://wiki.services.openoffice.org/wiki/User:Hde
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]