Author Topic: TESTING QUERY  (Read 1220 times)

Offline sumedha

  • Jr. Member
  • **
  • Posts: 1
  • Karma: +0/-0
    • View Profile
TESTING QUERY
« on: August 10, 2010, 05:42:27 AM »
WHT IS THE EXACT MEANING OF SELF CLEANING AND SELF STANDING?

Offline malodkarnishant

  • Jr. Member
  • **
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: TESTING QUERY
« Reply #1 on: August 10, 2010, 06:48:14 AM »
Hi,

        Both of these terms are used in relation with the test cases. 1st we will see SELF CLEANING. When you write a test case, write it in such a way that, no steps should collide with each other. for eg. take an eg. of testing of USRAME/PASSWD scenario. if a step say " put invalid user name and click OK button" and the next one says "put valid user name", how the tester will execute second step as the first step doesn't fit the rule of SELF CLEANING. i.e. when you execute 1st step, after pressing OK button, system will display some message saying " invaid username/passwd" . without clearing that message by pressing OK or CLOSE button you can not execute 2nd step. so the steps will go like:

1 put invalid username
2 click on OK button
3 click on OK button or close dialog box.
4 Put valid user name.
 
        We can say a test case is SELF STANDING, if and only if when not only the writer of the test case but other stakeholders of the system like manager,tester who are going to execute or even the novice tester  will be able to understand it in the absence of writer.

advertisement

Offline twhitehouse

  • Sr. Member
  • ****
  • Posts: 77
  • Karma: +0/-0
    • View Profile
Re: TESTING QUERY
« Reply #2 on: August 10, 2010, 06:55:14 AM »
I've always thought to look at creating tests as if I was talking to my 9 year old.  If she could understand the steps, then this probably would also fall into this category of self cleaning.  Attention to detail seems to be the biggest key that people take for granted when writing tests.  One little step left out, like step 3 in the post above "3 click on OK button or close dialog box.", and you do not have a test that a 9 year old could follow.

Offline anand

  • Full Member
  • ***
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: TESTING QUERY
« Reply #3 on: October 21, 2010, 02:04:22 AM »
Self cleaning:  The test cases should return the test environment to a clean state.For example during execution some database parameters may be changed which may cause some problem during execution for the second time.So the test environment should return to a clean state.

Self standing:  The test cases should be  easy to interpret by any tester.it should not be specific to a tester.Ambiguity should also be avoided.

Correct me if i am wrong->