0% found this document useful (0 votes)
63 views4 pages

GUI Based Test Case Generation - A Review

Paper Title GUI Based Test Case Generation- A Review Authors Mrs. Aarti Chugh 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. Today’s software system usually features GUI. GUI has become an important and accepted means of interacting with today’s 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. Keywords GUI testing, test case, manual testing, automated testing Citation/Export MLA Mrs. Aarti Chugh, “GUI Based Test Case Generation- A Review”, June 17 Volume 5 Issue 6 , International Journal on Recent and Innovation Trends in Computing and Communication (IJRITCC), ISSN: 2321-8169, PP: 273 – 276 APA Mrs. Aarti Chugh, June 17 Volume 5 Issue 6, “GUI Based Test Case Generation- A Review”, International Journal on Recent and Innovation Trends in Computing and Communication (IJRITCC), ISSN: 2321-8169, PP: 273 – 276

Uploaded by

Editor IJRITCC
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views4 pages

GUI Based Test Case Generation - A Review

Paper Title GUI Based Test Case Generation- A Review Authors Mrs. Aarti Chugh 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. Today’s software system usually features GUI. GUI has become an important and accepted means of interacting with today’s 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. Keywords GUI testing, test case, manual testing, automated testing Citation/Export MLA Mrs. Aarti Chugh, “GUI Based Test Case Generation- A Review”, June 17 Volume 5 Issue 6 , International Journal on Recent and Innovation Trends in Computing and Communication (IJRITCC), ISSN: 2321-8169, PP: 273 – 276 APA Mrs. Aarti Chugh, June 17 Volume 5 Issue 6, “GUI Based Test Case Generation- A Review”, International Journal on Recent and Innovation Trends in Computing and Communication (IJRITCC), ISSN: 2321-8169, PP: 273 – 276

Uploaded by

Editor IJRITCC
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169

Volume: 5 Issue: 6 273 276


_______________________________________________________________________________________________
GUI Based Test Case Generation- A Review

Mrs. Aarti Chugh


Assistant Professor
Amity University, Haryana
achugh@ggn.amity.edu

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.1 Testing using finite state machine


Inputs Shehday et al [7] proposed a technique for automation of a
The output Expected
limited portion of GUI testing. This GUI is first transformed
is correct results=?
in variable finite state machine model. Then convert this
obtained
model to Finite State Machine, and then test cases are
result
generated from FSM. This technique is feasible and
provides coverage of all paths and all transitions.
Figure 1: GUI Testing Process
1.2 Using a goal driven approach
Test cases derived from software artifacts such as Memon et al [8][1] purposed a technique which is based on
specification and design. Testers go through the plan generation. Its objective is to achieve predefined goals
requirements document to understand specifications. After for a specified GUI. The goal act as input and as output,
this, they start preparing test cases using test case templates. generate sequences of actions, which reach these goals.
Test case templates should have details like test steps, data, These sequences of actions are termed as test cases for GUI.
expected result, actual result, pass/fail and comments. It is not capable of handling huge number of states and it
does not cater all events.
Test cases generated either automatically or manually.
Manual testing is done by tester itself and it is often error 1.3 Model based testing
prone and there are chances of most of the scenarios left out. Dalal et al [9] purposed a technique that used to generate
It is also time consuming. Automated GUI testing is done by test cases from requirements and used data model to
using automated techniques and tools. Automated GUI generate test cases. In this first generate data model as an
testing is more efficient, reliable and cost effective [1]. intermediate representation from requirements and
constraints of given GUI and from data model test cases
generated. It is semi automated because tester has to verify
273
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
_______________________________________________________________________________________________
data model manually. It is most applicable to a system for 1.10 Using covering array technique
which data model is sufficient to capture the systems Xun Yuan et al [4], proposed a new automated technique for
behavior. test case generation using covering arrays for GUI testing.
Usually 2-way covering are used for testing. Because as
1.4 Generating test cases for GUI responsibilities number of events in a sequence increases, the size of test
using complete interaction sequence suite grows large, preventing from using sequences longer
While et al[10]purposed a technique in which first of all a than 3 or 4. But certain defects are not detected using this
given GUI is transformed into different tasks and their coverage strength. Using this technique long test sequences
complete interaction sequences(CIS). Then from these, for are generated and it is systematically sampled at particular
every CIS a reduced finite state machine model is created. coverage strength. This technique having disadvantages are
Then test cases are generated by traversing the created event partition and identifying constraints are done
reduced FSM model. manually.

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.

