Вы находитесь на странице: 1из 4

International Journal of Computer Systems (ISSN: 2394-1065), Volume 03 Issue 03, March, 2016

Available at http://www.ijcsonline.com/

The improvement in Automation Testing to Increase Error Detection Rate in


Software Testing
Kuljeet Kaur, Shilpa Sharma
Department of CSE,
Lovely Professional University, Punjab, India

Abstract
The software testing is the technique which is used to test the software. The various testing techniques has been used
which are usually categories as white box testing, black box testing, gray box testing, regression testing, automation
testing and model based testing. The automation testing is the advanced type of testing in which fewer efforts are
required to test the software. To test the software with automation testing extra codes has been placed with actual code
and errors or bugs are detected from the software. The efficiency of automation testing depends upon the position of the
extra code which is placed with actual code. In the previous research genetic algorithm has been used which will
randomly select the mutation value and calculate fitness function. The fitness function defines the position of extra codes
in the actual code of the software. In this work improvement in genetic algorithm will be proposed which is selected
mutation value accurately, so that more accurate position of the extra code can be defined. This improvement will lead to
improve in the fault detection rate, reduction in fault detection time.
Keywords: Software Testing, Automation Testing, Automation Testing Tools.

I.

INTRODUCTION

Software testing is the process to identify the bugs or


error from the project or software. Software testing is
mainly help to increase the quality of the software.
Software testing is the process to execute the test cases on
the software system and check that are fulfilled the
customer requirement or not [1]. Software testing is a very
expensive phase in development life cycle i.e. mainly used
50%-60% cost for testing. There are different testing levels
are used like unit testing, integration testing, system testing,
acceptance testing, performance testing, regression testing,
stress testing and load testing [3]. There are different
methods for testing i.e. Black box testing, White box
testing and Gray box testing [4]. Mainly testing is
performed with two techniques i.e. manual testing and
automation testing [6]. Manual testing is that in which
make a test cases manually and it takes a more efforts and
more time consuming. Instead manual testing, Automation
testing is run test cases automatically with the help of
automation tools [2]. To reduce the cost and effort we are
used the automation tool for detect the error from the
software. Automation Testing is that which has used some
test script and automation tool for testing purpose.
Automation testing is the process of using computer
program to execute system and user transactions against IT
system. It is achieved by automation testing tool. It is used
in functional testing, load testing, performance testing,
network testing and security testing etc. This tool is very
useful to speed up the test cycle as they can repeat manual
testing processes at a much faster rate. Automation testing
is the best way to increase the effectiveness, efficiency and
scope of your software testing [2]. An automated testing
tool is able to playback the prerecorded and predefined
activities and compare its results with the expected
behavior. Once automated tests are made they can easily

be repeating and they can be unmitigated to perform tasks


impossible with manual testing [12].
Software Automation Testing: It is the process for the
verification of software in which essential steps and test
steps, for example: running, initialization, execution,
analysis and delivery of results are performed
automatically by tools are automated testing.
Software Automation Tester: It is a specialized expert
who enables the creation, debugging, and support of
operational state test scripts, test suites and tools for
automated testing.
Automation Test Tool: Automation test tool is
software through which automated testing specialist
provides debugging, creations, execution and analysis of
test run scripts. There are different automated testing tool
available like Selenium, HP Loader, MATLAB etc.
Test Script: It is a set of guidelines to automatically
check for a certain piece of software.
Test Suite: Test Suite is a combination of test scripts
to test a particular piece of software, common functionality
unity and objectives pursued kit.
Test Run: Test Run is a combination of test scripts and
test suites for future co-run.
Automated test can run fast and frequently, which is
cost effective for software products with a long
maintenance life.
Test Automation is essentially using code to create
programs that perform automated tests for your
software.
Advantages of Automated Testing: Main Advantages
of automated testing are:

258 | International Journal of Computer Systems, ISSN-(2394-1065), Vol. 03, Issue 03, March, 2016

Kuljeet Kaur et al

The improvement in Automation Testing to Increase Error Detection Rate in Software Testing

1. Efficient Testing: Test automation is the best way


