What is Negative Testing :- And Justify the same

Some one Reply for this question

Showing Answers 1 - 17 of 17 Answers

Pradeep

  • Nov 3rd, 2005
 

Negative Testing is simple testing the application beyond and below of its limits. For ex: 1)We want to enter a name for that negative test can be first we enter numbers.

2) we wnter some ascii characters and we will check

3)First numbers and characters we will check

4) name should have some minimum length below that we will check

chandramouli

  • Nov 3rd, 2005
 

Negative testing is testing the tool with improper inputs.for example entering the special characters for phone number 

BMDoss

  • Nov 8th, 2005
 

Negative testing is kind of testing doing with the Boundary values,may be max val and min val or with some other kind of data type input etc.

vijaykumar

  • Nov 15th, 2005
 

testing the application for fail conditions

manjunath

  • Nov 24th, 2005
 

here we test if system is doing something which it is not supposed to do ex in password field we try to enter only alphabets were as in requirement it is specified  password should have atleast 1 no, if it accepts only alphabets then  test case is fail otherwise it's pass.

Lucy

  • Nov 25th, 2005
 

In negative testing you would test to fail.

eg.If you need to test a name field, this should accept only alphabets.

So testing with alphabets is positive testing where it will allow you to enter and accepts alphabets. In negative testing you will test the name field for number, symbols alphanumerics to see whether it allows to enter or accept it. It should not allow. This is negative testing

  Was this answer useful?  Yes

rupa mukkavilli

  • Dec 15th, 2005
 

negative testing is testing the application with negative assumptions and navigations to get a negative result which leads to positive one.

rupa mukkavilli

  • Dec 15th, 2005
 

negative testing is testing the application with negative assumptions and navigations to get a negative result which leads to positive one.

Prerit

  • Dec 19th, 2005
 

This is a type of testing which is done by tester's to make sure that the system works fine for the Inputs which the code dosen't designed for.

The persons who read the above answers can directly read the 4th and 5th one.

 

Testing the application for fail conditions

 

Suppose if a field has to accept min of 4 characters only and max of 8.

 

The possible testing procedures for the mentioned one are:

 

1. Entering 3, 9 by following BVA method. In actual we follow BVA method by entering 3, 4, 5 and 7, 8, 9, though we are doing negative testing, entering 3 and 9 would be enough.

 

2. Enter the numbers and test, whether the field accepts or not. In general it should not allow any numbers and should not give any error screens other than showing an alert message like, ?Enter characters only? / ?Numbers are not allowed? (Observe the alert message carefully, whether the displayed one is proper or not).

 

3. Enter Special Characters and test for the same.

 

4. Additionally for the above, Insert (Ctrl+V action) the Chars/Nums/Sp Chars and test for the same.

 

5. Enter 3 or more nums by press on Alt Key (So that we would be able to view some kind of special symbols like ᵺӱ⇂) also system shouldn?t give error.

 

And I am clear that, what the example I had given above is just for a Text Field.

 

If anything is there please mail me. hrkgowd@yahoo.com

 

Inactual we can share the knowledge.

Praveen

  • Mar 6th, 2006
 

negative testing is a testing which ensures that the application should not do what it is not supposed to do.

eg: in a client server based application, test cases related to LAN disconnection , etc

RAJESH

  • Mar 12th, 2006
 

Negative testing is performed to check how the application works if an unexpected input is given which is out of requirements,to check the stability of the application.

"For a error to be thrown it doesnt throw error and error should'nt thrown it throws an error"

Rajesh

mukesh

  • Sep 3rd, 2007
 

Sometimes its also known as Stress Testing. Coz it tries to break the system under test by overwhelming its resources or by taking resources away from it.

The main purpose of these madeness is to observre:-
Does it save its state or does it crash suddenly.
Does it just hangs and freeze or does it fails gracefully...
Is it able to recover from the last good state on restart? etc.

and Guys plz let me know if am right or not. 

prasanthi lingampalli

  • Oct 18th, 2007
 

