Automated blackbox GUI specifications enhancement and test data generation

dc.contributor.advisor Carl K. Chang
dc.contributor.author Darvish Darab, Mohammad Ali
dc.contributor.department Computer Science
dc.date 2018-08-11T06:09:26.000
dc.date.accessioned 2020-06-30T02:56:06Z
dc.date.available 2020-06-30T02:56:06Z
dc.date.copyright Thu Jan 01 00:00:00 UTC 2015
dc.date.embargo 2001-01-01
dc.date.issued 2015-01-01
dc.description.abstract <p>Applications with a Graphical User Interface (GUI) front-end are ubiquitous nowadays.</p> <p>While automated model-based approaches have been shown to be effective in testing of such applications, most existing techniques produce many infeasible event sequences used as GUI test cases. This happens primarily because the behavioral specifications of the GUI under test are ignored. In this dissertation we present an automated framework that reveals an important set of state-based constraints among GUI events based on infeasible (i.e., unexecutable or partially executable) test cases of a GUI test suite. GUIDiVa, an iterative algorithm at the core of our framework, enumerates all possible constraint violations as potential reasons for test case failure, on the failed event of an infeasible test case. It then selects and adds the most promising constraints of each iteration to a final set based on the Validity Weight of constraints. The results of empirical studies on both seeded and nine non-trivial open-source study subjects show that our framework is capable of capturing important aspects of GUI behavior in the form of state-based event constraints, while considerably reducing the number of insfeasible test cases. The second part of this dissertation deals with the problem of automatic generation of relevant test data for parameterized GUI events (i.e., events associated with widgets that accept user inputs such as textboxes and textareas). Current techniques either manipulate the source code of the application under test (AUT) to generate the test data, or blindly use a set of random string values. We propose a novel way to generate the test data by exploiting the information provided in the GUI structure to extract a set of key identifiers for each parameterized GUI widget. These identifiers are used to compose appropriate online search phrases and collect relevant test data from the Internet. The results of an empirical study on five GUI-based applications show that the proposed approach is applicable and results in execution of some hard-to-cover branches in the subject programs. The proposed technique works from a black-box perspective and is entirely independent from GUI modeling and event sequence generation, thus it does not require source code access and offers the possibility of being integrated with existing GUI testing frameworks.</p>
dc.format.mimetype application/pdf
dc.identifier archive/lib.dr.iastate.edu/etd/14351/
dc.identifier.articleid 5358
dc.identifier.contextkey 7897001
dc.identifier.doi https://doi.org/10.31274/etd-180810-3902
dc.identifier.s3bucket isulib-bepress-aws-west
dc.identifier.submissionpath etd/14351
dc.identifier.uri https://dr.lib.iastate.edu/handle/20.500.12876/28536
dc.language.iso en
dc.source.bitstream archive/lib.dr.iastate.edu/etd/14351/DarvishDarab_iastate_0097E_14932.pdf|||Fri Jan 14 20:18:48 UTC 2022
dc.subject.disciplines Computer Sciences
dc.subject.keywords Computer Science
dc.title Automated blackbox GUI specifications enhancement and test data generation
dc.type article
dc.type.genre dissertation
dspace.entity.type Publication
relation.isOrgUnitOfPublication f7be4eb9-d1d0-4081-859b-b15cee251456
thesis.degree.level dissertation
thesis.degree.name Doctor of Philosophy
File
Original bundle
Now showing 1 - 1 of 1
Name:
DarvishDarab_iastate_0097E_14932.pdf
Size:
532.58 KB
Format:
Adobe Portable Document Format
Description: