Catching JavaScript in InternetExplorer with Python / win32com

Discussion in 'Python' started by Florian Fredegar Haftmann, Nov 23, 2003.

  1. Hi!

    I'm working on a tool which helps in testing applications with web-frontends (on
    Windows)
    On thing I would like to test ist the occurence of JavaScript errors; the idea
    is that the test tool does many request and actions on the Internet Explorer and
    collects all errors (including JavaScript errors) together into a report. I've
    setted up a framework for controlling an Internet Explorer instance using Python
    and win32com, but so far I have not found anything to actually catch JavaScript
    errors. Has anyone experience with that?

    Thanks for all ideas,
    Florian

    P. S.
    Python version 2.2.x
    Internet Explorer 6.y
     
    Florian Fredegar Haftmann, Nov 23, 2003
    #1
    1. Advertising

  2. Florian Fredegar Haftmann

    Peter Hansen Guest

    Florian Fredegar Haftmann wrote:
    >
    > I'm working on a tool which helps in testing applications with web-frontends (on
    > Windows)
    > On thing I would like to test ist the occurence of JavaScript errors; the idea
    > is that the test tool does many request and actions on the Internet Explorer and
    > collects all errors (including JavaScript errors) together into a report. I've
    > setted up a framework for controlling an Internet Explorer instance using Python
    > and win32com, but so far I have not found anything to actually catch JavaScript
    > errors. Has anyone experience with that?


    You might want to check out pyjtf at Sourceforge: http://pyjtf.sourceforge.net.
    It's a small package I released which does something like what you are
    asking about. You could use it for inspiration, butcher it for example
    code, or maybe even find a way to contribute to it. :)

    -Peter
     
    Peter Hansen, Nov 23, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan Clark

    shdocvw.internetexplorer object help

    Ryan Clark, Jan 6, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    6,565
    quantum
    Feb 2, 2004
  2. quantum

    Using SHDocVW-InternetExplorer

    quantum, Feb 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    2,392
    quantum
    Feb 2, 2004
  3. Afigels
    Replies:
    0
    Views:
    572
    Afigels
    Nov 16, 2004
  4. Lars-Erik Aabech
    Replies:
    4
    Views:
    2,745
    Steven Cheng[MSFT]
    Nov 3, 2005
  5. Steve
    Replies:
    2
    Views:
    206
    Thomas 'PointedEars' Lahn
    Jan 15, 2008
Loading...

Share This Page