All IT Courses 50% Off
QA Tutorials

NEGATIVE TESTING

ARTICLE 2

Negative testing is referred as error path testing or failure testing. The reliability of the software is tested based on the negative scenarios. Some of the negative scenarios are:

  • Populating required field: Skipping the required data entry and trying to proceed
  • Allowed number of characters: Entering more number of characters
  • Allowed data bounds and limits: Enter the large values to test the size of the field
  • Reasonable Data: Verify the data validity and format

For Example

MOBILE NO: ABCDEF – Only Numbers

The features of Negative testing are:

  • Negative testing is carried out to find the faults that can be a reason of significant failures.
  • This type of testing is performed to overcome the potential exploitation and software weakness
  • It shows the corruption or security breaches of the application.

The negative testing is important from organisation’s perspective because it is the organisation’s responsibility to provide good quality of product to the client. The impact of not performing the negative testing can be even a security threat to system. For example: Due to the security related error in the system someone may hack all the sql data and erase it. This will be a great security breach. Hence it is important to do the security testing, while doing negative test cases. Also we need to give priority to the input data. For example in the image field where only GIF pictures can have options we have lot of options to upload ‘Jpeg’, XML files. The software testers need to prioritise the test cases before the execution of the software and save execution time and cost.

All IT Courses 50% Off

The testing techniques are used for positive and negative testing are:

Boundary value Analysis:

This is one of the software testing technique where in the test cases are designed to include boundaries of values. The input data has its limit in the boundary then it is positive testing. The input data is out of the boundary limit or exceeds the boundary value then it is negative testing. Suppose the system accepts the numeric values 0 to 9 the numbers with the boundary values like -1,0,1 and 8, 9, 10 are tested. -1 and 10 are invalid values(negative testing).

Equivalence Partitioning: 

This type of testing divides the input data into many partitions with similar input in each partition. From every partition, one value is tested. The one with valid values are positive testing and the value partition of invalid values is negative testing. For example The numeric values from 0 to 9 have three partitions: less than 0, 0 to 9 and greater than 9.

Check your understanding:

1. What are the feature of negative testing and positive testing?

2. What are the techniques of negative testing over positive testing?

Facebook Comments

