﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1908	ObjName returns empty string for HTMLDocument with IE9	anonymous	Jon	"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
"	Bug	closed	3.3.7.8	AutoIt	3.3.6.1	None	Fixed		
