skipper 0 Posted October 23, 2014 Report Share Posted October 23, 2014 When I attempt to reset the username on Multi Threading its not working. When I run Multi Threading it repeats the same email for each thread is there away to make it use a unique email for each thread. Here is my code below. ui drop down("Thread Count", "2,3,4,5,6,7,8,9,10", #num threads)ui text box("Number of accounts", #number accounts)set(#num created, 0, "Global")set(#used threads, 0, "Global")loop(#number accounts) { loop while($comparison(#used threads, ">=", #num threads)) { wait(1) } loop process()}define loop process { increment(#used threads) increment(#num created) registration procedure()}define registration procedure { thread { in new browser { registration code here() decrement(#used threads) } }}define registration code here { if($comparison(#num created, "<=", #number accounts)) { then { set(#Email, $account data("Email"), "Global")navigate("https://www.ticketmaster.com/member/?tm_link=mytm_CreateAccount&v=larZ7VUmI-cl73qzCtfWZMWFcAaMwTFohjIVvCpaETo4d2ODYBeVd0pDWTeVXBEzMwiK7sn52j_vA1qFOJyNEB1fkvyAfd-Z2O38Ur2dvrme8VYUrO1LDYoUAZZo9XcTWwr_3RYp6f2DQ7kBP5xTZ9EMbmk4El_IkPmnTPR3kJ6Ncbqa6LaRVRlbxSBfXu_C9JpPtSvJqbysz8OvRygTLK3RvhNLpI4PC7IOg2XoI9lFckKtqguxVDlHnW8Argo4pC_7K4RdM3AmYPQlHCnBXjmwE8XyELXmrBCO_DgFEiW_O_qneMtK-mQLO3oq7uk6044_G94UuU2QwHaQqk5oFoXconWm_Vw3VYL-PD43UZeRxUlsc5Tw-I8ly6jYHwCg1toZg_T-OrgQp5AZojPaN8jbWOo72z6xvP5NWOxhQMIoGRVUDImDaXXUVuZnRSW1G0MMZ63IToDmf1jHaPrEnB_03TPePEWtVEB77NC0q0Ecbc1-Y9CF5NjOXJERNVL052fsA6ZtAZ9jToxfeyZNPfwYbB6Bcg", "Wait")type text(<first name field>, $account data("First Name"), "Standard")type text(<last name field>, $account data("Last Name"), "Standard")type text($element offset(<email field>, 0), #Email, "Standard")type text($element offset(<email field>, 1), #Email, "Standard")type text($element offset(<password field>, 0), $account data("Password"), "Standard")type text($element offset(<password field>, 1), $account data("Password"), "Standard")change dropdown(<country dropdown>, "Random")set(#Email, $account data("Email"), "Global")navigate("https://www.ticketmaster.com/member/?tm_link=mytm_CreateAccount&v=larZ7VUmI-cl73qzCtfWZMWFcAaMwTFohjIVvCpaETo4d2ODYBeVd0pDWTeVXBEzMwiK7sn52j_vA1qFOJyNEB1fkvyAfd-Z2O38Ur2dvrme8VYUrO1LDYoUAZZo9XcTWwr_3RYp6f2DQ7kBP5xTZ9EMbmk4El_IkPmnTPR3kJ6Ncbqa6LaRVRlbxSBfXu_C9JpPtSvJqbysz8OvRygTLK3RvhNLpI4PC7IOg2XoI9lFckKtqguxVDlHnW8Argo4pC_7K4RdM3AmYPQlHCnBXjmwE8XyELXmrBCO_DgFEiW_O_qneMtK-mQLO3oq7uk6044_G94UuU2QwHaQqk5oFoXconWm_Vw3VYL-PD43UZeRxUlsc5Tw-I8ly6jYHwCg1toZg_T-OrgQp5AZojPaN8jbWOo72z6xvP5NWOxhQMIoGRVUDImDaXXUVuZnRSW1G0MMZ63IToDmf1jHaPrEnB_03TPePEWtVEB77NC0q0Ecbc1-Y9CF5NjOXJERNVL052fsA6ZtAZ9jToxfeyZNPfwYbB6Bcg", "Wait")type text(<first name field>, $account data("First Name"), "Standard")type text(<last name field>, $account data("Last Name"), "Standard")type text($element offset(<email field>, 0), #Email, "Standard")type text($element offset(<email field>, 1), #Email, "Standard")type text($element offset(<password field>, 0), $account data("Password"), "Standard")type text($element offset(<password field>, 1), $account data("Password"), "Standard")change dropdown(<country dropdown>, "Random")click(<id="continue">, "Left Click", "No") } else { } }} Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 23, 2014 Report Share Posted October 23, 2014 set(#Email, $account data("Email"), "Global") change to Local stead of global in both instances set(#Email, $account data("Email"), "Local") Quote Link to post Share on other sites
skipper 0 Posted October 23, 2014 Author Report Share Posted October 23, 2014 Thanks that works... I was pulling my hair out trying to figure it out 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.