RATPFINK 3 Posted February 25, 2012 Report Share Posted February 25, 2012 (edited) Can anyone help me out with figuring out a way to click the submit button on this page. You have to click join now to get to the web form. It appears to be behind an iframe, if I have any idea what I'm talking about. The thing is I cant even click it manually in ubot. Thanks in advance. Edited February 25, 2012 by RATPFINK Quote Link to post Share on other sites
wakins4u 12 Posted February 26, 2012 Report Share Posted February 26, 2012 Can anyone help me out with figuring out a way to click the submit button on this page. You have to click join now to get to the web form. It appears to be behind an iframe, if I have any idea what I'm talking about. The thing is I cant even click it manually in ubot. Thanks in advance. Here it is. I used image recognition. Although the image can't be represented in code-like form like below, just use that camera thing and place a rectangle box round the red sumbit button. In the code below, it's showing that image as <image="___IMAGE___1___IMAGE___">. U should be fine with image recognition [This is with the assumption that you're using Ubot4.0xxx though] cheersW. clear cookies reset account("Any") navigate("http://www.tgifridays.com/givememorestripes", "Wait") wait for browser event("Everything Loaded", 35) wait(1) wait for element(<class="button-Register">, 40, "Appear") click(<class="button-Register">, "Left Click", "No") wait for browser event("Everything Loaded", 35) wait for element(<name="btnRegister">, "", "Appear") type text(<first name field>, $account data("First Name"), "Standard") focus(<first name field>) type text(<last name field>, $account data("Last Name"), "Standard") type text($element offset(<address line1 field>, 0), $account data("City"), "Standard") type text(<city field>, $account data("City"), "Standard") type text(<name="tbxPOSTALCODE">, $account data("Zip Code"), "Standard") type text($element offset(<email field>, 0), $account data("Email"), "Standard") wait(1) type text($element offset(<email field>, 1), $scrape attribute($element offset(<email field>, 0), "value"), "Standard") change dropdown(<state dropdown>, "Random - Skip First Choice") type text(<birthday field>, "{$rand(10, 12)}/{$rand(10, 26)}/{$rand(1972, 1991)}", "Standard") type text($element offset(<password field>, 0), "Adfg34YeM", "Standard") type text($element offset(<password field>, 1), "Adfg34YeM", "Standard") type text(<phone field>, "{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}", "Standard") change dropdown(<name="ddlPHONENUMBERTYPE">, "Random - Skip First Choice") change dropdown(<name="ddlLocations1">, "Random - Skip First Choice") wait(5) change dropdown(<name="ddlLocations2">, "Random - Skip First Choice") wait(5) change dropdown(<name="ddlLocations3">, "Random - Skip First Choice") change checkbox(<name="cbxCONFIRMPRIVACY">, "Checked") click(<image="___IMAGE___1___IMAGE___">, "Left Click", "No") wait for browser event("Everything Loaded", 35) 1 Quote Link to post Share on other sites
Hung Le 0 Posted February 26, 2012 Report Share Posted February 26, 2012 hi RATPFINK, I don't know what problem you're having coz I have no problem clicking the "JOIN TODAY" button.I did it the normal way Quote Link to post Share on other sites
RATPFINK 3 Posted February 27, 2012 Author Report Share Posted February 27, 2012 hi RATPFINK, I don't know what problem you're having coz I have no problem clicking the "JOIN TODAY" button.I did it the normal way I'm having a problem clicking the submit button on the form after you click on join today. Thanks for having a look at it for me. Quote Link to post Share on other sites
RATPFINK 3 Posted February 28, 2012 Author Report Share Posted February 28, 2012 Here it is. I used image recognition. Although the image can't be represented in code-like form like below, just use that camera thing and place a rectangle box round the red sumbit button. In the code below, it's showing that image as <image="___IMAGE___1___IMAGE___">. U should be fine with image recognition [This is with the assumption that you're using Ubot4.0xxx though] cheersW. clear cookies reset account("Any") navigate("http://www.tgifridays.com/givememorestripes", "Wait") wait for browser event("Everything Loaded", 35) wait(1) wait for element(<class="button-Register">, 40, "Appear") click(<class="button-Register">, "Left Click", "No") wait for browser event("Everything Loaded", 35) wait for element(<name="btnRegister">, "", "Appear") type text(<first name field>, $account data("First Name"), "Standard") focus(<first name field>) type text(<last name field>, $account data("Last Name"), "Standard") type text($element offset(<address line1 field>, 0), $account data("City"), "Standard") type text(<city field>, $account data("City"), "Standard") type text(<name="tbxPOSTALCODE">, $account data("Zip Code"), "Standard") type text($element offset(<email field>, 0), $account data("Email"), "Standard") wait(1) type text($element offset(<email field>, 1), $scrape attribute($element offset(<email field>, 0), "value"), "Standard") change dropdown(<state dropdown>, "Random - Skip First Choice") type text(<birthday field>, "{$rand(10, 12)}/{$rand(10, 26)}/{$rand(1972, 1991)}", "Standard") type text($element offset(<password field>, 0), "Adfg34YeM", "Standard") type text($element offset(<password field>, 1), "Adfg34YeM", "Standard") type text(<phone field>, "{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}{$rand(0, 9)}", "Standard") change dropdown(<name="ddlPHONENUMBERTYPE">, "Random - Skip First Choice") change dropdown(<name="ddlLocations1">, "Random - Skip First Choice") wait(5) change dropdown(<name="ddlLocations2">, "Random - Skip First Choice") wait(5) change dropdown(<name="ddlLocations3">, "Random - Skip First Choice") change checkbox(<name="cbxCONFIRMPRIVACY">, "Checked") click(<image="___IMAGE___1___IMAGE___">, "Left Click", "No") wait for browser event("Everything Loaded", 35) Thanks for taking the time to find that solutiion for me. I only have 1 problem... I think I am the only one using the standard edition of ubot 4. Therefore I don't get the camera thingy , its only for pro. If thats the only solution I guess I'll have to consider an upgrade. Quote Link to post Share on other sites
JohnB 255 Posted February 28, 2012 Report Share Posted February 28, 2012 The button does work...It just doesn't show the errors. In my case I didn't have an acceptable password. John 1 Quote Link to post Share on other sites
RATPFINK 3 Posted March 1, 2012 Author Report Share Posted March 1, 2012 The button does work...It just doesn't show the errors. In my case I didn't have an acceptable password. John That was it John. I didn't even pay attention to the password requirementsand just assumed the button was the issue based on when I right clicked on it and only got the option to view source. Thanks so much for the help. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.