Jump to content
UBot Underground

Ui Open File | Username:password


Recommended Posts

Hello,

 

I'm trying to figure out how I can get uBot to open one file that contains usernames and password but enter the information separately. As of right now it enter's everything like so

Username form: thisistheusername:thisisthepassword

 

I have the information stored like so

 

Usernames:Passwords 

Usernames:Passwords

Usernames:Passwords

Usernames:Passwords

Usernames:Passwords

Usernames:Passwords

Usernames:Passwords

 

I need uBot to enter the username into the username form and the password into its form. Not both, I however can't seem to find out how to do this

 

Correct code: 

ui open file("Accounts", #accounts)
add list to list(%accounts, $list from file(#accounts), "Delete", "Global")
set(#accounts, $list position(%accounts), "Global")
type text(<name="01___title">, $next list item(%accounts), "Standard")

Website being tested on: http://www.roboform.com/filling-tests/all-fields

 

Any help is much appreciated, thanks!

Link to post
Share on other sites

Would be better to store the data in CSV format.

 

username,password

username,password

 

 

and then use 

Create table from file.

 

Then you have the usernames in column 0 and passwords in column 1.

That way you can use either one of them for the different fields on the site.

Dan

Link to post
Share on other sites

Alright I've figured out how to do that, I am however now facing an issue on how to save the information. When it gets saved it saves as follows, lets say there is 5 accounts I need saved, this is how it saves them.

 

Username

Username

Username

Username

Username

Password

Password
Password
Password
Password

 

I'm lost at what to do lol

Link to post
Share on other sites

Alright I've figured out how to do that, I am however now facing an issue on how to save the information. When it gets saved it saves as follows, lets say there is 5 accounts I need saved, this is how it saves them.

 

Username

Username

Username

Username

Username

Password

Password

Password

Password

Password

 

I'm lost at what to do lol

 

Depends on how you store the data? 

Please paste your code and I'll take a look

 

Dan

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