Categories
- Automation (4)
- Silk Performer (1)
- Test Complete (2)
- Code Sample (13)
- Installshield (1)
- Interview Questions (2)
- LinkMyPosts (1)
- Tag Group Plug-in (7)
- Team Foundation Server (1)
- Uncategorized (3)
- Virtualization (1)
- VMWare (1)
- Visual Build Professional (1)
- Wordpress (9)
- Automation (4)
Blogroll
Archives
Donate
Meta
Category Archives: Automation
Recursive Link Checker (or Web Crawler)
At a previous company where I worked in QA, there was a need to quickly identify problems with deployments and page changes. The department only had 2 people in it, myself and someone else so doing this quickly ate up alot of our time and also left unknown gaps that would be missed. Since we had SilkTest and Silk Performer, I developed a small script that would recursively loop through each link in our site. Ths script does this by looking at the raw HTML and finding all of the links present on the page. It loads up an array and starts at link 1 by clicking it. It finds all the links on that page and adds them to the array and so forth.
I simply provided it with a starting point and excluded some links (such as loging the user out) from the test and away it went. The script will log each link it visits along with the Page Title on a successful hit. It will also log any errors it encounters along with the link it attempting to visit. Very simple and this script still yields results for every release. Continue reading
Posted in Silk Performer
2 Comments