Jump to content
Sign in to follow this  

_IEStatus_NoMatch = No Match when using _IEGetObjById

Recommended Posts


I've been struggling to locate elements on my test site with _IEGetObjById or _IEGetObjByName.

My script looks like this...

#include <IE.au3>
Global $g_oIE = _IECreate("http://www.asdf.com)
_IELoadWait($g_oIE, 0, 10000)
Func ChangeDDL()
    Local $oElement = _IEGetObjById($g_oIE, "fg12_ddlFilterList")


I get 7 in the MsgBox which is "No Match".

When I dump the html using _IEBodyReadHTML($g_oIE) in place of _IEGetObjById, I can see the element in the markup so I don't think I'm dealing with a frame/iframe issue. I'm not using IE9. I tried using the form collection stuff and I ran into the same problem.

Does anyone have any suggestions for how I can troubleshoot this?

My end goal is to be able to change the value of a Select element on the page.

Share this post

Link to post
Share on other sites

Alright, the person/people responsible for making the characters '1' and 'l' identical should be shot. arrrg. Problem solved. Face appropriately slammed into keyboard.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.