spa3212 1 Posted November 26, 2015 Report Share Posted November 26, 2015 Hi,I am trying to learn hope you will help me.. I have a list of urls which I want ubot open one by one with waiting time of 10now my questions is I am using UI open command also what I idcreated UI Open command (to specify location of my url list)created Loop - add list to list - clear list - Navigate (open list from file) I don't if am doing it right please help me step by step how can I achieve this.I want to open urls one by one.. Thanks in advance Quote Link to post Share on other sites
pash 504 Posted November 27, 2015 Report Share Posted November 27, 2015 clear list(%List1) ui open file("Text File",#TextFile) add list to list(%List1,$list from file(#TextFile),"Delete","Global") set list position(%List1,0) loop($list total(%List1)) { set(#Url,$next list item(%List1),"Global") navigate(#Url,"Wait") wait for browser event("Everything Loaded","") wait(1) comment("Do something") comment("Do something") } Quote Link to post Share on other sites
spa3212 1 Posted November 27, 2015 Author Report Share Posted November 27, 2015 Thanks this works for me Great ... Now again fall into other problem.. I completed my process.detail below clean cookienavigate some sitepick data from text file loginpick data from text file passwordGo to all urls one by one (you helped above) change ip addresswait 60sec.. But my problem is how I restart the whole process and it should pick data for user name and password from next line of next..how I set number of runs.. Thanks for you help.. Quote Link to post Share on other sites
pash 504 Posted November 27, 2015 Report Share Posted November 27, 2015 Thanks this works for me Great ... Now again fall into other problem.. I completed my process.detail below clean cookienavigate some sitepick data from text file loginpick data from text file passwordGo to all urls one by one (you helped above) change ip addresswait 60sec.. But my problem is how I restart the whole process and it should pick data for user name and password from next line of next..how I set number of runs.. Thanks for you help..use command "$list item" set(#Url,$list item(%List1,#LoopNumber),"Global")#LoopNumber = 1,2,3 or other Quote Link to post Share on other sites
spa3212 1 Posted November 27, 2015 Author Report Share Posted November 27, 2015 ATTACHED IF WHOLE CODE I want bot complete whole process of login and restart from cleaning cookies and picking next email and password from the list.. This process cont..till all lines of email and pass are completed.. please help ..I run the code but it always pick first email and password from the list..CODE.txt 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.