saran_techie has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: [h]ow to read an error message in Win32::IE::Mechanize
by parv (Parson) on Mar 04, 2009 at 06:57 UTC
    Could you please change the title of your post to something meaningful like "Win32::IE - How to capture the application error message"?

      If there is no reply, I prefer this advice. However, the second that there is a reply, even on my own post, I would defer to the powers that be via consideration to retitle the entire thread.

      --MidLifeXis

        Frankly, I have gotten tired of content free titles (there isn't a newsreader killfile or procmail like facitlity here). Sending a private message is too much work, wasted if the user does not know about on-site messaging. As far as "Consideration" goes, well, that works *sometimes* and/or very slowly. As such I have /almost/ given up on that. (Thus I posted the request as a reply.)
Re: ow to read an error message in Win32::IE::Mechanize
by lostjimmy (Chaplain) on Mar 04, 2009 at 08:28 UTC

    I'm not familiar in the least with the module, but isn't it as simple as scraping the page for that error message? Wouldn't you just need to know what div or span it is in and then try to match the particular errors you are looking for?

    It's not as if Win32::IE::Mechanize is going to return the message to you like you would get a returned result from a subroutine. It's a bit more involved than that.

Re: ow to read an error message in Win32::IE::Mechanize
by Anonymous Monk on Mar 04, 2009 at 08:04 UTC
    Here, I don't know what function / subroutine to use in order to capture the error message displayed in the application. Kindly assist.
    Impossible. How does the "application" indicate error message?