I recently read a presentation on exploratory testing by +Elisabeth Hendrickson on exploratory testing, and it came with an interesting solution to Exploratory Testing, one that offers enough guidance, but isn't a test case. The slides are available here.
I'll take the pieces that I strongly agree with, and discuss them here.
Firstly, defining what exploratory testing is. This is very important, I believe that a number of people view exploratory testing as just randomly using the application under test and trying to break it in any manner possible when in actual fact it should be much more than that, in order to actually be useful. It should be:
I first read about Chartered exploratory tests in the slides that I have linked to above, I really liked the idea behind them, and to me they really make sense as an effective and time efficient manner in testing a system.
To summarise (for those who haven't read the slides above), a chartered exploratory test is made up of the following:
Explore - this is what is being explored under test
With - This is what is going to be used to test the item that is being explored
To Discover - What it is that the test is attempting to find out about the item under test
And now, for an example, we have a PBI that has come in, that means a change to the jQuery library. Each page of the website requires retesting. So for example, the product page (it's the asos website that's under test):
Explore the Product Picture widget on the Product Page with the error console open
With general usage
To discover any java-script errors are displayed
Explore the Add To Bag and Save For Later functionality on the Product Page with the error console open
With different combinations of Size/colour
To discover any java-script errors are displayed
Explore the recommendations functionality on the Product Page with the error console open
With general usage
To discover any java-script errors are displayed
I'm sure you can immediately see the benefits of this, as opposed to just:
Exploratory testing of the product page.
As the tester knows that they have to interact with the widgets with the error console open, otherwise the widgets might behave to the user as they should, but be throwing javascript errors in the background, which the error console will log, and which might have been missed if there was no charter.
This gives the user enough guidance, to generally use the product page, things like those that are highlighted below:
So things like Add To Bag, The Search, Any scroll that uses Javascript, The pictures and the Zoom functionality.
I would feel pretty confident that exploratory testing that is completed using the above charter would catch any Javascript Error that might be hiding in the page.
This, I think you'll agree is far quicker, and more efficient than writing a manual test that tests all of the above.
In designing Charters for Exploratory Testing, you still need to sit down with developers and come up with what the changes are, anything that is likely to break, and then think outside that box in order to come up with a targeted, structured and well defined charter.
I do however think that a new tester could come in and immediately pick up the charters and do their testing around them, with little background knowledge.
I'll take the pieces that I strongly agree with, and discuss them here.
Firstly, defining what exploratory testing is. This is very important, I believe that a number of people view exploratory testing as just randomly using the application under test and trying to break it in any manner possible when in actual fact it should be much more than that, in order to actually be useful. It should be:
- Targeted
- Structured
- Well defined
I first read about Chartered exploratory tests in the slides that I have linked to above, I really liked the idea behind them, and to me they really make sense as an effective and time efficient manner in testing a system.
To summarise (for those who haven't read the slides above), a chartered exploratory test is made up of the following:
Explore - this is what is being explored under test
With - This is what is going to be used to test the item that is being explored
To Discover - What it is that the test is attempting to find out about the item under test
And now, for an example, we have a PBI that has come in, that means a change to the jQuery library. Each page of the website requires retesting. So for example, the product page (it's the asos website that's under test):
Explore the Product Picture widget on the Product Page with the error console open
With general usage
To discover any java-script errors are displayed
Explore the Add To Bag and Save For Later functionality on the Product Page with the error console open
With different combinations of Size/colour
To discover any java-script errors are displayed
Explore the recommendations functionality on the Product Page with the error console open
With general usage
To discover any java-script errors are displayed
I'm sure you can immediately see the benefits of this, as opposed to just:
Exploratory testing of the product page.
As the tester knows that they have to interact with the widgets with the error console open, otherwise the widgets might behave to the user as they should, but be throwing javascript errors in the background, which the error console will log, and which might have been missed if there was no charter.
This gives the user enough guidance, to generally use the product page, things like those that are highlighted below:
So things like Add To Bag, The Search, Any scroll that uses Javascript, The pictures and the Zoom functionality.
I would feel pretty confident that exploratory testing that is completed using the above charter would catch any Javascript Error that might be hiding in the page.
This, I think you'll agree is far quicker, and more efficient than writing a manual test that tests all of the above.
In designing Charters for Exploratory Testing, you still need to sit down with developers and come up with what the changes are, anything that is likely to break, and then think outside that box in order to come up with a targeted, structured and well defined charter.
I do however think that a new tester could come in and immediately pick up the charters and do their testing around them, with little background knowledge.
Is there a easy way of documenting these kind of exploratory tests on the fly? and possibly include them in test case documents. I am guessing the answer is use specflow, but that could mean overkill because usually these tests are done quickly one after another. Any thoughts?
ReplyDeleteI would suggest just create them as normal test cases in whatever Test Case Management tool you use (i'm using Microsoft Test Manager currently). This makes it easy to pass/fail the test, and raise bugs against the test case, obviously if you raise a bug it's important to put the steps to recreate in the bug, as the test case itself wouldn't specify exactly what is needed to recreate the bug.
DeleteOk. I have not used any sort of test management tool before at all. I Still write test cases in excel sheets. Can you write a post in the future explaining benefits of using one? :)
DeleteSounds like a very good idea! I'll let you know when it's done!
DeleteAfter reading thru your post on "value of certifications" I enjoyed reading this article. I have been practicing exploratory testing for about 5 years now and I would definitely recommend it to any tester.
ReplyDeleteI like the way your have developed your charters. Did you then time box your testing session? Also did you capture notes, bugs, observations when testing in your session sheet? If not I would definitely recommend you to do so.
To be honest, this was only used as an example, but yes, it would have been good to timebox the session and like you say, capture notes, bugs etc too :)
DeleteHi Sharath ! I’m not much familiar with ‘Exploratory Testing’ methodology, interested to learn its approach. Please help me out to understand “time box of testing session”, capture notes etc
Delete