60 Comments

  1. 1. Feature of negative testing and positive testing:
    Negative testing features:
    -It is carried out to find the faults that can be a reason for significant failures.
    -This type of testing is performed to overcome the potential exploitation and software weakness.
    -It shows the corruption or security breaches of the software.
    Positive testing features:
    -It is carried out keeping positive point of view & only execute the positive scenario.
    -Always tries to prove that a given product and project always meets the requirements and specifications.
    2. Techniques of negative testing over positive testing:
    -Boundary value analysis
    -Equivalence partitioning

  2. The features of Negative testing are:
    • Negative testing is carried out to find the faults that can be a reason of significant failures.
    • This type of testing is performed to overcome the potential exploitation and software weakness
    • It shows the corruption or security breaches of the application.

    The features of positive testing are:
    • To check for an only valid set of values and check if an application behaves as expected with its expected inputs.
    • To check whether software application not showing error when not supposed to & showing error when supposed to.
    • Positive Testing always tries to prove that a given product and project always meet the requirements and specifications

    What are the techniques of negative testing over positive testing?
    • Boundary Value Analysis
    • Equivalence Partitioning

  3. 1. Negative testing is mainly done to test invalid data and check for failures.
    Positive testing is done to test valid data and make sure it works as per the client requirements.
    2. Boundary value analysis and equivalence partitioning.

  4. The negative testing feature is to find the defect in software after putting invalid data.
    The positive testing feature is to find out if system is working as you expected.

    2. Boundary Value analysis and Equivalence Partitioning are the techniques of positive and negative testing.

  5. The features of Negative testing and Positive testing are:
    Negative testing is done to find the faults that can be a reason of significant failures , to overcome the potential exploitation and software weakness and shows the corruption or security breaches of the application.
    Positive testing is done to check if the software is working as per client requirements.
    The techniques of negative testing over positive testing are:
    Boundary value analysis.
    Equivalence partitioning.

  6. 2. Negative testing is done to find the faults in order to prevent security breach which can  lead to potential failure of the project. Negative and positive testing uses Boundary Value Analysis and Equivalence partitioning techniques: if the input data is out of it’s boundary limit then it is Negative testing also the invalid values from the partition values is referred as Negative testing whereas valid data within the boundary limit and valid values from the partitioned data falls under positive testing.

  7. 1.Features of negative testing:
    a)This type of testing, evaluates a software product, against the failed conditions.
    b)It is performed to identify faults or loopholes and vulnerable areas, which may results, into software’s failure.
    c)It is done to ensure the stability of a software product, after being encountered with the input values, beyond the limit/scope or
    with the invalid input data.
    2.The techniques of negative testing over positive testing are:
    a)Boundary value analysis.
    b)Equivalence partitioning.

  8. Negative testing is done to find the faults in order to prevent security breach which can  lead to potential failure of the project. Negative and positive testing uses Boundary Value Analysis and Equivalence partitioning techniques: if the input data is out of it’s boundary limit then it is Negative testing also the invalid values from the partition values is referred as Negative testing whereas valid data within the boundary limit and valid values from the partitioned data falls under positive testing.

  9. POSITIVE/NEGATIVE TESTING 2
    1. There are 2 techniques: 1) boundary testing is where the testing is done out of boundary range. 2) equivalence testing is where the data divides in many partitions.
    2. They are just boundary testing and equivalence testing.

  10. The features of negative testing is to find the error in the software that can be a reason for its failure.The feature of positive testing is where we enter the valid data and the software performs in accordance to the clients requirement.
    the techniques of negative testing are Boundary value analysis and Equivalence class partition.

  11. This is another article on negative testing with more examples. It emphasizes on types of testing -boundary value analysis and equivalence class partitioning.

  12. 1. What are the feature of negative testing and positive testing?
    Negative testing is done to check the behavior of the system when wrong type of data is entered in the UI of the application. It is to see whether the application is giving the message to the end user as the data entered is wrong.
    Positive testing is giving correct data into the application and checking whether the system is working fine as per the requirement of the client.

    2. What are the techniques of negative testing over positive testing?
    The techniques of negative testing over positive testing are Boundary value analysis and Equivalance class partitioning.

  13. 1. Positive testing is testing the application software via the requirements. It does not considers the negative value requirements side. Negative testing on the other hand considers all the possible inputs other than the right requirement data. THis is very important type of testing because it will make sure to have a good, reliable quality product.
    2. Techniques of the negative testing are the boundary value analysis where input data has its limit and Equivalence Partitioning.

  14. Negative Testing; This strategies ensure that software can handle the invalid data without crashing and displays the error message.
    The quality of software is depends on the negative scenarios. For instance: Number of character, Leaving input fields empty. enter more number or character then limits.
    Boundary value Analysis: In this technique the input data has boundaries and if the enter data is with in the limit then its positive testing. However, data exceed the boundaries of the limit then it will be negative testing.
    Equivalence Partitioning: In this technique input data divide into some specific parts and each part has to be tested. if inputs are Valid then testing is positive and invalid data is negative testing.

  15. The negative testing is done to overcome the software weakness,it shows the corruption or security breaches of the application.Negative Testing ensures that the application can handle the invalid input.
    The Positive testing determines that your software works as you expected. Software is tested with valid possibilities and valid data values. If an error occurs then software fails.
    The techniques of negative testing over positive testing are:
    a)Boundary value analysis.
    b)Equivalence partitioning.

  16. positive testing is done to ensure that the software is working as expected while enterining valid data and possibilities. if an error displays then the software fails.
    Negative testing is done to ensure that the software can handle invalid inputs and possibilities.
    techniques are: boundary value and equivalence partition.

  17.  Features of Positive Testing:
    Positive testing done with a set of valid data to make sure the software testing is done to meet all the client requirements.

     Features of Negative Testing:
    Negative testing is referred as error path testing or failure testing. The reliability of the software is tested based on the negative scenarios to make sure the software can handle all the invalid data inputs.

     There are two techniques used by testers:
    1. Equivalence Class Partition: This type of testing divides the input data into many partitions with similar input in each partition. From every partition, one value is tested. The one with valid values are positive testing and the value partition of invalid values is negative testing. For example, the numeric values from 0 to 9 have three partitions: less than 0, 0 to 9 and greater than 9.
    2. Boundary Value Analysis: This is one of the software testing techniques where the test cases are designed to include boundaries of values. When the input data are within the limits it is called positive testing. When the input the data are outside of boundary limit it is called negative testing. For instance, if the system accepts the numeric values 0 to 9 the numbers with the boundary values like -1,0,1 and 8, 9, 10 are tested. -1 and 10 are invalid values (negative testing).

  18. 1. What are the feature of negative testing and positive testing?
    Features of Positive Testing :
    Positive testing determines that your software works as you expected.
    Software is tested with valid possibilities and valid data values.
    If an error occurs then software fails.
    ——————————————-
    The features of Negative testing are:
    Negative testing is carried out to find the faults that can be a reason of significant failures.
    This type of testing is performed to overcome the potential exploitation and software weakness
    It shows the corruption or security breaches of the application.
    —————————————————————————————————–
    2. What are the techniques of negative testing over positive testing?
    Boundary value Analysis:
    This is one of the software testing technique where in the test cases are designed to include boundaries of values.
    The input data has its limit in the boundary then it is positive testing.
    The input data is out of the boundary limit or exceeds the boundary value then it is negative testing.
    Suppose the system accepts the numeric values 0 to 9 the numbers with the boundary values like -1,0,1 and 8, 9, 10 are tested. -1 and 10 are invalid values(negative testing).

    Equivalence Partitioning:
    This type of testing divides the input data into many partitions with similar input in each partition.
    From every partition, one value is tested. The one with valid values are positive testing and the value partition of invalid values is negative testing.
    For example The numeric values from 0 to 9 have three partitions: less than 0, 0 to 9 and greater than 9.

  19. 1.Positive testing is done with valid data and information to find the software application is working as per client requiremnt.
    Negative testing is done with invalid data to avoid failure and software crashing.

    2.Boundary value analysis and equivalence partitioning

  20. • In Negative testing, the s/w is tested with invalid inputs to check if s/w behaves as expected with negative i/p’s and it does not do anything that it is not supposed to do.
    • In positive testing, the s/w is tested with valid i/p’s to check if s/w behaves as per the client functional requirements.

    Boundary value analysis
    Decision table
    Equivalence portioning table

  21. Features of Negating testing are based on three keys finding defects that can be detrimental to the software, capturing possible exploitation to expose the software weakness, and revealing corruption and security vulnerability in the software. Whereas, Positive testing Features are for confirming the expectations using valid required input data to satisfy the client needs.
    Even though same techniques such as Boundary Values Analysis and Equivalence Partitioning are used for both, Negative testing and Positive testing, Positive testing validates the software accepting only valid values and Negative testing accepting the Invalid values confirming with both the reliability of the software.

  22. 1. Positive testing ensures that the software works as per the expectation.
    software is tested with valid input and possibilities.
    b. Negative testing ensures that is tested with invalid data values. This is to ensure that the software can handle the improper behaviour of the system and avoid crashing.

    2. Techniques of negative testing are:
    – Boundary value Analysis
    – Equivalence Partitioning

  23. The features of Negative Testing and Positive Tasing are:
    Negative Testing:It is done to find defects which can be reason of significant failure.It is performed to overcome software weakness.It shows security breaches of the application.
    Positive Testing:It is performed to check your software work as per your requirement.It is tested with valid possibilities.
    The testing techniques are used for Negative and Positive testing are:
    1.Boundary Value Analysis:In it if the input data has its limit in the boundary, then it is Positive testing.If input data is out of boundary limit then it is Negative testing.
    2.Equivalence Partitioning:The input data with partition, one with valid values are positive testing and the value partition of invalid value is negative testing.

  24. The feature of negative testing and positive testing:
    Negative testing is done to overcome the potential exploitation of a software and to check its weaknesses and outline the corruption or security breaches of the application.
    Positive testing is performed to determine if the software is working as per client requirement based on keying valid input or data.

    Testing techniques are:
    -Boundary value analysis
    -Equivalence partitionning

  25. 1.Negative testing is carried out to find the faults that can be a reason of significant failures.
    This type of testing is performed to overcome the potential exploitation and software weakne
    It shows the corruption or security breaches of the application.
    2.Boundary value analysis and equivalence partitioning

  26. What are the feature of negative testing and positive testing?
    • Negative Testing is carried out to spot the faults that can result in significant failures.
    • Negative Testing is performed to expose the software weakness and potential for exploitation.
    • It is carried out to show data corruption or security breaches.

    2. What are the techniques of negative testing over positive testing?
    • Embed Single Quote on URL when it tries to query the database.
    • Skip the Required Data Entry and try to proceed.
    • Verify each Field Type Test.
    • Enter large values to test the size of the fields.
    • Verify the numeric boundary and numeric size test.
    • Verify the Date Format and its validity.
    • Verify the web session and check for the performances.

  27. Feature of positive and negative testing:
    Positive testing:
    Positive testing determines that the software works as you expected .software is tested with valid possibilities and valid data values .
    Negative testing:
    Negative testing is carried out to find the faults that can be reason for significant failures.The reliability of the software is tested based on negative scenarios
    The testing technique used for positive and negative testing are:
    Boundary value analysis:
    If the input data is used within the boundary value limits, then it is said to be Positive Testing. If the input data is picked outside the boundary value limits, then it is said to be Negative Testing.
    Equivalence Partitioning:
    This is a software testing technique which divides the input data into many partitions. Values from each partition must be tested at least once. Partitions with valid values are used for Positive Testing. While partitions with invalid values are used for negative testing.

  28. 1. Feature of negative testing and positive testing:
    Negative testing features:
    -It is carried out to find the errors that can be a reason for significant failures.
    -This type of testing is performed to overcome the potential exploitation and software weakness.
    -It shows the corruption or security breaches of the software.
    Positive testing features:
    -It is carried out to check if the software performs the way it needs to when the correct values are put in.
    -Always proves that a given product and project always meets the requirements and specifications.
    2. Techniques of negative testing over positive testing: Boundary value analysis and Equivalence partitioning

  29. The Features of negative testing is to find the fault in the software that can be a reason for its failure.This type of testing is
    performed to overcome the potential exploitation and software weakness. It shows the corruption or security breaches of the
    application.
    The Feature of positive testing is where we enter the valid data and the software performs in accordance to the clients requirement.

    The techniques of negative testing over positive testing are
    1) Boundary value analysis:
    This is one of the software testing technique where in the test cases are designed to include boundaries of values.
    The input data has its limit in the boundary then it is positive testing. The input data is out of the boundary limit or
    exceeds the boundary value then it is negative testing.
    2) Equivalence class partition:
    This type of testing divides the input data into many partitions with similar input in each partition.
    From every partition, one value is tested. The one with valid values are positive testing and the value
    partition of invalid values is negative testing.

  30. the negative feature of testing is to find fault that can result in significant failures, to expose software weakness, potential for exploitation, carried out to show data corruption or security breaches, whereas positive software testing functions as a requirement.
    the techniques of negative and positive testing are
    boundary value analysis and equivalence partitioning

  31. Positive testing is done with valid data to find the software is working as per client requirement.
    Negative testing is done with invalid data to avoid the software crashing.
    The techniques of negative testing over positive testing are boundary value analysis and equivalence class partitioning.

  32. 1. Positive testing is done to determine that the software works as expected with valid inputs and meets the expectations of the client where as the Negative testing is done to determine the unexpected errors with invalid inputs in order to verify the reliability,stability and security of the software.
    2. There are two techniques used for positive and negative testing:
    1. Boundary value analysis
    2. Equivalence partitioning
    In both the techniques when the input is valid it is positive testing and when the invalid input is given it is negative testing

  33. The features of Negative testing are:
    • Negative testing is carried out to find the faults that can be a reason of significant failures.
    • This type of testing is performed to overcome the potential exploitation and software weakness
    • It shows the corruption or security breaches of the application.

    The features of positive testing are:
    • To check for an only valid set of values and check if an application behaves as expected with its expected inputs.
    • To check whether software application not showing error when not supposed to & showing error when supposed to.
    • Positive Testing always tries to prove that a given product and project always meet the requirements and specifications

    What are the techniques of negative testing over positive testing?
    • Boundary Value Analysis
    • Equivalence Partitioning

  34. Positive testing verifies the functioning of the software with data that is valid. Negative testing identifies the data inputs which could potentially cause the software to not produce a result, and possibly result in the software crashing. Negative testing could be
    done with data values just outside the boundaries of a range of potential input values, and this is called boundary value analysis.

    Negative testing can also be done within 3 partitions, where values just outside the two boundaries are tested in 2 partitions, while valid data is tested within the 3rd partition. This is called Equivalence Partitioning.

  35. Negative testing is done using invalid data. Positive testing is done with valid data.
    Negative testing = boundary value analysis

  36. 1.Negative testing is done to check a software/application’s response to invalid data values. The main reason it is done is to identity the faults that may cause major failures. It is also done with an intention to show how secure the software is when exposed to exploitation and software weakness. Positive testing one the other hand is done to ensure that the software/application is working as per the requirements of the clients. Valid data values are input and behavior of the software is tested accordingly.

    2. The testing technique used for both positive and negative testings’ are:
    a) Boundary value Analysis- In this case a certain boundary is set. For example, if the boundary is 0 to 100 then testing with values of -1 and 101 is negative testing. The values are not within the boundary selected. Again, when the system accepts 0 to 100 and values entered are 1 to 99 then this is positive testing.
    b) Equivalence Partitioning- here the input data is divided into many partitions with similar input in each partition and from each partition one value is tested. For example; for numeric values 0 to 100, have less than 0, 0 to 100, and greater than 0 as three partitions. Testing for values less than 0 and greater than 100 is negative testing and between 0 to 100 will be positive testing.

  37. The features of Negative testing
    1.Negative testing identifies the defects that can lead to subsequent software failures.
    2.This type of testing performed to overcome software weakness
    3.It shows the scenarios that the security breaches of the application might happen.
    Positive and Negative testing can be performed by using Boundary value analysis and Equivalence partitioning

    Boundary value Analysis : It defines input data with the boundary values.If the data we are testing is within the boundary defined then it is positive testing.If the input value is out of that boundary range then it is negative testing.
    Ex..If the boundary value is 1 to 6,then testing with input data 1 to 6 is positive testing and testing with input data <1 and greater than 6 is negative testing

    Equivalence partitioning : In this Input data is divided into many portions with similar input in each groups.from each group one value will be tested ..for ex..For input value 1 to 50,we can have the partition like 1.Less than 1
    2.1 to 50
    3.greater than 50
    Testing with input data 1 to 50 is positive testing
    testing with data less than 1 and greater than 50 is negative testing.

  38. Positive testing :
    This testing validates the quality of the software product as stated in the requirement documents.
    Negative testing:
    This testing handles if the invalid data given by the user, it directs the user to provide the valid one thereby avoiding the system crash, security breach.
    Boundary and partition testing tests the input to be given valid and if it goes negative the input can be fixed at the earlier stage.

  39. What are the feature of negative testing and positive testing?
    Positive testing is done with valid data to check if the system functions correctly with valid input data.
    Negative testing is done to make sure the software can handle invalid data. It is important to make sure that every software undergoes negative testing so that it can handle improper usage and does not crash and also to maintain security of the software.

    What are the techniques of negative testing over positive testing?
    In positive testing, valid data is used and the software should work with it.
    In negative testing, Invalid data or data in improper format is used and the software should not work or should give an error message in that particular functionality. Negative testing is very important to prevent a security breach in software.

  40. Features of negative testing are
    -Negative testing is carried out to find out the defects which can be a reason for significant error.
    -perform to overcome the crash of software. which reduces time and cost.
    -to overcome security breech.

    Techniques of negative testing over positive testing:
    boundary value analysis:
    Equivalence partitioning

  41. Negative testing: This testing is mainly performed by invalid inputs and un expected possibilities that are not designed in the project and it helps to save the application from crashing by unexpected results. It is to identify the faults which may lead to major failures in the system.
    Negative testing is to test the weakness of software which might results in further exploitation
    This will help how the security breaching happens and how to avoid it.
    Ex: Pop up the required fields and enter nothing
    Allowed number of characters- enter more characters
    Allowed data bound and limit- enter the larger value
    Data reasonable
    Positive testing- testing is performed by valid inputs and possibilities that are designed in project and you expect to see the positive results, if the error message displayed which means the software fails.
    Ex- Entering right Zipcode
    Valid user name and password
    2) Testing techniques for Negative and positive testing:
    Boundary value analysis: The input value is within the boundary set limit is called positive testing and if the input value is out of boundaries called negative testing. Ex-the field limit is 0-20, If we test the value between 0-20 called positive testing and if we test the value below 0 or above 20 called Negative testing.
    Equivalence Partitioning: Here Input data divided into more partitions with the similar input in each partition. Each partition one value tested. Ex- 0-20. These values can be written less than 0, 0-20 and greater than 20. If we test the value less than 0, more than 20 called negative testing and 0-20 is positive testing.

  42. Features of positive testing:
    – To check the valid set of data only to see if a software meets the requirements.
    – To check if the valid data set as an input results a valid output as per the expectations.
    Features of negative testing
    – Done in order to find the faults that could result into software failure.
    – To overcome the weaknesses of a software.
    – To find any security breaches or corruptions of the application.
    The techniques of negative testing over positive testing are:
    – Boundary value analysis: For example gmail login password should be at least of 8 characters. Hence, boundary values like 7, 8 and 9 characters are tested where 7 characters would be invalid value making it negative testing.
    – Equivalence partitioning: For example, gmail login password where the partitions would be less than 8 characters, 8 characters and greater than 8 characters. Here, less than 8 would be negative testing whereas 8 characters and greater than 8 characters would be positive testing.

  43. Negative testing is carried out to find the faults that can be a reason of significant failures of an application without crashing the whole software, it is also performed to overcome the potential exploitation and software weakness, and also it outline the corruption or security breaches of the application.
    Positive testing determines that your software works as it is expected to meet up the requirement of the client, Testing the valid data input meets the requirement of the clients.
    Boundry value analysis is the technique of negative testing over positive.

  44. The Features of Positive and Negative testing are:
    Negative Testing is carried out to find faults that can be the reason for significant failures.
    And also performed to overcome potential exploitation and software weakness.

    Positive Testing is done as per the client requirements,
    And the Expected results have come are not.
    These are the Testing Techniques used for Negative and Positive:
    Boundary Value Analysis
    Equivalence Partitioning.

  45. 1)The features of Negative testing are:
    1)Negative testing is carried out to find the faults that can be a reason of significant failures.
    2)This type of testing is performed to overcome the potential exploitation and software weakness
    3)It shows the corruption or security breaches of the application.
    The features of Positive testing are:positive testing is a testing that is performed within the boundaries and this testing checks that the product /application is behaving as per the specification document with a valid set of test data.
    2) Technique of negative testing over positive testing:
    1)Boundary value analysis: Suppose the system accepts the numeric values 0 to 9 the numbers with the boundary values like -1,0,1 and 8, 9, 10 are tested. -1 and 10 are invalid values(negative testing).
    2)Equivalence Partitioning: The numeric values from 0 to 9 have three partitions: less than 0, 0 to 9 and greater than 9.

  46. 1. Negative testing is performed to detect whether the software can handle the unexpected scenarios. In real time when the user enters the invalid data value, displays errror message should be displayed and the system should not crash.It is performed to overcome the potential exploitation and software weakness.

    Positive testing is done to verify that the software is working properly when valid input data is entered.

    2. There are 2 techniques of positive and negative testing: : Boundary value Analysis and equivalence partitioning.

  47. Features of Negative testing: done with invalid data to check reliability and no security threat tothe application. Test with data to assure good quality of the product.

    Features of positive testing: to test if the application is working with data in the range of valid input.Ensure system works correctly.

    Techniques are: Boundary value testing and Equivalence partitioning

  48. The features of Negative testing and Positive testing are:
    Negative testing is done to find the faults that can be a reason of significant failures , to overcome the potential exploitation and software weakness and shows the corruption or security breaches of the application.
    Positive testing is done to check if the software is working as per client requirements.
    The techniques of negative testing over positive testing are:
    Boundary value analysis.
    Equivalence partitioning.

  49. What are the feature of negative testing and positive testing?
    feature of negative testing : its done to find the errors that can lead to significant failure, so this test is been carried out to avoid the software weakness and potential exploitation. This also emphasis on security issues of the application
    positive testing: its done to check whether the software is working as per client requirment.

    2. What are the techniques of negative testing over positive testing?
    Boundary value analysis.
    Equivalence partitioning.

  50. Negative testing is to check if the software functions as per requirements, and to verify that the software handles the abnormal situations for the invalid input to maintain the stability of the software. And Positive testing determines that your software works as you expected with valid possibilities and data values.
    The two techniques are :
    Boundary Value Analysis Technique and Equivalence Partitioning Technique.

  51. In positive testing, software is tested with valid possibilities and valid valid data values to check whether the software is working as expected whiles in Negative testing, the software is tested by giving invalid inputs or information. The purpose of negative testing is to detect, verify and avoid the situations that cause system crushing .
    The techniques used for both testing are Equivalent partioning and Boundary value analysis.

  52. Features of positive testing: In this type we are giving the valid inputs to the software and getting the expected valid outputs.
    Features of negative testing: In this type we are giving the invalid inputs to the software and getting the error message or “enter the valid input values” as output.
    Population of required field: Skip the required field
    Allow limited data values : Enter large amount of data values in a limited field
    Negative testing is done in 2 ways:
    1. Boundary value analysis: Checking beyond the boundary of input value and less than the boundary input value
    Ex: Banking website enter the 12 digit account number.
    Testing the account number by giving 13 digits and 11 digits and getting invalid account number as output
    2.Equivalence class partitioning: Checking the numeric input field with alphabets
    Ex: Banking website enter the 12 digit account number.
    Testing the account number by giving alphabets, blank space, special characters and getting invalid account number as output.

  53. 1.Positive Testing:. Software is tested with valid possibilities and valid data values. Software works as expected.
    Exceptions are avoided.
    Negative Testing: It ensures that the application can handle the invalid data. Exceptions are tested
    2.Boundary value analysis
    Equivalence class Partitioning

  54. 1.) The features of positive testing are testing a application using valid inputs to confirm the outcome that is expected, if the correct outcome doesn’t happen then the function is considered failed. The features of negative testing are tesing an application using invalid inputs to find flaws in the software and help keeping the software safe from corruption or security breaches.

    2.) Techniques of negative and positive testing are boundary value analysis and equivalence partitioning.

    -Boundary value analysis is a test when the test case is designed to have a boundary. If the input data has its limit within the boundary, which is the valid input, then it is positive testing. If the inputs are out of boundary or exceeded the boundary, which is the invalid input, then it is negative testing. An example is a system requires a number of 0-100, if you input the numbers with 0-100 and it works are expected then it is positive testing, if you enter number below 0 or over 100 to get and invalid outcome that is negative testing.

    -Equivalence Partitioning is a testing technique where the test divides the input data into many partitions with similar input in each partition, and from each partition one value is tested. The one with valid inputs is positive testing and the one with invalid inputs is negative testing. An example is enter a number from 0-100 has 3 partitions: less than 0, 0-100 and greater than 100. The 0-100 is the positive testing side of it and the less than 0 and greater to 100bis the negative side of it.

  55. 1) Positive testing is done with valid data to ensure that the software application is working as per client’s requirements.
    Negative testing is done with invalid data to avoid failure of the application and system crash.
    2) Equivalence class partitioning and Boundary value analysis

  56. 1. Negative testing is performed to find faults that can be the cause for significant failures in the software. This testing is used to overcome weaknesses and security threats in the software and prevent potential exploitation of the software. It displays the security breaches and corruption within the software. Positive testing is performed to verify that the software works as expected by utilizing valid inputs and data. In the event of an error, the software fails.
    2. Within the technique of Boundary Value Analysis, negative testing is utilized by testing the invalid boundary values rather than the valid boundary values. In Equivalence Partitioning, negative testing is utilized by testing the value partition of invalid values rather than the value partition of valid values.

  57. 1. a)Positive testing is where we input valid data which can assure that system is working as expected.
    b)Negative testing is tested by invalid data so this type of testing can ensure that the software can handle invalid input or data.
    2.Negative testing done in 2 ways:
    – Boundary Value Analysis
    – Equivalence Partitioning

  58. Positive testing determines that your application works as expected. If an error is encountered during positive testing, the test fails. Negative testing ensures that your application can gracefully handle invalid input or unexpected user behavior.

    The techniques used for negative testing are 1: Boundary value analysis: In this test cases are designed to include boundaries of values.

    Equivalence partitioning: In this type of testing divides the input data into many partitions with similar input in each partition

Leave a Reply to Anu Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles

Check Also
Close
Back to top button