Categories
- Automation (4)
- Silk Performer (1)
- Test Complete (2)
- Code Sample (12)
- 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
Tag Archives: Array(
WordPress 3.0 and add_action
It seems as though, with WordPress 3.0, the add_action function (in some cases) has become a little more strict. Tag Grouping has a call to save_post that worked perfectly in WordPress 2.9 and up but broke completely once WordPress 3.0 … Continue reading
Posted in HTML, MS-SQL, MySQL, PHP, Tag Group Plug-in, Wordpress
Leave a comment
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
Leave a comment