to execute testing in an efficient manner.
2. Up gradation and Reusability: Automation testing
is a reusable. Every new software and bug can be upgrade
and up-to-date.
3. Consistency: Test Automation provided a platform
which is consistent according to the testing needs.
4. Unique Programmability: Test automation a
powerful tool for time-saving, resourceful and top notch
results. It serves as a prime component for future testing
scenarios.
II.

RELATED WORK

Software Testing Techniques for


Generation [Gaurav Sain, Kestina Rai]

Test Cases

In this paper they explained about the software testing


and its levels. Software testing is a set of activities which
are used to find out the errors in software. In this paper,
there are used basically three levels of testing- Unit testing,
Integration testing and system testing. This paper basically
deals with various techniques available to design software
testing test cases. Techniques for software testing areEquivalence Partitioning, Boundary Value Analysis, Cause
effect Graphing technique, Decision table technique and
Error Guessing technique. If we design test cases in better
manner and the properly way using test cases designing
techniques then we can get the better result of the software
testing of a software product.
Future Scope: We can implement these test cases
design techniques for real-time scenarios.[1]
Enhancing The Efficiency of Regression Testing
Through Intelligent Agents [Ms.T.M.S.UmmuSalima,
Ms.A.Askarunisha,Dr.N.Ramaraj]
The general objective of this paper is to increase the
efficiency of regression testing. Regression testing is the
process of testing changes the computer programs to make
sure that the older programming still work with the new
changes. In this they used Agent technology. Usage of
agent based regression testing reduces the complexity. In
this paper JADE(Java agent development framework)
framework are used which are implemented in Java which
has reduced the time-to-market for creating distributed
multi-agent applications. In this an agent based technique
for automated regression testing is used. To make the test
cases more versatile to change of application, we define an
agent based technique to produce the test cases which
facilitate the test case creation, execution and repair [2].
Automated testing of GUI Applications: Models, Tools
and Controlling Flakines [Atif M. Memon, Myra B.
Cohen]
System testing of applications with GUI such as web
browser, desktops and mobile apps is more complex than
testing from command lines. In this paper, they introduced
an overview of the state of the art in GUI testing which has
use an open source testing tool, GUITAR. They show how
to setup a system under test, how to concentrate models
without source code, and how to then use those models to
create and replay test cases. In this paper they use totally
different part that will cause flakiness in the execution of

GUI-centric software, and thus have an effect on the results


of analyses and experiments based on such software. In this
paper they explained two tools that is GUTAR and
COMET benchmark.
Future Scope: Explain the new techniques of GUI.[7]
A Systematic Capture and Replay Strategy for Testing
Complex GUI based Java Applications [Omar El Ariss,
Dianxiang Xu, Santosh Dandey, Brad Vender, Phil
McClean, and Brian Slator]
In this paper they explained a testing methodology that
target Java applications with complex GUI structure and
event interactions. They are used the two testing
techniques: Capture and replay testing. This is done by
combining both a model based testing methodology with
the capture and replay method and by implementing
different automated test cases. In this the testing procedure
are done using three phases: 1) Focus on GUI convergence,
2) Concentrate on functional testing, 3) Deals with
regression testing. In this paper GUI testing using two
methodologies for creating test case for SUT: a) capture
and replay approach and b) specification based approach.
Capture and replay tools are: HP QuickTest Professional
software, Rational Robot and CAPBAK. A Test
Development Environment (TDE) that allows the tester to
capture, modify and generate test cases. In specification
based approach, the system behavior that is derived from
the specifications is used to test the GUI. Functional and
behavioral models were derived from either the
specifications or a trusted system. These models then
guided the capturing of test scenarios and the evaluation of
the test cases. The successful testing of the VCell
application, discussed in the case study, showed the
importance of this strategy and the benefits of the changes
and improvements done on the conventional capture and
replay techniques.
Future Scope:
Focus on the automated generation of tests from the
function and decision trees.
Research is to address the issue of applying our
testing strategy to web-based applications.[8]
Semi Automatic search based test generation [Yury
Pavlov and G.Farser]
In this paper they explained the semi-automatic test
generation approach which has based on search based
testing. The meta-heuristic proposed technique are used
which has automatically generated test cases for the
program. In this semi-automated means the code coverage
is higher than fully automatic testing while effort is laser
than manual testing. Mainly in this paper the search based
testing are apply on the unit testing scenario for objectoriented software. In this paper used the EVOSUITE tool.
It is that which has created the individual classes and
candidate solution which has set the test cases. It is
concluded in this paper that EVOSUITE has showed the
editor window which has seen by the user. User will
modification the test suit in attractive way and therefore the
resulting test suit is encouraged again into population of the
genetic algorithm program [9].