1.7 Dynamic path testing


Korel[13] purposed a technique which generate
test cases by executing the program with different possible
test case value. The test cases are prioritized according to
the shorter path by applying random testing method.

1.8 Multiple test suite prioritation


Rotherma[14] purposed a technique which is used to
prioritize the test cases from multiple test suites. The entire
program is divided into number of test suites and these test
suites contains multiple test cases. The test cases are
prioritized according to weight and rank that are used for
testing program.

1.9 Using GUI run time state as feedback


Xun Yuan and Atif M Menon [3], used GUI run time state Figure 2: GUI Testing methodology
as feedback for test case generation and
feedback is obtained from the execution of a seed test suite 3. COMPARISION OF TECHNIQUES:
on an Application Under Test . This feedback is used to
generate additional test cases and test interaction between The comparison of GUI testing techniques are described in
GUI events in multiple ways. This feedback mechanism is the table 1.
not automated.

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

[1] Isabella and Emi Retna,(2012) Study Paper On Test


Case Generation For GUI Based Testing, International
Journal of Software Engineering
&Applications(IJSEA),Vol.3
[2] A.M. Menon , M.E.Pollack, and M.L.Soffa,(2001)
Hierarchial GUI test case generation using automated
planning , IEEE Transactions on Software
Engineering,Vol.27
[3] X.Yuan and A.M. Menon ,(2007) Using GUI run time
state as feedback to generate test cases , In
International Conference on Software Engineering(ICSE)

[4] X.Yaun, M. Cohen, and A.M. Memon,(2007) Covering
array sampling of input event sequences for automated
GUI testing , in International Conference on
Automated Software Engineering (ASE)
[5] X. Yaun , M.Cohen, and A.M. Menon,(2009) Towards
dynamic adaptive automated test generation for
graphical user interfaces , in First International
Workshop on TESTING Techniques & Experimentation
Benchmarks for Event Driven Software(TESTBEDS)
[6] Itti Hooda, Rajender Chillar(2014) A Review:Study of
test case generation techniques, International Journal
of Computer Journal of Computer Application,vol.107.
[7] R.Shehady and D.Siewiorek(1997),a method to
Automate User Interface Testing Using Variable Finite
State Machines,in Proc. Of the 27th International
Symposium on Fault Tolerant Computing(FTCS)
[8] A.M.Memon, M.E.Pollack,and M.L.Soffa(1999), Using
a Goal Driven Approach to Generate test cases for
GUIs,in Proceedings of the 21st Internationa Conference
on Sftware Engineering(ICSE)
[9] S.R.Dalal, A.Jain, N.Karuanith et al(1999),Model Based
Testing in Practice, in Proc. of the 21st Int. Conf. on
Software Engineering(ICSE)
[10] L.While and H.Aimezen(2005),Generating test cases for
GUI responsibilities using complete interaction
sequences, in Proc. of the 21st IEEE Int. Conf. on
Software Maintenance(ICSM)
[11] F.Belli(2007), Finite State Testing and Analysis of
Graphical User Interface, in Proc. of the 12th Int.
Symposium on Software Reliability Eng.(ISSRE)
[12] M.Vieira, J.Leduc, B.Hasling, R.Subramanyan and
J.Kazmie(2006), Automation of GUI testing using a
Model Driven Approach, in Proceeding of the Int.
Workshop on Automation of Software Test (AST)
[13] Korel.B, L.Tahat and M.Harman(2005),Test
prioritization using System Models,In Proceedings of
the 21st International Conference on Software
Maintenance(ICSM)
[14] G.Rothermal,R.J.Untch,G.Chir(2001),Priortizing test
cases for Regression testing,IEEE Transactions on
software Engineering.
[15] Imran Ali Qureshi and Aamer Nadeem(2013),GUI
Testing Techniques: A Survey, International Journal of
Future computer and communication,Vol.2.

276
IJRITCC | June 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________

You might also like