How to write Negative test cases?

Answers were Sorted based on User's Feedback



How to write Negative test cases?..

Answer / manish

by providing input values of invalid scenarios.like if the
user id text box can accept 6-12 characters then a negative
test case can be sumthing like "enter 5 characters in the
user id text box and press enter"

Is This Answer Correct ?    67 Yes 12 No

How to write Negative test cases?..

Answer / sunil

BY GIVING INVALID DATA ,AND TEST THE APPLICATION

Is This Answer Correct ?    30 Yes 6 No

How to write Negative test cases?..

Answer / avashesh

Negative test cases are written to test the output of the
system on providing the invalid input. Primary objective of
negative test cases is "System should not break in case of
invalid input."
ex: If System contain a field called postal code which can
only accept numeric value of length 6 then negative test
case would be
1. Enter 5 characters in postal code field
2. Enter alphanumeric characters in postal code field

Is This Answer Correct ?    17 Yes 2 No

How to write Negative test cases?..

Answer / ramya c.r

Unit Level

Number field Try to enter other than numbers
Length Min -1 Max +1
Mandatory fields Not entering any data and only spaces.
Date Field If a format is fixed for that field,
try to enter other than the specified
format.
Combo Box(drop
Down Box) Try to enter some data in the combo box.
Read only Fields Enter some data in the read only fields.

Try to enter special characters which should not be allowed
in a field.

Is This Answer Correct ?    19 Yes 5 No

How to write Negative test cases?..

Answer / sathish

Anticipate the response for invalid values , say suppose in
a date field enter a date of invalid for eg.30/02/2007 , the
application should no accept though the date is of specified
format , and shoulg prompt an error message

Is This Answer Correct ?    14 Yes 5 No

How to write Negative test cases?..

Answer / varshab

By providing invalid inputs.Negative testing is also called
as 'Test to Fail'.E.g There is 'Name' field (It must contain
characters only).Testing this field by entering numbers is
negative test case in this scenario.

Is This Answer Correct ?    11 Yes 3 No

How to write Negative test cases?..

Answer / bhaskar

Negative Test cases tells System allows to do the operation
when invalid data, or input given or selected

Is This Answer Correct ?    3 Yes 0 No

How to write Negative test cases?..

Answer / trupti

Can any one answer how write test case for Pie chart and
excel sheet..

Is This Answer Correct ?    1 Yes 1 No

How to write Negative test cases?..

Answer / mudaseer

negatives test cases means invalid test cases which is
written to ensure that the test cases fail .for example in
atm when u enter in multiples of 230 it should display
please enter in multiples of 100 and in sign in page when
you enter valid mail id but wrong password it should not
allow you inside. and if u dont enter username and password
in sign in page it should display please enter user name and
password here we are writing invalid test cases

Is This Answer Correct ?    1 Yes 1 No

How to write Negative test cases?..

Answer / navari s

- By considering the negative flow of the application.
- By using at least one invalid input in each set of data.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Manual Testing Interview Questions

What is test plan and contents available in a test plan?

0 Answers  


How to test for improper links or broken links and would be there impact on the system?

2 Answers  


Who Decide Severity And Priority ?

12 Answers   British Telecom BT,


Easiest way to write test cases? How i can learn writing the test cases?

0 Answers   Accenture,


what is exit criteria and entry criteria with proper examples??? hi, i faced so many interwies in this question...so plz answer this questions as early as possible...

1 Answers   Covansys,






hai friends i did my bcom (distance with out inter)and iam pursuing mca(distance alagappa university)iam learning testing cource in ameerpet can i elgibel for testing jobs pls guide me … …and send details to rangavijetha@gmail.com..thanks

0 Answers  


How will you deploy a web appln?i mean how will recive that build if it is web based(asp.net)?

5 Answers  


what is v-model?

3 Answers  


can anybody tell me "what is ur testing process in ur company" pls explain what is the process when v get a build?

5 Answers   Verizon,


What are the Challenges you faced while testing your Projects

4 Answers   CitiGroup, SAP Labs,


what exactly is heuristic checklist approach for unit testing?

0 Answers  


What is the difference between Smoke Testing & Sanity Testing?

8 Answers  


Categories