[python-win32] win32gui.GetMenu() return 0
wensi liu
juky.liu at gmail.com
Fri Apr 17 19:35:11 CEST 2009
Thanks for your kindly explanation.
In fact I am focus on Automation Testing for our product around IE.
So I need access IE by menu, toolbar, even split button for to simulate all
user's action which may affect our product.
I just looking for a way to deal with that.
Thanks again.
On Thu, Apr 16, 2009 at 6:02 PM, Tim Roberts <timr at probo.com> wrote:
> wensi liu wrote:
> > Thanks for your quick response!
> >
> > Actually, I am trying to click Menu even SubMenu
> >
> > like:
> > Tools->Internet Options
> > Tools->SmartScreen Filter->Check This Websit
>
> Most of the things in Internet Options can be controlled through COM and
> normal APIs. What, specifically, are you trying to tweak?
>
> Smart Screen Filter must be an add-on. You can get to these by
> enumerating through the list of subwindows to find all the toolbars, but
> it will be a pain. You could also send keystrokes to the app, but
> that's also a bit tacky. It would be better for you to try to find out
> about the Internet Explorer object model, to see if you can use that COM
> object you already created to access the tools through function call
> instead.
>
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090417/37e643ff/attachment.htm>
More information about the python-win32
mailing list