Modify

#1908 closed Bug (Fixed)

ObjName returns empty string for HTMLDocument with IE9

Reported by: anonymous Owned by: Jon
Milestone: 3.3.7.8 Component: AutoIt
Version: 3.3.6.1 Severity: None
Keywords: Cc:

Description

With IE9 installed, the ObjName function returns an empty string when it should return HTMLDocument (there may be other elements that also cause trouble, but complete investigation has not been performed). This causes many functions in IE.au3 to break and there is no good work around.

This works properly with IE8 as well as in VBScript with IE9. This appears to be a bug with ObjName on the AutoIt side.

This is discussed here: http://www.autoitscript.com/forum/topic/126670-ie9-automation-problems/page__pid__883469#entry883469

Here is reprocuder code:

AutoIt code (3.3.6.1):

#include <IE.au3>
$oIE = _IECreate ("http://wdextras.womansday.com/contests_texas.html")
ConsoleWrite(isObj($oIE.document) & " -- <" & ObjName($oIE.document) & ">" & @CRLF)

Output: 1 -- <>

VBScript code:

set oIE = CreateObject("InternetExplorer.Application")
oIE.visible = true
oIE.navigate("http://wdextras.womansday.com/contests_texas.html")
MsgBox(TypeName(oIE.document))

Output: HTMLDocument

Attachments (1)

Index.cshtml (10.9 KB ) - added by anonymous on Jun 19, 2012 at 6:29:18 PM.

Download all attachments as: .zip

Change History (17)

comment:1 by DaleHohm, on Apr 6, 2011 at 2:51:09 PM

Ticket author is DaleHohm, forgot to enter my name at creation time.

comment:2 by anonymous, on Apr 19, 2011 at 4:27:44 PM

Please upgrade the severity. This problem breaks Internet Explorer automation using AutoIt. It's a very serious issue.

comment:3 by Valik, on Apr 19, 2011 at 7:56:32 PM

Yes, because updating the severity is certainly going to fix the problem.

comment:4 by dv8, on Apr 20, 2011 at 11:56:58 AM

LOL :) Good one Valik!
It's definitely not that serious, but now that IE9 is officially released and Windows is automatically updating it, I guess a lot of scripts will bomb out. :)
I'm eagerly awaiting for this fix as well. I wish I could help with something...

in reply to:  3 comment:5 by anonymous, on Apr 20, 2011 at 1:51:41 PM

Replying to Valik:

Yes, because updating the severity is certainly going to fix the problem.

Typically in professional software development, issues with higher severity are fixed before those with lower severity. Based on Valik's reply to my comment, I guess I shouldn't expect professional-level software development practices out of the AutoIt development staff. Thanks for letting me know, Valik. Good one!

comment:6 by Valik, on Apr 20, 2011 at 11:13:25 PM

You certainly weren't expecting "professional-level software development" to begin with since you felt the need to tell us this was important. Your post stating we should change the severity is akin to saying we are too stupid to make our own decisions and that its up to an anonymous poster to do it for us.

comment:7 by dv8, on Apr 21, 2011 at 7:26:59 AM

Anonymous, even if you are a kid you should know that if you want a professional service (in any area) you should pay for it. All the people here are giving you their time for free and you are getting A LOT for your NOTHING! So your attitude is not appreciated at all! Instead of wasting everyone's time with your pointless comments just sit on your butt and wait for the fix quietly. And while you are on it, feel free to go to http://www.autoitscript.com/site/donate/ and make a donation like I just did (8PM98566LP724560B) to at least show some appreciation to the developers and all their hard work.
You guys ROCK! Please do not be discouraged from any anonymous replies.

in reply to:  6 comment:8 by anonymous, on Apr 21, 2011 at 3:20:18 PM

Replying to Valik:

You certainly weren't expecting "professional-level software development" to begin with since you felt the need to tell us this was important. Your post stating we should change the severity is akin to saying we are too stupid to make our own decisions and that its up to an anonymous poster to do it for us.

