Jump to content
UBot Underground

Data not be detected? Javascript Form?


Recommended Posts

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

Link to post
Share on other sites

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...???) :)

Link to post
Share on other sites

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 :)

Link to post
Share on other sites

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 Number
    Empty Password

Link to post
Share on other sites

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">

Link to post
Share on other sites

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

Link to post
Share on other sites

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.) :)

Link to post
Share on other sites

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 :)

Link to post
Share on other sites

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.

Link to post
Share on other sites

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. :)

Link to post
Share on other sites

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..

Link to post
Share on other sites

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.) :blink:

Link to post
Share on other sites

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 :)

Link to post
Share on other sites

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. :unsure:

 

* 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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...