Software Testing Exercises – New Platform to Test Your Testing Skills and Share Practical Ideas

Software Testing Exercises + Contest: Read on to know more..

*Update 2: Link to our sample answers page added. Also, winners’ names announced at the end of this post.
*Update 1: just don’t read other reader’s answers in comments before posting yours :)

With excellent response for the STH posts as always, we have decided to fill this place with more fun and help.

No matter, who you are – a senior quality manager or a fresher who has just joined the software testing industry, everyone wants (or I would say, loves) to work on exercises, to keep our brain working.

With that, if you get to communicate with fellow testers and if you get a platform to share ideas too, would there be anything greater than that?

Saying that we are announcing the brand new sub-section of STH – Software Testing Exercises. The purpose of this subsection is to provide our readers with an opportunity to test their analysis capabilities and thinking power.

We are planning to publish this kind of posts once in a month to keep your brain active. I am sure you all will enjoy these exercises.

test your software testing skills

OK, I will not take long to introduce you to your first software testing exercise.

So, here is the first ever kind of Software Testing Exercise. Grab a cup of coffee and get ready to participate, communicate and share. You need to leave your answers in a comment box and we will store them for future references for anyone.

Contest: To make this exercise even more exciting, we are giving away 3 copies of our premium eBook “Software Testing Career Package” FREE for those who will complete all exercises with maximum correct answers. :)

Exercise #1: Finding defects

As a software tester, what do you do? Of course, testing the software, you would say………Okay, can you find out defects on the page shown below?

testing Exercise 1

Here is how you can judge yourself:

If you find:
0 – 4 defects => Poor
5 – 6 defects => Average
7 – 8 defects => Good
9 – 10 defects => Excellent
10+ defects => Best tester!

(Mind well, you are the judge and you need to count on valid defects)

Here is one example defect as a hint:

– Confirm password field does not show content in encrypted mode.

List all other in comments below.

Exercise #2: Writing test scenarios

We do not only test, we develop test scenarios too. There is a real-life scenario and you need to write test ideas for the same.

Again, we do not want step-by-step procedure; we want ideas with a brief description.

Write test ideas for this Scenario: You are at Grocery store’s checkout counter. You have bought five items (x, y, z, a, and b). You make payment and move to the EXIT door.

Example Test ideas as a hint:

  1. If the checkout counter is humanless, scan all the five items, scan your card and make payment.
  2. The scanners should scan proper relevant information.

List all possible test scenarios in comments below. You can also refer this sample web application test scenarios article as well.

Exercise #3: Defect reporting

As a tester, the best part of the job is to report defects. We would like to know how you would report the following defect (you can decide upon the fields you want to include while reporting the defect in the best way).

Write detailed defect report for this sample defect: After logging into Gmail, it navigates to Google.com

No hint here. :) Just write a good and complete defect report. If you need help check this post for a sample defect report and this post on how to write a good defect report.

Exercise #4: Providing suggestions

Providing suggestion to improve quality or user experience is the extension of software testing job. So why not try that? Can you tell us how user experience can be improved for the following sign in page?

testing Exercise 2

Here is an example suggestion as a hint:

– Rather than asking the customer to select whether he is a new customer, the system should check the status of the customer based on e-mail address or User ID he had provided.

Over to you:

I think that is it for the day. We are waiting for your answers and responses for our new little venture.

Your turn: Just put your answers for each exercise in comments below.

Our answers: In this post, we have provided one hint answer for each exercise. We will also provide a list of all possible answers for these exercises on this weekend. We will update this post with a link to the answers page.

Contest winners: Remember we will be also selecting 3 commentators with the best answers as winners for our premium software testing career package eBook giveaway.

Till then, Happy Testing and Happy Brain Exercising. :)

Thanks to STH team member Bhumika Mehta for helping us to create this awesome testing exercise for you!

*************************************

UPDATE:

Sample answers to these exercises:

The answers provided by readers in comments are all awesome and will be helpful to everyone. We have also added some more sample answers to all 4 exercises.

=> Click here to see the sample answers to exercises #1.

*************************************

Contest winners:

It took us few hours to go through all these comments as all are quite extensive and interesting. You have many new things to learn and most importantly new ideas for testing. Selecting 3 winners was a really challenging task. Still to name we have selected following winners:

The winners:
1) Saiful (Comment #9)
2) Tonya Cole (Comment #40)
3) Dinesh (Comment #81)

If you are one of the winners, you will get an email from us soon with the premium eBook copy.
Congratulations all the winners and readers who participated in this contest. We hope all our readers will learn many new practical testing skills and get ideas from these exercises.

All the best
Vijay and Bhumika


108 thoughts on “Software Testing Exercises – New Platform to Test Your Testing Skills and Share Practical Ideas”

  1. Exercise -1

    1.New registration label is not visible properly ,check the spelling of word “REGISTRATION”
    2.name text field should not contain digits
    3.captcha image is not visible properly
    4.enter user id and enter password is not required
    5.password inner text is over lapping with border of the text field
    6.background color is different
    7.mandatory symbols should be displayed
    8.Error messages should be displayed in RED colour
    9.text fields inner text or tool tip text should be displayed
    10.Register button is not proper (“r” should be changed as “R”)
    11.Gaps between the text fields should be same
    12.Confirm password should be displayed in encrypted format

  2. -Exercises:1 Finding defects

    1) In header part of form Colors should be proper(Bule background and Blue font color is not seems good)
    2) Spell mistake should not be there in word ‘Registration’ in header part.
    3) Lable ‘Choose User Id should not be there(As there is no dropdownlist)
    4) If User ID is mandatory then “Enter User ID”(validation message) lable should be in Red font and it should be display once focus comes to next text box.
    5)Same for Password field.
    6)Conform password field values should be encrypted(With required field validation message)
    7)For name there should be validation message for Alphabets values only.
    8)Captch image quality(Style) should be good.
    9)There should be option for Refresh captcha.
    10)Help message for Captch input should be proper.
    11)”Register” Button should be on proper place.
    12)Label message for button should be visibel properly.

    -Exercises:2 Test scenarios

    1)Verify that check out counter is with human
    2)Verify that each product has barcode label.
    3)Verify thet Barcode reader reads valid values of produce.
    4)Verify that software calculates valid total of all selected product values.
    5)Verify that user has Valid bank Debit card.
    6)Verify that user should have minimum balance equal to total amount of all choosen product.
    7)Verify that user has entered valid password otherwise there should be valid worning message.
    8)Verify that Paymet system not publish any confidential information about user.
    9)Verify that Payment system should collect only requested amount(equal to total amount of all 5 products).

    -Exercises:3 Bug Reporting

    Bug Id: 01

    Objective : After logged in to Gmail user should be redirect to Inbox page of Gmail.

    Version: 1.0

    Severity : Critical

    Priority : High

    Steps to reproduce:

    1. Open URL http://www.gmail.com
    2. Click on Sign In link
    3. Enter your email and password.
    4. Click on the ‘Sign in’ button
    5. It is redirected to Google.com (instead of gmail)

    Attachment:Bug_ Screen1.png

    Status : OPEN

    Date Reported : 08/27/2014

    Reported By : RJP

    Assigned To : JTA

    -Exercises:4 : Suggestions

    1)Instead of “My e-mail address is” lable it should be like simply “Email”
    2)Instead of two different radio button for two different types of users(with password and With no password)
    3)There should be one email address field
    4)There should be one password field.
    5)There should be one link for new members which will redirect on new registration page
    6)After logged in to Gmail user should be redirect to Inbox page of Gmail.utton text should be simple “Sign in”
    7)There should be anothe button to cancle action(“CANCLE” button)
    8)No any Lable is requird like “What is your email address?”.

  3. Exc#3:
    Defect ID: 0454
    Subject: Page navigation issues once login into the System.
    Description: Enter Correct UN – PWN > Click on the Sign In Button > Wait for the process > It should redirect to the Gmail Page instead of the Google Home Page.
    Severity: High, Priority: High
    Screen: Login.jpg
    Assign: Admin Dev.
    Type of Bug: Functional

  4. Exersice #1:

    1) spelling mistake in “new registration”
    2) choose user_id and enter user_id both are at same time is of no use.they should be provided as diffrent diffrent options.user will choose user_id automatically or enter user_id manually.
    3)enter password label should be removed as there is said “password”already written.
    4)there should be an sign of require fileds (like email and password)
    5) there should be an condition for choosing the password like( one latter capital,one small later,one special character)
    6)name should not contain any blank character and numbers.
    7)confirm password filed should show encrypted password.
    8)there is “r” already presented in captcha field.
    9)captcha field should have refresh(new captcha) option.
    10)spelling mistake in register button.
    11)register button should be place bellow captcha field and not beside it. also it should be attractive for the user.
    12) there should be an option of accept t&c.

    Exercise 2#

    1)check weather the all items are scanned perfectly or not.(name,price,weight,item id should be shown on scan)
    2)if there is any promotional price for particular item than it should be reflected on counting of final price.
    3)at payment page the amount should be debited correctly and if not than the refund should be given asap.
    4) fraud payment or phishing activity should be ban.
    5) all the items should be received bu the receiver along with bill.

    Exercise #3

    Defect Id: 1

    Description : After logging into Gmail, it navigates to Google.com

    Date Identified : 12 -dec-2017

    Severity : Critical

    Priority : High

    Reproducible : Yes

    Steps : 1. Enter gmail.com in the browser
    2. Enter your credentials
    3. Click on the ‘Sign in’ button
    4. Google.com page will be dispalyed

    Status : Open

    Identified By : XXXX

    Assigned to :YYY

    Exercise #4

    1) text label for “what is your e-mail id?” and “do you have password?” should be removed and it should simple as placeholder as email_id and password.

    2)there should an option of signup along with an option of login via google.

    3) text in “sign in with secure server should be as simple as sign in”.

    4) text in forgotten password should be simple as “forget password?”.

    hiiii i am new to the testing as fresher if you have any suggesion pls reply this comment. and if you like my answer than appriciate me.

    jay hind!

  5. Hi STH,

    I don’t necessarily agree with what you determine as defects for the first exercise.

    For example with the User ID field what if someone has a name like Charné shouldn’t they be allowed to include that special character in that field?

    It’s not that Registration is spelt incorrectly, it’s more likely that the cell width and height are an issue as the “g” is cut off at the bottom end and the “n” is missing.

    The country field could’ve been selected by the user before the screen shot is taken so it’s unknown if India is the default value or not. What I will say though is that the country field background is different from the other entry fields making it look like it cannot be changed.

    The register button being out of place is not necessarily a defect but rather a suggested improvement in UI layout, it would be a defect if it did not work though.

    As for defects or improvements that was missed I can think of a few.

    1) “Choose” in the User Id field might indicate that the user chooses their Id from a number of options which doesn’t seem likely. More appropriate to say Enter User Id.

    2) Choose User “Id”. There’s a change in how Id is presented from one side of the field to the other (Choose User “Id” and Enter User “ID”).

    3) On the Confirm Password field you don’t have a note saying “Enter Password again” or “Re-enter Password” like in the first two fields, it’s an inconsistency in the design.

    4) In your how you can judge yourself you say Best tester! for 10+ defects which is again inconsistent with the other fields, my suggestion is to show “Best!”.

    5) Where is the mouse pointer?

    6) Verification field is not labeled it’s just given an explanation that could be placed at the bottom of the field or next to it keeping in line with the other fields.

    As for the other defects that you have listed I agree completely.

    As for exercise 2 there are a number of scenarios that have been missed.

    1) Does the teller have plastic bags to allow you to carry your items and are they in good condition?

    2) If the customer left his wallet at home or does not have enough cash to pay for the items can he leave the items at the counter? Does the counter have sufficient space to accommodate for the items left behind?

    3) In certain countries these tellers have buzzers to indicate to supervisors that the cashier may need assistance, is this provided for?

    4) If one of the items was on sale does the system scan the sale price or the original price?

    Next on exercise number 4

    1) Why is there, what appears to be, a play button in the sign in field I would suggest removing it.

    2) All other text in the form is in bold writing, I would suggest then that Sign In should also be in bold.

    3) No password and email guidelines like what was said to be a defect in Exercise 1.

    4) Mouse pointer missing here as well.

    5)Sign In page title and Sign in button should follow the same text format.

    6) If a close button should be provided then I suggest a minimize and maximize button should also be provided for.

    Oh yes while I’m here, the comment field thinks that I’ve spelt the word “spelt” incorrectly (quite ironic isn’t it?). Also while typing the comments out the writing appears to be red and in bold. Suggest to follow the same format as that what is posted in the comments as the color red in general does strain eyes more than black.

  6. Hi,

    Exercise 1 :

    1. For the first field, the field name must be Enter User ID, instead of Choose User ID.

    2. For the Second field, the field name must be Enter Password, instead of only Password.

    3. Confirm Password field, the password entered in Encrypted Format. –Showstopper Issue.

    4. Name filed, must accept only 1 Name, instead of 2 Names.

    5. Name Field, must accept only Alphabets.

    6. Country drop down, in place holder, it must be Select Country.

    7. In verification field, user has entered alphabet ” r” in the field, as it clearly mentioned to enter verification number.

    8. Register button, is so small & not properly displayed. —UI ISSUE.

    9. Heading Name , New Registration word is misspelled.

    10. captcha image is not visible properly

    11. mandatory symbols should be displayed with asterisk symbol.

    12. ”Register” Button should be on proper place.

    Excercise 2 :

    1)Verify that check out counter is with human
    2)Verify that each product has bar code label.
    3)Verify the Bar code reader reads valid values of produce.
    4)Verify that software calculates valid total of all selected product values.
    5)Verify that user has Valid bank Debit card.
    6)Verify that user should have minimum balance equal to total amount of all chosen product.
    7)Verify that user has entered valid password otherwise there should be valid warning message.
    8)Verify that Payment system not publish any confidential information about user.
    9)Verify that Payment system should collect only requested amount(equal to total amount of all 5 products)

    Exercise 3 :

    Bug Name: Gmail Application when logging into Gmail Application, is navigating to Google.com
    Bug ID: 123
    Area Path: Gmail > Login
    Build Number: Version Number 2
    Severity: HIGH
    Priority: HIGH
    Assigned to: Developer-X
    Reported By: Prasanna Kumari S
    Reported On: 09-10-2018
    Excepted Date : 11-10-2018
    Reason: Defect
    Status: New/Open/Active (Depends on the Tool you are using)
    Environment: Windows 2003/SQL Server 2005

    Description:
    Application when logging into Gmail Application, is navigating to Google.com

    Steps To Reproduce:
    1) Enter URL as http://www.gmail.com (in Mozilla Firefox/Chrome)
    2) Click on Login button
    3) Enter valid login credentials username and password
    4) Click on ‘Next’ Button
    5) It is automatically navigated to google.com page

    Expected result: On clicking NEXT button, user should be navigated to Inbox page of Gmail

    Exercise 4 :

    1)Instead of “My e-mail address is” label it should be like simply “Enter your email”
    2)Instead of two different radio button for two different types of users(with password and With no password)
    3)There should be one email address field
    4)There should be one password field.
    5)There should be one link for new members which will redirect on new registration page
    6)After logged in to Gmail user should be redirect to Inbox page of Gmail.utton text should be simple “Sign in”
    7)There should be anothe button to cancle action(“CANCLE” button)
    8)No any Lable is requird like “What is your email address?”.

  7. Test cases for exercise #1
    1. Header’s color should be same throughout.
    2. spelling mistake in header / header not clearly visible.
    3. Create a username, create a password label can be shown inside the respective editor itself.
    4. special character should not be allowed in user id. _ is overlapping with editor border in user id field.
    5. password not properly fitting in editor.
    6. confirm password is not encrypted.
    7. number and decimal are allowed in name.
    8. email id.. (help message can be improved). Background is not white.. editor is not proper.
    9. captcha is not clearly visible.. Edit box for captcha should be blank by default.
    10. Grammatical error in help message.
    11. Asterisk to indicate mandatory field is missing but looks like all fields are mandatory.
    12. register button should come at the end.. should appear distinctly.
    13 Lots of white space.
    14 All editors can be of same size.

Leave a Comment