Jump to content

$_IEStatus_NoMatch


Recommended Posts

in HTML is that code

<input type="submit" name="ctl00$ContentPlaceHolder1$Wizard1$StartNavigationTemplateContainerID$StartNextButton" value="Gati" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$Wizard1$StartNavigationTemplateContainerID$StartNextButton&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="ctl00_ContentPlaceHolder1_Wizard1_StartNavigationTemplateContainerID_StartNextButton" class="inputBtn btnLarge">

when I use

Local $button3 = _IEGetObjByName ($oIE,"ctl00$ContentPlaceHolder1$Wizard1$StartNavigationTemplateContainerID$StartNextButton")

_IEAction ($button3,"click")

I have in console that warning

--> IE.au3 T3.0-1 Warning from function _IEGetObjByName, $_IESTATUS_NoMatch (Name: ctl00$ContentPlaceHolder1$Wizard1$StartNavigationTemplateContainerID$StartNextButton, Index: 0)
--> IE.au3 T3.0-1 Error from function _IEAction(click), $_IESTATUS_InvalidDataType

why them not found (NoMatch)

Please help!

 

 

 

Link to comment
Share on other sites

Try _IEGetObjByID. I doubt that will work. If not then try

#include <IE.au3>

Local $oIE = _IECreate("url")
Local $oInputs = _IETagNameGetCollection($oIE, "input")
For $oInput In $oInputs

    If $oInput.type = "submit" And $oInput.class="inputBtn btnLarge" Then

        $oInput.click
    EndIf
Next

 

Edited by AutID
code tags
Link to comment
Share on other sites

NO frames involved,

___________________________

I was  try with IEGetObjByID, same problem,

I try your code, but dont work for me

#include <IE.au3>

Local $oIE = _IECreate("url")
Local $oInputs = _IETagNameGetCollection($oIE, "input")
For $oInput In $oInputs

    If $oInput.type = "submit" And $oInput.class="inputBtn btnLarge" Then

        $oInput.click
    EndIf
Next

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...