259 | International Journal of Computer Systems, ISSN-(2394-1065), Vol. 03, Issue 03, March, 2016

Kuljeet Kaur et al

The improvement in Automation Testing to Increase Error Detection Rate in Software Testing

Automatic Generation of Test Cases Based on Multipopulation Genetic Algorithm [Na Zhang, Biao Wu and
Xiaoan Bao]
In this paper they explained the concept of lack of
sufficient of control flow testing, using the data flow
testing. In this data adequacy criteria are proposed which
has used control flow and data flow criteria. In this paper
they used the concept of multi-population which has
improved the genetic algorithm and increase the search
ability and also design improve parallel evolutionary
algorithm (IPEA). In this they design the parallel genetic
algorithm based on the multi-population which has given
the high efficiency and generated the test case
automatically by using the data flow criteria. The test case
generated by this algorithm is reduced the test time and
cost. In this used branch predicate path and fitness
function. It concluded that by using IPEA based on multipopulation give the effective test cases and reduced the
time and cost of the test cases.
Future Scope:

Introduced the multi-objective algorithm which


has reduced the search time and give better
testing result.[10]

III.

PROBLEM FORMULATION

The software testing is technique to test the software


code and detect errors at early stage in software
development. The white box testing is the type of testing in
which code is visible to tester and test cases are generated
according to type of code. The approach of white box
testing is manual and need lots of affords and time. To
reduce affords and time of testing extra codes are placed
with the actual code which detect errors from the software
this technique is called automation testing. The code which
is placed with actual code is responsible to detect errors
from the software. The efficiency of the automation testing
depends on the segment of the code that where the code is
placed. With the wrong placement of the code which test
the actual code will reduce efficiency of automation testing
in terms of error detection rate. In this work, improvement
will be proposed in the automation testing to place testing
code with actual code which can detect maximum number
of errors from the software.

Flow chart for proposed work:

Design and Development of an Algorithm for


Prioritizing the Test Cases Using Neural Network as
Classifier [Prof Amit Verma and Simarnjeet Kaur]
In this paper they explained the Test case Prioritization
technique which has given the good quality product free
from errors. The main objective of this paper is to detect
the priorities of different test cases through an artificial
neural network. Artificial neural network is that which
helps to select the correct priorities with the help of back
propagation algorithm. When assign the priorities ANN
check whether correct priorities are assigned to the test
cases or not. If they assign the wrong priority to test cases,
it will generate the interrupt. When we want to classify the
different priority test cases then used the classifier. It is
concluded that Classification is very important to detect the
higher priority and lower priority test cases.
Future Scope:
Implemented algorithm which has increase the
robustness,
efficiency
and
reduce
the
complexity.[11]
Search based software testing with genetic using fitness
function [Mr.Gautam M Lodha and Mr.Rahul S Gaikwad]
In this paper they explained that development activity is
an important part of software testing. It is very easy to
develop a code and execute it to find out error from the
program. In this paper genetic algorithm has been
proposed. It is concluded in this paper that it is easy to
generate single test case but to generate number of test
cases genetic algorithm is required. But GA has some
Imperfect results also. To remove imperfection implements
GA with Mutation idea so it can be applied on evolutionary
approach. To produce optimal results it can be possible
with the help of mutation and evolutionary approach for
SBST with fitness function. The use of GA is to search for
test case that satisfies the condition. Therefore evolutionary
approach provides better experimental results [13].

