Jump to content
Sign in to follow this  

IE.au3 T3.0-1 Error $_IEStatus_NoMatch $_IEStatus_InvalidDataType

Recommended Posts



#include <IE.au3>

$oIE = _IEAttach("some website","url")

$oIE = _IEFrameGetObjByName($oIE,"contentFrame")
$Ele = _IEGetObjById($oIE,"allProvince")


This script is to click a raido button.(you can't login the website, so I didn't put it in the code.)

Code of the BTN

        <div id="bodyContent">
            <form id="searchForm" action="person!list.action" method="get">
                <input type="hidden" id="statrBirthday" name="f_GET_birthday"/>
                <input type="hidden" id="endBirthday" name="f_LET_birthday"/>
                <div class="ContentTitle" z.name="个人档案卡更新"></div>
                <div class="ContentTips">
                <table class="ContentTable01">
                        <td colspan="2">
                                <input type="radio" id="thisArea" name="divisionType" value="thisArea" />
                                <label for="thisArea">区域查询 </label>
                                <input type="radio" id="allProvince" name="divisionType" value="allProvince" />
                                <label for="allProvince">全省查询</label>

Console output:

--> IE.au3 T3.0-1 Warning from function _IEGetObjById, $_IEStatus_NoMatch (allProvince)
--> IE.au3 T3.0-1 Error from function _IEAction(click), $_IEStatus_InvalidDataType

what does the error mean? Thanks.

Share this post

Link to post
Share on other sites

It works now.  don't know why

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