cjacobs 2 Posted September 25, 2017 Report Share Posted September 25, 2017 Is there a way to complete unknown form fields (text/Dropdowns/Checkboxes)?I.E.When registering accounts:The general platform asks: username, emailOccasionally you other sites asks additional questions that are required.Is there a way to enter dummy text to get through the process? Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 25, 2017 Report Share Posted September 25, 2017 Can you do it manually?If not then NO. Regards,CD Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 25, 2017 Report Share Posted September 25, 2017 Sure, here is a brief example where we scrape all the textboxes on the page (to count them) and then fill them with random info (using an offset). Of course to make this good you would need to add more than just textboxes and see if they are already filled in as well so you don't overwrite your data but this is a start: navigate("https://ubotstudio.com/site/playground-difficult-form/","Wait") wait(2) if($exists(<name="baltimore-no">)) { then { click(<name="baltimore-no">,"Left Click","No") } else { } } clear list(%textboxes) add list to list(%textboxes,$scrape attribute(<(type="text" AND tagname="input")>,"outerhtml"),"Don\'t Delete","Global") set(#offset,0,"Global") loop($list total(%textboxes)) { type text(<type="text">,$random text(10),"Standard") increment(#offset) } 1 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.