Figure 1Flow Chart for Proposed Work

IV.

CONCLUSION

In this work it has been concluded that automation


testing is the most advanced type of testing to detect the
faults in the software. To perform automation testing some

260 | International Journal of Computer Systems, ISSN-(2394-1065), Vol. 03, Issue 03, March, 2016

Kuljeet Kaur et al

The improvement in Automation Testing to Increase Error Detection Rate in Software Testing

extra codes are placed with the actual code, these extra
codes are responsible to detect faults from the software. To
define exact position of extra code in actual code various
algorithm has been proposed so far. Among various
algorithms genetic algorithm is the algorithm which defines
position on basis of fitness function. The fitness function is
calculated by selecting mutation values randomly. Due to
random selection of mutation value exact position of the
extra code cannot be defined. In this work improvement
will be proposed in genetic algorithm so that more
accurately mutation value are selected which leads to
define more accurate position of the extra code. This
improvement leads to improve error detection rate and
reduction in error detection time.
REFERENCES
[1]

[2]

[3]

[4]
[5]

[6]

[7]

[8]

[9]
[10]

[11]

[12]

[13]

Gaurav Saini and Kestina Rai (2013), Software Testing


Techniques for Test Case Generation, International Journal of
Advanced Research in Computer Science and Software
Engineering, Volume 3, issue 9, September2013.
Ms. T.M.S. Ummu Salima, Ms. A.Askarunisha and Dr.N.Ramaraj,
Enhancing The Efficiency of Regression Testing Through
Intelligent Agents, IEEE, International Conference on
Computational Intelligence and Multimedia Applications 2007
Abhijit A. Sawant, Pranit H. Bari, P. M. Chawan Software Testing
Techniques and Strategies, International Journal of Engineering
Research and Applications (IJERA), Vol. 2, Issue 3, May-Jun 2012,
pp.980-986
Jovanovi, Irena, Software Testing Methods and Techniques
Mohd. Ehmer Khan,Different Forms of Software Testing
Techniques for Finding Errors,IJCSI International Journal of
Computer Science Issues, Vol. 7, Issue 3, No 1, May 2010.
Kuljeet Kaur & Shilpa Sharma A Survey on Software Testing
International Journal of Emerging Trends & Technology in
Computer Science (IJETTCS), Vol.4, Issue 6, ISSN:2278-6856.
Atif M. Memon, Myra B. Cohen Automated testing of GUI
Applications: Models, Tools and Controlling Flakines IEEE 2013,
ICSE 2013, San Francisco, CA, USA Tutorial Summaries
Omar El Ariss, Dianxiang Xu, Santosh Dandey, Brad Vender, Phil
McClean, and Brian Slator A Systematic Capture and Replay
Strategy for Testing Complex GUI based Java Applications IEEE,
2010 Seventh International Conference on Information Technology.
Yury Pavlov & G.Farser Semi Automatic search based test
generation2012 IEEE inter.conf.
Na Zhang, Biao Wu and Xiaoan Bao Automatic Generation of
Test Cases Based on Multi-population Genetic Algorithm
International Journal of Multimedia and Uniquitous Engineering,
Vol.10, No.6(2015), pp.113-122
Prof. Amrit Verma, Simranjeet Kaur Design and Development of
an Algorithm for Prioritizing the Test Cases Using Neural Network
as Classifier International Journal of Advanced research in
Computer Science and Software Engineering, Vol.5, Issue 6, June
2015,ISSN:2277 128X
S.Hushalini & R.P.A.A.Randunu,Software Test Automation in
Practice: Empirical Study from Sri Lanka, International Journal of
Advanced Computer Technology, November 2014 Vol.3, Issue-9,
ISSN:2320-0790
Mr.Gautam M Lodha and Mr.Rahul S Gaikwad, Search based
software testing with genetic using fitness function, Innovative
Applications of Computational Intelligence on Power, Energy and
Controls with their impact on Humanity (CIPECH), 2014

261 | International Journal of Computer Systems, ISSN-(2394-1065), Vol. 03, Issue 03, March, 2016

Вам также может понравиться