RexhepBunjaku Posted May 2, 2015 Share Posted May 2, 2015 in HTML is that code<input type="submit" name="ctl00$ContentPlaceHolder1$Wizard1$StartNavigationTemplateContainerID$StartNextButton" value="Gati" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$Wizard1$StartNavigationTemplateContainerID$StartNextButton", "", true, "", "", false, false))" id="ctl00_ContentPlaceHolder1_Wizard1_StartNavigationTemplateContainerID_StartNextButton" class="inputBtn btnLarge">when I useLocal $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_InvalidDataTypewhy them not found (NoMatch)Please help! Link to comment Share on other sites More sharing options...
Danp2 Posted May 2, 2015 Share Posted May 2, 2015 Have you checked to see if there are frames involved? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
AutID Posted May 2, 2015 Share Posted May 2, 2015 (edited) 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 May 2, 2015 by AutID code tags https://iblockify.wordpress.com/ Link to comment Share on other sites More sharing options...
RexhepBunjaku Posted May 2, 2015 Author Share Posted May 2, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now