Wednesday, 6 March 2013

What does a technical exploratory test session look like?

As part of "Technical Web Testing 101" I wanted to provide an example of what an exploratory test session with additional "Technical" focus might look like, at the same time demonstrating some of the capabilities of modern browsers whilst comparing them to proxy servers. Phew, a bit of a mouthful, and you can see the resulting video below.
I uploaded the video to Youtube, as well as it forming part of the course, because I think it has interesting elements that can stand alone. And I don't see many examples of exploratory testing on the web. I wanted to try and provide an example of 'doing' exploratory testing, and the type of notes I took.
As testers we can provide harsh criticism but I won't let that stop me sharing. If you don't think this provides a good example then I encourage you to share your own. I do welcome constructive comments and critique.
I'm getting better at thinking aloud as I test, so my verbal narration actually makes sense in this video.

A few things I want to point out.
  • I try to explain the thought processes and decisions I'm making
  • You can hear me verbally describe risks that I want to investigate
  • You see me spin off track a little to investigate some 'interesting' ideas and then get back on track
  • Modern browsers have a lot of impressive functionality built in that we used to have to use proxy servers to achieve the same effect
  • I'm "Tool Augmented" not "Tool Driven" so the tool helps me do what I identify I want to do, not what the tool allows me to do
  • I'm testing http://google-gruyere.appspot.com/
  • I'm using the "Edit This Cookie" chrome plugin 
  • I did this as two sessions. The first was to get my bearings - and I made notes during it, which you can read below. The second was to record the video. The second session was slightly different as you can see if you compare the video with the notes, which shows that even when we repeat sessions, we learn additional things and do the testing differently.




Regarding the notes
  • This was an informal session so I didn't timestamp anything - which I would do if I was testing on site professionally.
  • The notes were mainly to guide me in replay so aren't formatted with any annotations e.g. @Bug or headings
And here are the notes in all their glory. I used Evernote as my note taking repository.

Testing with Gruyere with Google Chrome
Create a new account
"bob" "bob"
I can see the new account is created with a "GET"?!?
http://google-gruyere.appspot.com/804259209683/saveprofile?action=new&uid=bob&pw=bob&is_author=True
perhaps I can use different actions?
Perhaps I can amend? and change password?
Perhaps is_author has other alternatives
e.g. is_admin?
Having created an account - check storage
And I have a cookie - have I logged in automatically? I have I'd like to amend the cookie and check if the name can allow me to login as someone else, or the permission field can change - but I can't do that out of the box with Chrome
Technique - means I have to look for a tool to do that - fortunately I already have one installed, but if I didn't - this would prompt me to do so.
Try changing the cookie value to admin, refresh, and I no longer appear to be logged in
Perhaps that is a key? to the ID?
Repeat the get request and see what happens
http://google-gruyere.appspot.com/804259209683/saveprofile?action=new&uid=bob&pw=bob&is_author=True
User already exists - ok fine.
Try and use the url for different actions e.g. "amend" gives me an invalid action
Let's see what profile does
I'll inspect the form and I can see an update value and it is a get request again
So instead of "amend" try "update" in the url
incorrect password? But it is the same one?
Ah - perhaps it is looking for the validation password as seen in the profile update form
for update it probably needs oldpw as well
If I take out pw then what happens? request accepted
but presumeably didn't update anything
what about the is_admin risk?
hmm nothing seemed to happen, - what if I logout and login again?
Woohoo admin


4 comments:

  1. Hello Alan,
    I am from India and was checking if I could purchase your book "Selenium Simplified", however I didn't find it at any online portal in India. Could you please let me know if your book is available in India?

    Regards,
    Ajay

    ReplyDelete
    Replies
    1. Hi Ajay, I haven't found a publisher in India that made it economically viable for me to publish directly. It might be cheapest to buy the book as an ebook from http://www.compendiumdev.co.uk/selenium

      Delete
  2. Hi Alan,

    Thanks for this post, I enjoyed watching it a lot.

    It is a great example of exploratory testing.

    You are correct saying that there are not too many similar examples of exploratory testing on the web.

    The only 2 other examples that I was able to find are these:

    - exploratory testing for a simple web application:
    http://www.viddler.com/v/f0a804ce

    - exploratory testing of the installation process of an antivirus:
    http://www.viddler.com/v/4a42e82b

    They are taken from Pradeep Soundararajan, author of the Tester Tested blog.

    Alex

    ReplyDelete
    Replies
    1. Thanks for the additional links Alex.

      Delete