GUI Based Test Case Generation - A Review
GUI Based Test Case Generation - A Review
Abstract:- Our society is becoming more and more dependent on software systems. The most widespread activities to increase the
confidence in the correctness of software is testing. Todays software system usually features GUI. GUI has become an important
and accepted means of interacting with todays software. The testing needs to be performed in a way that it meets its written
specifications and to detect if application is working functionally correct. In this paper we describe different techniques used for
test case generation for GUI.
General Terms
GUI testing, test case, manual testing, automated testing
_________________________________________*****_________________________________________
INTRODUCTION GUI testing having difficulties like GUI test automation is
difficult and this test automation is technology dependent
With growing complexity of web application, identifying and GUI test maintenance is hard and costly.GUI testing
web interfaces that can be used for testing such application having advantages also like it is feasible, easy to conduct for
has become increasingly challenging and todays software non expert people, great test coverage and increased test
system usually feature GUI. Testing process is a method of
speed, test efficiency , software quality
executing a program on set of test cases and comparing
result with expected result. 1. RELATED WORK
I1,I2,I3In GUI Our There are different GUI testing techniques that had been
program purposed. Some of them are as follows:
1.5 Finite state testing and analysis of GUI 1.11 Dynamic adaptive automated test generation
Belli et al[11]extended work of While with certain Xun Yuan et al [5], suggested algorithm to generate test
improvements like for effectiveness of generated test case, suites with fewer infeasible test cases and higher event
introduction of test coverage criteria, suggestion to cover all interaction coverage. Due to dynamic state based nature of
possible combination of node with edges for the complete GUIs, it is necessary and important to generate test cases
coverage of nodes and edges. It detects more faults but still based on feedback from the execution of tests. The
not considered as a cost effective because tool support is disadvantages are event contexts are not incorporated and
still required. need coverage and test adequacy criteria to check how these
impacts fault detection.
1.6 Automation of GUI testing using model driven
approach 2. RESEARCH METHODOLOGY:
Vieira et al[12] purposed a technique which aim is to
improve effectiveness of testing and developing cost Basically the GUI testing methodology is described in the
effective model based technique for GUI testing. block diagram in Figure 1.
274
IJRITCC | June 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 6 273 276
_______________________________________________________________________________________________
Table 1: Comparison of GUI Testing Techniques A. Input representation of GUI under test
Types of Input Intermedi Covera Automat Tool When a GUI is given for testing, each technique requires
techniqu representa ate ge ion used some information according to the mechanism of that
es tion representa criteria
tion
technique. This parameter describes the type of information
VFSM Input FSM All Yes No required by a technique as a first step [15].
,output,vari model, paths,
ale states VFSM all B. Intermediate representation
model transiti
ons The information acquired from the GUI
By goal Source file Hierarchica All Semi PATH under test may be transformed into intermediate
driven of GUI l model transiti S
representation to make them clear and easy to generate test
approach on
cases. This parameter helps to determine the test case
Model Requireme Data model Pairwis Semi AETG
based nts & e
generation mechanism for a technique [15].
testing in constraints
practice of GUI C. Coverage criteria
Using Identificati Reduced All No No
complete on of CIS FSM paths,
This parameter describes the type of coverage criteria
intractio all adopted by a technique. Since in GUI testing we have to
n transiti evaluate events, states and their relationships because we
sequence on know that every action is associated with some events and
Finite Identificati FSM All No No
every event generates a new state [15].
state on of CIS model paths
testing &FCIS ,all
&analysi transiti D. Automation
s on
On the Identificati Mealy All Semi Win This parameter describes whether the said technique is
test case on of machine paths Runne automatable or not. Automation is a key factor for any GUI
definitio single ,event r test case generation technique[15].
n for actions transiti
GUI &Output on
E. Tool support
testing
Using GUI into UML Data Semi UML
model UML coverag
This parameter describes whether the said technique has any
driven model e, graph tool support or not. It could be possible that a technique
approach coverag might be automatable but no tool support is available for
e each technique. Values are yes and no[15].
Cost Auto GUI All Full No
effective extraction transiti
4. CONCLUSION
model of GUI on
based model
techniqu
As GUI is the most popular human-computer interface in
e todays software system. As GUI testing is the process of
Event Source file Event flow All Semi GUIT testing a products graphical user interface to ensure it meets
flow of GUI model transiti AR its written specification. This is normally done through the
model on
use of a variety of test cases.
,event
interact
ion In this paper, we have studied different GUI test case
Hierarch Given GUI GUI model All - No generation techniques. All techniques have their own merits
ical into six transiti and demerits. Among all of these techniques Model-Driven
predicate tuples on Approach technique is most convenient technique due to the
transitio
n nets
reason that it is the faster than other techniques, it is cost
effective and less error-prone and Cost Effective Model
based technique is also good because it is fully automated
The GUI Testing techniques are evaluated on the basis of technique. Techniques like GUI Run Time State as
these parameters: Feedback and Covering Array Technique are not so good in
these techniques most of the work is done manually.
275
IJRITCC | June 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 6 273 276
_______________________________________________________________________________________________
REFERENCES
276
IJRITCC | June 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________