Interaction Based Software Testing
Loading...
Files
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
Testing is defined as a process of executing a program or system with the intent of
finding errors. Testing consists of validating and verifying the software artifacts so that
they meet their business and technical requirements. It is a very important and timeconsuming
part of software development life cycle. But most of the software fails
because of not being tested properly. The reason behind failure mainly includes errors
present in analysis and design phase.
In proposed work, design diagrams of the software are used for test cases generation. The
test case generation using design helps to plan test case early. Generating test cases from
design are more effective and efficient as design is closer to White Box testing.
Sometimes during test cases generation, we come to know about any incompleteness and
inconsistence in requirement, which can overcome by taking necessary measures taken in
time.
The proposed system focus on three UML diagrams that are Class, Statechart and
Activity diagram. The petal files also called mdl file of these diagrams are parsed by the
tool.. It tokenizes the line into words and then matches the string with the pattern to find
the test case information. Then the text files created are entered to the Oracle database
using SQL *Loader. Before loading text files to SQL *Loader it was necessary to create
control file and a Dat file. The control file tells SQL*Loader where to find the data, how
to parse and interpret the data and where to insert the data. Dat file which contains the
data i.e. the text file from the tool is saved with extension .dat and it serves the purpose of
Dat file in SQL *Loader to load the data. The text files in the form of Dat file are loaded
to Oracle database. Further queries are fired from Java to extract the strings from
database and use them to generate automatic test cases.
