Re: [python-win32] win32gui.GetMenu() return 0

2009-04-17 Thread Tim Roberts
wensi liu wrote: > > 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. Oh, you should have said that! I s

Re: [python-win32] win32gui.GetMenu() return 0

2009-04-17 Thread wensi liu
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,

Re: [python-win32] win32gui.GetMenu() return 0

2009-04-16 Thread Tim Roberts
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, a

Re: [python-win32] win32gui.GetMenu() return 0

2009-04-16 Thread Tim Roberts
wensi liu wrote: > > I am a novice of Python. > > I tried writing code for handle IE but failed. > > I list simple code below: > > import win32com.client > import win32api > import win32gui > ie = win32com.client.Dispatch('InternetExplorer.Application') > ie.Navigate('www.msn.co

[python-win32] win32gui.GetMenu() return 0

2009-04-16 Thread wensi liu
Hi, I am a novice of Python. I tried writing code for handle IE but failed. I list simple code below: import win32com.client import win32api import win32gui ie = win32com.client.Dispatch('InternetExplorer.Application') ie.Navigate('www.msn.com') ie.Visible = 1 while