2

Bookmarklets for a Web-Tester

Posted by admin on Feb 12, 2009 in code, productivity, Testing, tools
Code

Code

In this post I want to give people a nice heads up to some of the tools I use in my daily role.

These are bookmarklets which is just another word for bookmarks which contain javascript.

I use these with firefox although IE and Opera should also fine fine for them also. In Firefox just add them to the bookmark toolbar and you’ll have them at your fingertips.

Zap Cookies! This will clear out any stored cookies for the current page/site

Edit Cookies! This will allow you to edit and stored cookies for the current page/site

View Cookies! This does exactly what it states, it allows you to view and stored cookies for the current page/site

Edit Page

Allows you to edit any page you use this on. All changes are temporary of course and only visible to you.  (will you ever trust a web page screen shot again?). Not yet sure how this fits into the testing arena, however I though I would include it as someone may make decent use out of it.

Find Redirects! This should list any redirects for the current page, however its currently a tiny bit hit and miss and is does not work 100% of the time, it should however suffice for now and I’ll most likely have to rewrite this at some point in the near future.

remove redirects Lets see what happens if we now remove those redirects we just found using the above Bookmarklet.

Wikipedia lookup This allows you to select any text on a page and once clicked it will lookup that text on Wikipedia

Yahoo site search This allows you to select any text on a page and once clicked it will search on Yahoo for more links from that domain with the same text.

Alexa This will carry out a search at Alexa for the domain you were on when you clicked this bookmarklet.

MSN IP Search Firstly I should thank Robert Hansen (RSnake) for this one. Once clicked it will carry out an IP search which can help you detect a wider network for your testing.

numbered list One of my favourites this one. It allows you to make a nice numbered list of all parameters on the page which contain numbers.

show hiddens This and Zap Cookies are my most used Bookmarklets. this one will display all hidden fields on a webpage and also allow you to edit them.

remove maxlength This will remove all the max lenghts from all input fields (think buffer overflows and code boundary issues)

undisable Who says you can’t click that button :-) . This Bookmarklet will enable any disabled objects on the page.

up This will take you up one directory level in the site structure

top This will take you to the top of the domain.

decrement If your URL ends in a number it will reduce it by one every click

increment As above but the opposite

check images This will check the current page for broken images.

view variables This will list all variable types found on the page. This is more for Developers than testers however its still a useful one to have.

view scripts Like above however it will list all scripts what can be called on the current page.

zap images This should clear all of the images from the page. Works about 98% of the time. This script may need a little tweaking if I ever get the time.

full urls as link text Very useful if you want to see where a link is pointing to.

Enjoy

Martin H

Tags: , , ,

Copyright © 2012 The Test Manager Blog All rights reserved. Theme by Laptop Geek.