GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Testing
Go To First  |  Previous Question  |  Next Question 
 Testing  |  Question 25 of 664    Print  
can anybody tell the difference between negative test case and negative testing. give one example how to write a negtive test case for a textbox which accepts only5 characters

  
Total Answers and Comments: 7 Last Update: August 24, 2009     Asked by: manojkumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 20, 2005 15:06:48   #1  
junejacz Member Since: October 2005   Contribution: 8    

RE: can anybody tell the difference between negative t...

Hi Manoj

This is very simple. Negative testing means you provide the negative data which is not supposed to be supported as per BRD.

As you mentioned about some five character entry. Try providing some special character along with the numbers and alphabets.

But remember this has to be strictly as per BRD.

hope it helps


 
Is this answer useful? Yes | No
November 09, 2005 07:26:02   #2  
pm_rajput Member Since: November 2005   Contribution: 1    

RE: can anybody tell the difference between negative t...
Hi manoj Negative testing means to show that the software is not working for that you have to enter invalid data & to test the software with distructive mind to fail it.
 
Is this answer useful? Yes | No
December 23, 2005 01:43:12   #3  
V.Mahendran        

RE: can anybody tell the difference between negative t...

Negative Testing

Negative testing means to enter negative data(invalid data ) and to test the application.

you ask 5 character only so we give 6 character or numeric number or special character the text box not accepted. that is called negative testing.

Negative Test Case

Example to take the following negative cases

case1: 6 character

case2: numeric number

case3: special character

These 3 negative cases to enter and execute the application that is caled negative testing.


 
Is this answer useful? Yes | No
December 26, 2005 03:00:09   #4  
Vijaya        

RE: can anybody tell the difference between negative t...
Yes Mahendra is correct.Neagative Test Cases means writting test cases with negative perception.i.e. In BDD we have that a Text box accepts only 10 charactes.Then for that field we write test cases by consisdering numbers alphanumerics and special characters.Negative Testing means execution all these negative test case perceptions on that field of the AUT
 
Is this answer useful? Yes | No
June 28, 2007 06:05:17   #5  
Pattabiraman.A.C        

RE: can anybody tell the difference between negative t...
Negative testing : Here testing is conducted to break the software. (i.e) test cases are prepared in such a manner that the software or application is not working fine.

Negative testcases : Testing the application for the datas that are not defined in the SRS document.

Say for example if the input data to be entered is a character type input so the negative testcases are : testing the application for alphanumeric numeric all special characters.

if it is a mandatory field means left the field empty and fill other fields with positive data and click the appropriate button and then check whether it displays the error message or not.
This type of testing an application is known as negative testing

 
Is this answer useful? Yes | No
April 15, 2009 10:29:57   #6  
ashishks Member Since: December 2008   Contribution: 73    

RE: can anybody tell the difference between negative test case and negative testing. give one example how to write a negtive test case for a textbox which accepts only5 characters
Hi Pattabiraman.A.C

If you are going to check error message on mandatary field then in this case how you are going to break the application as mentioned by you in the definition of negative testing?

As per my understanding this should be mentioned in SRS.

Please clarify this?

 
Is this answer useful? Yes | No
August 24, 2009 00:54:42   #7  
rajmohan23 Member Since: August 2009   Contribution: 39    

RE: can anybody tell the difference between negative test case and negative testing. give one example how to write a negtive test case for a textbox which accepts only5 characters
The negative test case is writing testcases for the negative teating that is the system must not accept the values.
For text box your rquirement is the system should accept 5 charecters.


The next test cases are

1. Less than 5 charecters
2. More than five charecters
3. Give numbers
4. Special charecters
5. Space
6. Null charecters.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape