Trap for errors
I am trying to make a sikuli script that will automate some jobs that i have on internet like adding my url on various web sites.
So i have list of urls that i must visit to add a site to add url.
For example:
http://
http://
http://
....
So, script must vistit each site and perform actions to add url.
That is not a problem, that is simple to do.
But what if script somewere encounters some problem on one web site and can not continue to next web site in list, like web site temporarely is offline, or the site is too slow becouse ISP have some technical problems?
The script just stopes. That is the problem. If i have list of cca 100 urls and script run on some problem with site number 46 in list then it just stopes. Can there be some solution to this. Like error trap that would go to next url in list not just stop if it encounter some problem and maybe write that url in some txt file or something.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: