rogue01 Posted July 3, 2012 Share Posted July 3, 2012 (edited) Hi, I'm sorry for probably stupid question in advance, but it seems that I'm not able to figure out how to click on this button myself... <form id="delivery-and-payment" class="pretty-form" method="post" action="/uzivatel/objednavka/index$180-confirm_setup.html" data-ajax-url="/uzivatel/objednavka/ajax/index$180-confirm_setup.html"> <div class="clearfix"> <div class="float-right"><button type="submit" class="button-green button-green-next"><span>Pokračovat</span></button></div> it would be nice if you could push me. Thx Edited July 3, 2012 by rogue01 Link to comment Share on other sites More sharing options...
abberration Posted July 3, 2012 Share Posted July 3, 2012 We might could help if we knew the website. It's impossible to test anything without knowing that. Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
armoros Posted July 3, 2012 Share Posted July 3, 2012 (edited) Suspicious i think.Is that a sample code from the pages source code,is that a paypal acount ?Maybe Edited July 3, 2012 by armoros [font="verdana, geneva, sans-serif"] [/font] Link to comment Share on other sites More sharing options...
Zedna Posted July 3, 2012 Share Posted July 3, 2012 (edited) Look at _IEFormGetCollection() _IETagNameGetCollection() EDIT: It seems to be some Czech website :-) Edited July 3, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
rogue01 Posted July 4, 2012 Author Share Posted July 4, 2012 (edited) Thanks, I was obviously out yesterday, sry for lack of information. Yes, that's a sample from source code and yes2, it's czech website The trouble i have with this is that I'm able to filter forms by its ID and find this one, but i don't know how to click the link then. $Found = "" $form = _IEFormGetCollection ($IE) For $aform In $form If $aform.id & "" = "delivery-and-payment" Then $Found = $aform ;MsgBox(64, "Success", "Found it!") ExitLoop EndIf Next And to click the button directly I need something like GetObjByClass which is obviously doesn't exist. I'm still not very perceptive today, but I'll try read more about it and figure it out andl let you know. Sry for hasty question. Edited July 4, 2012 by rogue01 Link to comment Share on other sites More sharing options...
Zedna Posted July 4, 2012 Share Posted July 4, 2012 (edited) I think you could try just invoke _IEFormSubmit() (because your button has type "submit") for your desired form found by _IEFormGetCollection() Edited July 4, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
rogue01 Posted July 4, 2012 Author Share Posted July 4, 2012 Yes, all my problem was in wrong variable in my submit function and it took me day of trying strange procedures to finaly see it Thx. 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