*negative testing is testing the application with negative assumptions and navigation's to get a negative result which leads to positive one*

  I have a doubt in the statement Ms.Rupa, what do u mean by "leads to positive one".
can u sahre me any notes u have on Negative testing.

jerome Rozario

  • Oct 23rd, 2007
 

To make the application to fail is negative testing.

deepasree

  • Apr 28th, 2008
 

Testing your project with negative aspect is called negative testing...

For ex:  if u have u are undergoing a test regarding the length of the text box present in the form. Through coding the developer had mentioned the text box size as 100. The text box should accept exactly 100 characters not more than that ...

Negative Testing

Enter 150 characters in the text box, while performing the task ... the text box should accept exactly 100 characters and remaining characters entered by the user will be automatically truncated from the back end.. you can cross check it with back end ... choose the table and also choose the exact text box the text box should contain exactly 100 characters .... If the text box contain more than 100 characters then ask your development team to fix the issue....

jlc68

  • Apr 15th, 2009
 

Negative tests validate that values or expectations outside a requirement are not allowed. For example, if a password field requires a minimum of 9 characters, a negative test would be entering a password of 8 characters and validating that the value is not allowed and the user is given an appropriate response about the event.

Negative testing:
1. Search Results should be alphabatized across all results in Application (that means: sort by
Last Name, First Name, Student ID...)
2. Synchronizing the warning and success messages (everywhere in Application. e.g., if the user try to delete some referenced (related) record, the warning message:" This record cant be deleted because is referenced by another record." is displayed.
3. Synchronizing the currencies in all application (e.g. $ 20,000)
4. Setting the eventual permission for the particular activity (e.g. Only some of the users/employees may be able to see the archive files. If some
of them who do not have permission, try to use the archive files, the system should throw the inform message: "You are not allowed for this operation.")

  Was this answer useful?  Yes

rahulskin

  • Sep 8th, 2009
 

Negative testing is done for testing to FAIL.
Example:
If a simple application accepts Name from the user. (10 Characters only - A-Z / a-z)
The negative testing may include the following.
1) Entering spaces.
2) Entering special characters.
3) Entering > 10 characters.
4) Entering numbers.

  Was this answer useful?  Yes

Negative testing is performed when testers interact with applications in ways that are beyond the scope of their requirements or implied functions.

For example, if a text box is specified to accept a range of integers from 0 through 100, negative testing would test beyond the limits with input values of -1 and 101.
 

  Was this answer useful?  Yes

Sivachandran

  • Sep 22nd, 2011
 

Negative Testing is nothing but to Test the Application or Tool or whatever giving negative Datas.. For Example, You should give only String with atleast 8 Char in Username and password should contain any special character..

In this case, you may give 8 character with Integer and then give your actual password. You couldn't login because you have used Integer instead of String. so, it will throw the error Message.

We are verifying the error message based on different invalid inputs like that way and verifying expected behaviour..

  Was this answer useful?  Yes

Negative Testing is nothing but testing with invalid datas (i.e. which we are not suppose to provide).
Here we check that is the system/application is able to handle invalid data correctly or not.

  Was this answer useful?  Yes

kasi6900

  • Mar 2nd, 2012
 

In Equivalence Partition technique , a component is divided in to two equal parts.

1: Valid Class
2: Invalid Class

Ex Requirement: A text field entry control should accept only numeric values from 1 to 64.

For the above requirement the Negative tests can be defined as below:

Invalid Class: (Negative testing)
Try to enter Alphanumeric characters
Try to enter 0 in the text field
try to enter more than 64 characters.

  Was this answer useful?  Yes

Balal Ahmad

  • Mar 4th, 2013
 

Negative Testing can be performed on the system by providing invalid data as input...

  Was this answer useful?  Yes

Tanuja

  • Mar 5th, 2013
 

It is a type of testing, one should have negative mind set and we should check all the functionalists and validations instead of providing positive inputs we should provide invalid inputs.

  Was this answer useful?  Yes

ravi

  • Mar 7th, 2013
 

Test the application with invalid inputs is called negative testing.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions