Sanjeev 46 Posted July 26, 2013 Report Share Posted July 26, 2013 Every time we create and run a bot there are a list of variables which can mess things up -slow internet connectionsometimes the system memory or cpu resources may be low - used up -due to various reasons -ubot processes/other stuff running at the same timeThis might slow down the response time of the web page or the OS...?In such a scenario - would it be a good idea to incorporate a "wait for 'milliseconds" between every web page and file folder operations ?I am really interested in knowing what you guys have to say about this. Thanks. Quote Link to post Share on other sites
Sanjeev 46 Posted July 26, 2013 Author Report Share Posted July 26, 2013 Thanks.. but But I guess I should have been more specific.. What about changing form fields and drop downs, etc.Suppose there are a bunch of such form based stuff which need to be done one after the other-would a pause between each be advisable..?Especially if the bot being crated is for sale...? And in case of file folder operations should I add a few milliseconds of wait to the the bot after a save/rename/copy/move Operation..? Quote Link to post Share on other sites
Sanjeev 46 Posted July 26, 2013 Author Report Share Posted July 26, 2013 Thanks a lot for your answer! Could you please give me some code for the following ..? So I could understand better..? Yes you can use the wait for element command after you change the drop down and select the div you need to wait for the content to load. Thanks. Quote Link to post Share on other sites
Sanjeev 46 Posted July 26, 2013 Author Report Share Posted July 26, 2013 Do you mean something like this -? wait for element(<first name field>, "", "Appear") That means in case of a slow loading web page - Ubot would wait for this element to load -i.e appear? Thanks. Quote Link to post Share on other sites
nuc63 27 Posted July 26, 2013 Report Share Posted July 26, 2013 Do you mean something like this -? wait for element(<first name field>, "30", "Appear") That means in case of a slow loading web page - Ubot would wait for this element to load -i.e appear? Thanks.Yes make sure you add a timeout or ubot will wait forever. Click advanced and it will be there. Quote Link to post Share on other sites
Sanjeev 46 Posted July 26, 2013 Author Report Share Posted July 26, 2013 Thanks! 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.