ugakebet 4 Posted July 14, 2011 Report Share Posted July 14, 2011 I am trying to create a bot to create user accounts on article directories, but im doing it a different way. as you can see from the pic, it goes through the sequence for whether that particular textbox name exists or not. the problem is that when the first textbox is not found, ubot throws an errow saying that no elements have been selected. How can I get rid of the error Quote Link to post Share on other sites
Pete 121 Posted July 14, 2011 Report Share Posted July 14, 2011 file > preferences > uncheck Show Errors Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 14, 2011 Report Share Posted July 14, 2011 as well properly code it. if (search page for item)than (choose attribute and do something)else (do nothing) with error reporting on Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 14, 2011 Report Share Posted July 14, 2011 I also have a feeling that your navigating and attempting to insert the variables before the page is loaded entirely. place a delay rand(1,3) before the inserting of the variables. Quote Link to post Share on other sites
ugakebet 4 Posted July 14, 2011 Author Report Share Posted July 14, 2011 i shall try the preferences thing, the if statement wont do much good as then i have to specific code it for each and every node on different article sites Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 14, 2011 Report Share Posted July 14, 2011 i shall try the preferences thing, the if statement wont do much good as then i have to specific code it for each and every node on different article sites if you put a blanket over a turd. there is still a turd under it yes?if you shut error notifications off. The error is still there. Better to code things properly from the get go. If it is showing the error its because it cant not find the area your filling with information.Meaning in your sites your trying to do this it wont work anyways. FirstlyMost easy fix for your problem is ad a delay before the fill item and give the page time to fully load. Secondly Make a Sub with the fill fields and have each one in a if statement and run the sub after navigating to the site. Then you don't have to code 100s of if statements and fill fields TJ Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted July 14, 2011 Report Share Posted July 14, 2011 Use the search page qualifier instead of fill forms. 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.