Ridge 0 Posted February 7, 2015 Report Share Posted February 7, 2015 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 soUsername form: thisistheusername:thisisthepassword I have the information stored like so Usernames:Passwords Usernames:PasswordsUsernames:PasswordsUsernames:PasswordsUsernames:PasswordsUsernames:PasswordsUsernames: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! Quote Link to post Share on other sites
Bot-Factory 602 Posted February 7, 2015 Report Share Posted February 7, 2015 Would be better to store the data in CSV format. username,passwordusername,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 Quote Link to post Share on other sites
Ridge 0 Posted February 7, 2015 Author Report Share Posted February 7, 2015 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. UsernameUsernameUsernameUsernameUsernamePasswordPasswordPasswordPasswordPassword I'm lost at what to do lol Quote Link to post Share on other sites
Bot-Factory 602 Posted February 7, 2015 Report Share Posted February 7, 2015 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. UsernameUsernameUsernameUsernameUsernamePasswordPasswordPasswordPasswordPassword 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 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.