Modify

Opened 14 years ago

Closed 13 years ago

#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 12 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 14 years ago by DaleHohm

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

comment:2 Changed 14 years ago by anonymous

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

comment:3 follow-up: Changed 14 years ago by Valik

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

comment:4 Changed 14 years ago by dv8

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...

comment:5 in reply to: ↑ 3 Changed 14 years ago by anonymous

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 follow-up: Changed 14 years ago by 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.

comment:7 follow-up: Changed 14 years ago by dv8

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.

comment:8 in reply to: ↑ 6 Changed 14 years ago by anonymous

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".

comment:9 in reply to: ↑ 7 Changed 14 years ago by anonymous

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 Changed 14 years ago by Valik

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 Changed 14 years ago by anonymous

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 Changed 14 years ago by mvg

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 Changed 14 years ago by Valik

IP is significantly different so probably not the same person.

comment:14 Changed 14 years ago by anonymous

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 Changed 13 years ago by DaleHohm

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 Changed 13 years ago by Jon

  • Milestone set to 3.3.7.8
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [6098] in version: 3.3.7.8

Changed 12 years ago by anonymous

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.