Software Testing
Software Testing
There are two different types of software testing currently used in the
industry both have their own advantages and disadvantages.
In automated
In manual testing,
testing, the test
the test cases are
cases are executed
executed by the
by the software
human tester.
Definition tools.
Automation testing is
Manual testing is
faster than manual
time-consuming.
Processing Time testing.
Automation
Parameters Manual Testing Testing
Automation testing
Manual testing takes takes up automation
Resources up human resources. tools and trained
requirement employees.
Automation testing
Manual testing
uses frameworks like
Framework doesn’t use
Data Drive, Keyword,
frameworks.
requirement etc.
In the above table, one can clearly identify all valid and invalid test
values (values consider during testing the system).
1. Valid value: Test values at which the system does not fail and
function properly as per user requirement.
2. Invalid Values: test values that do not meet the system
requirement.
Let’s consider some password values for valid and invalid class
1. 1234 is of length 4 which is an invalid password as 4<8.
2. 567890234 is of length 9 which is a valid password as 9 lies
between 8-12
3. 4536278654329 is of length 13 which is an invalid password as
13>12.
Example-1:
Consider percentage field that will accept percentage
only between 50 to 90 %, more and even less than not
be accepted, and application will redirect user to an error
page.
Example-1:
Let us consider an example of any college admission process. There is a
college that gives admissions to students based upon their percentage.
Email Id (Input) T T F F
Password (Input) T F T F
Action(Output) H E E E
Data-flow testing is a white box testing technique that can be used to detect improper use of data
values due to coding errors. For instance, a software programmer might use a variable without
defining it. Additionally, he/she may define a variable, but not initialize it and then use that variable
in a predicate.
e.g. int x ;
if (x ==100)
};
In data-flow testing, the first step is to model the program as a control flow graph. This helps to
identify the control flow information in the program. In step 2, the associations between the
definitions and uses of the variables that is needed to be covered in a given coverage criterion is
established. In step 3, the test suite is created using a finite number of paths from step 2.