DEV Community

Narasimha Varman J
Narasimha Varman J

Posted on

Task-2

1) Boundary Value Analysis
As the word “Boundary” denotes edge or corner. In testing the input values used for the testing purpose is taken from the boundary.
Example:1
If we have to check the value of mobile numbers in india, it should have ten digits.
So the number should be between, 1 and 9
Here the Boundary values are-1, 0, 1, 8,9,-9
To validate the phone numbers separate function should be implemented
The Boundary value testing should pass in as per the requirement.
Any failure in above case will be “Test Case Failure”

2) Decision Table Testing
This type of technique is used to identify and observe how the system performs when a combined inputs are given to the system for processing.
This type of testing is performed during the black box design technique
A decision table is prepared with all the possible inputs
Example:2 Checking Indian Mobile Numbers
Conditions 1 2 3 4 Actions
Valid Mobile Number Numbers length should be 10 digits Numbers ranging from 1 to 9 Pass
In Valid Mobile Number Numbers start from 0 Numbers start from 1.0 Numbers with +, - or ends +, - Numbers having 000000000 at the end Fail

3) Use Case Testing
Use case testing is a black box testing technique
In Use Case Testing the user performs the test whether the system behaves in the intended way which is designed for the user.
The Use Case Testing will be performed by the user or the customer at the client place before its deployment.
It is performed on how well the system performs in the real time environment.
All the conditions are checked for the valid and the invalid inputs.
All the functionality will be checked based on the inputs provided by the user.
Example:3 Performing the Indian Mobile number inputs
Condition Input Actual Expected Result
Input 10 digits number 4072863866 Accept Accept Pass
Input 9 digit numbers 543675324 Reject Reject Pass
Input numbers starting with 0 0235467421 Reject Reject Pass
Input numbers starting with 1 followed by 000000000 1000000000 Accept Reject Failure

4) LCSAJ Testing
Linear Code Sequence and Jump is a white Box testing technique, which are being performed on the code of the product.
LCSAJ Testing is used to validate the coding of the program from the beginning to the end of the code which is being executed.
It is used to confirm that full statement of coverage is performed.
It is used to confirm that full branch coverage is performed.
It is used to confirm that full function coverage is performed.
It is used to confirm that full condition coverage is performed.
Example : 4 Performing the valid Indian Mobile number from the Inputs
Coverage Statement Branch Function Condition Condition Result
Executed Yes Yes Yes Yes Yes Pass
Not Executed Yes No Yes Yes Yes Failure
Not Executed No No No No No Failure
Not Executed Yes Yes No Yes Yes Failure
Not Executed Yes Yes Yes No Yes Failure
Not Executed Yes Yes Yes Yes No Failure

Top comments (0)