TheMcD 6 Posted October 1, 2010 Report Share Posted October 1, 2010 This is my first post, my first bot and what seemed to be a simple task, but causes an issue.. Video: http://screencast.com/t/YTZhODlkZjc As you can see, uBots inserts all the data and submits it, but the site returns that some data is missing. The site uses Javascript with their forms and so I am wondering if the Javascript is an issue for uBots, that maybe that is what is causing the problem? uBots version: 3.283 Quote Link to post Share on other sites
blazo 5 Posted October 1, 2010 Report Share Posted October 1, 2010 Oki man you need to use send keys field chosen I atached an image Quote Link to post Share on other sites
TheMcD 6 Posted October 1, 2010 Author Report Share Posted October 1, 2010 Oki man you need to use send keys field chosen I atached an image Blazo, I will give that a try, makes sense to me. Thanks, I will report back. * I will note that I did follow one of the training videos: http://vimeo.com/12911151 and wonder why it doesn't work that way (as the video), seems like it should. (Wondering if send keys is always required for filling out forms...???) Quote Link to post Share on other sites
Praney Behl 314 Posted October 1, 2010 Report Share Posted October 1, 2010 Blazo, I will give that a try, makes sense to me. Thanks, I will report back. * I will note that I did follow one of the training videos: http://vimeo.com/12911151 and wonder why it doesn't work that way (as the video), seems like it should. (Wondering if send keys is always required for filling out forms...???) Some website have javasrcipts on page which detects keystrokes in the inputs, where as by just dragging a field to Ubot script it chages the value of the input field with your chosen.. I hope you may understand now Praney Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 Some website have javasrcipts on page which detects keystrokes in the inputs, where as by just dragging a field to Ubot script it chages the value of the input field with your chosen.. I hope you may understand now Praney That makes sense, but I am still getting the same error when submitting. The only thing I have not changed is the way the submit button works which also is Javascript controlled... It seems to submit fine, but then tells me: Empty Phone NumberEmpty Password Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 Can you provide the link to check? Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 Can you provide the link to check? Link to check: http://www.simplevoicebox.com/loginaccount.asp One thing I am thinking is to choose the submit button by atrribute, but there are two on the site and they only thing that differenciates them is the onSubmit parts and tabindex, and I don't know how to set that as the attribute, see below: <img onClick="javascript: onSubmit();" style="cursor:pointer;" src="images/svb_abu_submitbut.gif" tabindex="4"> <img onClick="javascript: onSubmit_pn();" style="cursor:pointer;" src="images/svb_abu_submitbut.gif" tabindex="9"> Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 Yeah there is a bit of Javascript on the page, but there is a work around to it I think the password used was incorrect, well ofcourse I understand that.. I am able to do it but it gives me incorrect password Ok I'll Just post the script for you Praney Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 Oh forgot the script .. sorry Here it is: 1 Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 Oh forgot the script .. sorry Here it is: I was trying some things... and will look at yours to see what I can learn. Thanks. I'll let you know. (I am appreciatve of the help.) Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 I was trying some things... and will look at yours to see what I can learn. Thanks. I'll let you know. (I am appreciatve of the help.) No worries let me know if it works for you.. Praney Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 No worries let me know if it works for you.. Praney I had to change Id back to name as the attribute in choose by attribute like you had in your original screen shot. I will learn a lot from this and weird Javascript form handling. Thanks so much for taking the time to help me. Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 No worries Mate! Good Luck ! Praney Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 No worries Mate! Oh if the script solved your issue, would you mind editing the main topic and add a [sOLVED] to the thread name. Good Luck ! Praney Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 You do have me puzzled on the: Send keys to field chosen$new line There is nothing that looks like you are triggering the submit button, and the lines above seem to be the only thing that might... ? I was thinking of chosing it and sending an enter key to the submit button, I don't know how to send an enter key (yet), but that is what I was going to try. Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 You do have me puzzled on the: Send keys to field chosen$new line There is nothing that looks like you are triggering the submit button, and the lines above seem to be the only thing that might... ? I was thinking of chosing it and sending an enter key to the submit button, I don't know how to send an enter key (yet), but that is what I was going to try. Well thats what I just did , newline is sending the enter key.. Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 Well thats what I just did , newline is sending the enter key.. Cool. I'm learning every second. I'm now onto figuring out to how to select a file to upload from a dialog box opened by the browser. Whish me luck. I'm wondering if there are hidden commands that I could be using. The one you taugh me, "choose by attribute" can only found using the Toolbox search. (Unless my eyes are failing me.) Quote Link to post Share on other sites
Praney Behl 314 Posted October 2, 2010 Report Share Posted October 2, 2010 Mate Won't be able to teach you all you have to do the effort and I am sure it'll payback. Go through the tutorials and video and observe everything you look and hear.. Cheers! Good Luck! Praney Quote Link to post Share on other sites
TheMcD 6 Posted October 2, 2010 Author Report Share Posted October 2, 2010 Mate Won't be able to teach you all you have to do the effort and I am sure it'll payback. Go through the tutorials and video and observe everything you look and hear.. Cheers! Good Luck! Praney I am going through the videos now, as I don't like it when people don't try themselves. I just hope that there is a video that covers how to work with an upload dialog box that opens to select a file... Judging by the video titles I don't think there is one... We'll see. * Trying to select a fileusing the "Choose File to Upload" box that shows, just like the one that shows when trying to attach a file to this discussion board. 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.