Skip to content

Configure, Operate, Observe and Analyze

October 18, 10

In one of my previous post I wrote about the below Windows  OS (XP with SP2) error message. This is one of very interesting behaviors that took me few hours to crack down.

As a novice Window’s(OS) user.

Access is denied.

Ah!  I am the only user of my machine, and I am the one who created this folder, no one else has any rights to restrict me from accessing my own folder.

Make sure the disk is not full or write-protected.

What the hell! Don’t say all this nonsense. I didn’t protect it from writing. I can write whatever I want in the disk. How do I know the disk is full? How do I write-unprotect? Or an unwrite-protect ;) ?

That the file is not currently in use

No, I am not renaming any file. I am renaming a folder, what is your problem?

User annoyed and calls customer care.

Now, as an advanced computer user.

Access is denied.

Looks like the permission settings for the folder is changed, may be my wife? Son? Or Pet? Possible. Let me see the permission setting for the folder. Oh! This user has full access. Then, what is the problem?

Make sure the disk is not full or write-protected.

Nope, my drive has enough space, not write protected.

That the file is not currently in use

Files? I am renaming a folder. Let me see if the folder is kept open. Yes, so let me close and try. Still I am getting the same error.

Annoyed user might solve the problem by logging off or closing all files and folder or restarting the machine, which forces him to close all the programs kept open.

As a testers, start analyzing (Step 4 of testing Analyze, Step 1: Configure, Step 2: Operate, Step 3: Observe) the error message and follow the error message to see, to find the problem area.

Access is denied.

Does the application provide reasons to the Error? Yes it is it says

Make sure the disk is not full or write-protected.

The basic disc properties say it is either full or write-protected.

That the file is not currently in use

No, I am renaming a folder, but still let me check if the folder is  kept open? Yes.

So, let me close the folder and rename it. Even after that I am getting the same message.

Are there any files inside the folder?

Yes, there are few.

Are they open?

Yes, a word document inside that folder is kept open.

Is that causing the problem? Let me close it and try.

At last I can rename it, so “When a file inside a folder to be renamed is kept open, the user is not show with an appropriate error message” the problem summary?

I have just solved the problem but haven’t got the exact steps to reproduce.

The problem was identified without knowing the proper base step up or configuration. So let me go to base state, also let me note down or take a snap shot of the current state where the problem was first spotted, including other files\folders those kept open, processes running to name a few.

So, what is the base state? I may even restart my machine or log off or close all opened files and folders.

Step 1: Configure

Let me log off and log in. Note down the entire process running (and use some tools like Systracer that takes a snap shot of your machine)

Step 2: Operate

1.    Open the Disk Drive (Say D :\)

2.    Open the folder (Say D:\Test)

3.    Open a file inside the folder (Say D:\Test\test.doc)

4.    Use back button to get back to disk drive

5.    Try Rename the folder

Step 3: Observe

Ah! This time I am getting a proper message.

So, what could be the problem?

Let me try changing the sequence, let me do this

1.    Open the Disk Drive (Say D :\)

2.    Open the folder.(Say D:\Test)

3.    Open a file inside the folder. (Say D:\Test\test.doc)

4.    Close the folder

5.    Reopen the folder

Now the sequence of opened windows changed, now file first then the folder.

Nope! I got proper message. Tried with different types of file kept open like excel, txt files, folder within folders and also be keeping few more similar file types open in same\different folders.

With no success decide to get back to the dirty environment and try again, I opened few other windows ,files, browsers and application those were kept open when I first found this issue, and tried all the above steps, this time I noticed, I was  able to reproduce the error once in a while but not consistently. But after more than an hour I was not able to find the exact steps or pattern to reproduce it.

Then decided to quit and try later (Plunge and quit), but that one hour of exploration gave me confidence that it can be reproduced.

Few days later with lots of windows and browsers kept open I tried again to reproduce this. Initial few attempts were not successful.

When I was about to rename the folder, I noticed one of my friends pinging me in IM, so I went to the browser and replied to him, then came back to folder window to rename the folder.

Whoopee! I got error message I am looking for this time. It looks if I navigate between different windows I might be able to reproduce, but even trying that didn’t reproduce the error consistently. What next?? Trying out few other ways and finally was able to narrow down the steps to reproduce it consistently.