Wow, you're putting a lot of words into my mouth. I did (and still do) expect professional software development practices. AutoIt would not have gotten this far without them. It's a shame you somehow inferred that I was calling you stupid from my simple request. Do you have self-esteem or sensitivity issues? Damn, I even said "Please".

in reply to:  7 comment:9 by anonymous, on Apr 21, 2011 at 3:42:48 PM

Replying to dv8:

Instead of wasting everyone's time with your pointless comments just sit on your butt and wait for the fix quietly. And while you are on it, feel free to go to http://www.autoitscript.com/site/donate/ and make a donation like I just did (8PM98566LP724560B) to at least show some appreciation to the developers and all their hard work.

What?!?! After being insulted, I'm asked to pay? If Valik's hadn't been so condescending, I would completely agree and consider making a contribution. Now, no way. I'll convert my entire organization to use another product, even if it's a commercial product, before I send one cent to AutoIt after this exchange.

I've used dozens of freeware and open source products. I've contributed both code and money to an handful of them. I've been an active participant in all of their forums. With the exception of wxWidgets, I have never encountered this much ego, attitude, and conflict over absolutely nothing.

You guys ROCK! Please do not be discouraged from any anonymous replies.

The product rocks. A few of the "guys" leave much to be desired.

comment:10 by Valik, on Apr 21, 2011 at 5:52:13 PM

The only person here with ego is you. You apparently believe it is your place to determine bug severity for a project you do not administer. That is ego. Or stupidity. Possibly both.

As for the rest of your comments, who cares. If you don't like me and are willing to put so much effort into avoiding a project I work on, be my guest. You're not going to take food off any of our tables (we are not paid for our work on AutoIt) nor are we going to lose any sleep over your decision to switch to another language. I think it speaks volumes about you that you are so petty as to do something like that. It also speaks volumes to me that you cannot for even a single second look at something you've said from a different perspective or stop and think that perhaps your attempt to be "helpful" in telling us how to manage our own project might be taken as condescending since it's our project and not yours.

Anyway, I hope you leave and if so good riddance.

comment:11 by anonymous, on Apr 27, 2011 at 4:59:47 PM

Hi Sirs,

Any update on this bug. I am experiencing this bug and I do not expect it to get fixed just because I need it, but it would be nice for my sanity if I knew it was being looked at (or just the same was scheduled for later inspection) :)

/ T

comment:12 by mvg, on Apr 27, 2011 at 8:18:45 PM

All reports that are still open and not closed are by definition scheduled to be looked at at some point in time. The best thing you can get at this point is a "NoBug" to resolve you of your unsurtenty in this matter. Other than that you have to wait, just like the rest of us none dev users, until it gets fixed (if not dismissed) to see a change in the ticked status.

Now if your the same anonymous as the others in this ticket, I suggest you just give it a rest. Your just wasting yours and others time with this.

comment:13 by Valik, on Apr 27, 2011 at 10:56:35 PM

IP is significantly different so probably not the same person.

comment:14 by anonymous, on Apr 30, 2011 at 12:17:53 PM

Hi again Sirs,

No I am not the other "anonymous" above in the conversation and I tried to be as polite as I could be. Sorry for wasting your time.

/ T

comment:15 by DaleHohm, on May 31, 2011 at 2:45:17 PM

Adding new VBS test code as Jon said the previous code caused trouble on his machine.

Please wait until the browser in completely quiescent before dismissing the first message box:

set oIE = CreateObject("InternetExplorer.Application")
oIE.visible = true
oIE.navigate("http://www.autoitscript.com")
MsgBox("Click When Browser Document Load Complete")
MsgBox(TypeName(oIE.document))

comment:16 by Jon, on Jun 2, 2011 at 12:07:06 AM

Milestone: 3.3.7.8
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [6098] in version: 3.3.7.8

by anonymous, on Jun 19, 2012 at 6:29:18 PM

Attachment: Index.cshtml added

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.