May 6, 2011

Positive and Negative test cases


Positive Test cases
                The testing operation has to be performed using the valid data (ie the actual input has to be given then the testing operation has been performed which gives the actual result)
Giving valid data and makes it “feel to pass”

Negative test cases 
               The testing operation has been performed using the invalid data(ie Invalid data has to be given and the Expected result should shows an warning messages or error windows)
Giving invalid data  and make it  “feel to fail”
Ex :
Using mouse Scroll bar;
Mouse pointer should move only when the mouse scrolled and its point to the exact location (Positive Test cases) 
Check pointer movements when mouse is  scrolled.
Mouse pointer should not move until the mouse scrolled and pointer should be in idle position (Negative Test cases) 
Check pointer movements when mouse is in idle condition.

No comments:

Post a Comment