And, Here are the steps to reproduce.

1.    Open the Disk Drive (Say D :\)

2.    Open the folder (Say D:\Test)

3.    Open a file inside the folder  (Say D:\Test\test.doc)

4.    Use back button to get back to disk drive

5. Wait (approximately) 10 seconds

6.    Try Rename the folder

7.    Bingo!

Note to Readers:

  • Heuristics applied to solve are of James Bach’s Learning Heuristics SACKED SCOWS

Scouting Obsessively – discover the sources and tool you need
Authentic Problems – engage the mind
Cognitive Savvy – work with the rhythms of the mind
Knowledge attracts Knowledge – the more I know the easier I learn
Experimentation – make learning vivid and direct
Disposable Time – lets me try new things (I tried this in my disposable time)
Stories – are how I make sense of things
Contrasting Ideas – lead to better ideas (Skepticism, Critical thinking, Lateral thinking, Systems thinking)
Other Minds – exercise my thinking and applaud my exploits
Words and Pictures – make a home for my thoughts
Systems Thinking – helps me tame complexity

Also, Procrastination , Plunge In and quit.

  • How to reproduce is solved. Now find why this happens?
  • Never let the user to get annoyed. As a tester, analyze every behavior of your application.
  • Read How to Investigate Intermittent Problems to learn the ability and the confidence to investigate an intermittent bug.
  • “There are no accidents” –Master Oogway, Kung Fu Panda(Movie)
About these ads
16 Comments leave one →
  1. October 18, 10 11:45 PM

    Very nice example, Dhanasekar.

    — James

    P.S. When do I get to meet you? My plans to come to India keep falling apart.

    • October 19, 10 12:37 AM

      Dear James,
      Thanks for your (first) comment in my blog :-)
      I am exploring all possible options to attend CAST 2011. Hope I would meet you and other Context Driven Testers there.
      Regards,
      -Dhanasekar S

  2. Sapthagiri permalink
    October 19, 10 10:52 AM

    In short to describe my thoughts,
    Very well written, informative, insightful.

    Most occasions we tend to laze and ignore the issue/problem/bug that we come across. But every issue throws up very insightful information if we spend some time and effort to understand.

  3. October 19, 10 11:05 AM

    Good analytic thinking and nicely formatted, nice post :)

    – Selim

  4. October 19, 10 11:05 AM

    Thanks for this lovely post with pertinent examples. I learned some thing more on ET-exploratory testing, today.

    Regards,
    Shiva Mathivanan

  5. October 19, 10 2:02 PM

    A very well written and nice blog Dhanasekar. I liked the way it has been analyzed and documented :)

  6. October 20, 10 12:41 PM

    Nice report Dhanasekar!
    I have come across this message a number of times.. but never bothered to dig down and analyse …

  7. Purvee permalink
    October 22, 10 2:58 PM

    Hey, I tried to reproduce the same as per your steps mentioned but could not reproduce it.:-(
    I used win XP service pack 3.

    • October 23, 10 11:54 AM

      Purvee,
      The issue is reproducible in SP3 as well ,try again :-)
      -Dhanasekar S

  8. November 8, 11 3:41 PM

    Hi Dhanasekar,

    Nice work , But i found one error or bug or defect or Typo whatever you can call it.

    Name/Header of the post is “COOA” but in right hand sidebar link is named as “COOD” … ;)

    • November 8, 11 3:47 PM

      Hi LightningSky,
      Thanks for pointing out, fixed and deployed. Please retest and let me know if this bug can be closed. :)

  9. November 8, 11 4:32 PM

    I know it was quite silly from me but couldn’t resist my self to point it out. I have read almost 70 % of your posts at one go. You all guys from Moolya doing Great work along with Pradeep . (+1 by LightningSky)

    [And yupp...You can sure close that bug. :)]

Trackbacks

  1. Tweets that mention Configure, Operate, Observe and Analyze « Dhanasekar S – Pragmatist -- Topsy.com
  2. Wet Diapers, Compatibility and a Favorite Bug.. « Software Testing – my way of doing it!
  3. Simple application, Simple Bug(?) and a Simple Investigation « Dhanasekar S – Pragmatist
  4. Rudiments of Ruby : Level Zero « Dhanasekar S – Pragmatist

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,805 other followers

%d bloggers like this: