DEV Community

Karvendhan
Karvendhan

Posted on

1.Boundary value Analysis (BUA) 2.Decision Table Testing 3.Use Case Testing 4.LCSAJ(Linear code sequence and jump):

1.Boundary value Analysis (BUA) :

This boundary value analysis in a test case analysis to test the boundaries which separate the continuous range input.They boundaries are where we set the min limits where the test conditions should start and then the achieve max value limit that time it should be stop.The boundaries test case classified three types.

Lower Boundary Case
Upper Boundary Case
On Boundary Case

Lower Boundary Case:
Using the value below the boundary specified is called the lower boundary case.

Upper Boundary Case:
Using the value above the boundary specified is called the upper boundary case.

On Boundary Case:
Using the value within a limit or within the boundary is called the on boundary case.

Ex:
Write a test case for the adventure park

We go for the adventure park and they have weight restrictions for certain rides(Zip line).

Enter your weight (*only 30 kg to 90 kg are allowed for this ride) (Zipline) (Apporx kg)
Boundary Value Analysis
Invalid
valid
Invalid
Min-1
Min, min+1 (to) Max, Max-1
Max+1
29
30,31 (to) 90,89
91

2.Decision Table Testing:

Decision table is one of the testing methods to test the system's behavior with various sets of input . There is a set of input only allowed to given the system like size, file type(pdf, xl) , numbers only, characters only.

In this decision table testing easy to understand our team.
It should cover all the condition in step by step way.
Any type of complex requirements turn in to table format.
But input conditions is high table become large and difficult to manage
So in limited conditions it should be easier.

Ex:
Write a test case for TNPSC exam website: http://www.tnpsc.gov.in

There is a test conditions (upload Photo) :
Max file size is 200KB
List of supported formats
jpeg
pdf
jpg

Valid Condition table

Condition
Case 1
Case 2
Case 3
Case 4
Case 5
Case 6
Input Format
jpeg
pdf
jpg
jpeg
pdf
jpg
Input size
size=200
size=200
size=200
size<200
size<200
size<200
output
valid
valid
valid
valid
valid
valid

Invalid Condition table

Condition
Case 1
Case 2
Case 3
Case 4
Case 5
Case 6
Input Format
jpeg
pdf
jpg
Other format
Other format
Other format
Input size
size>200
size>200
size>200
size<200
size=200
size>200
output
invalid
invalid
invalid
invalid
invalid
invalid

3.Use Case Testing

Use case testing is the process to give a comment by user and that comment taken by software and show the reaction(intermediate process between the user and software) transaction by transaction start to end action called use case testing.
Enter fullscreen mode Exit fullscreen mode

EX:
To check AnnaUniversity Result

Go to Anna University result
Enter registration number
Click on submit
Final result will shown

scenario
Step no
Step description
U-user
S-system
1
U-Enter valid registration number and click submit

2
S-validate the registration number then display result

4.LCSAJ(Linear code sequence and jump):

LCSAJ is a white box  testing technique which stands for Linear Code Sequence and jump, it is used for testing the code which is written by the developer and its cover and it will cover statement, branch, loop  and functional coverage. Which will test the code by executing the statements and loops line by line
Enter fullscreen mode Exit fullscreen mode

In this type of testing we will calculate the Test Effective Ration to determine the code coverage

LCSAJ consist of three components
Start of the segment
End of the segment
Specific target line

Top comments (0)