skip to main content
research-article

Improved GUI Testing using Task Parallel Library

Published: 22 February 2016 Publication History

Abstract

While performing a software engineering project, testing is one of the effort intensive activity accounting for up to 50% of total software development cost. To reduce this cost, parallel execution of test cases is a preferred way for developers. Task Parallel Library (TPL) is a powerful and scalable library providing a wide range of methods while facilitating test harnesses. Here, we propose a novel algorithm P-GUI, thereby using TPL. Results of experiment designed on 10 web pages show that proposed algorithm achieved a speedup of 1.4 on average

References

[1]
A. Grilo, A. Paiva and J. Faria, Reverse engineering of GUI models for testing, Int. Conf.Information Systems and Technologies (CISTI), (2010), pp. 1--6.
[2]
A. Holmes, M. Kellogg, Automating functional tests using selenium, Agile Conference, (2006).
[3]
A. J. Offutt and J. Pan, Automatically detecting equivalent mutants and infeasible paths, Software testing, verification and reliability 7(3) (1997) 165--192.
[4]
A. Shameen and J. Roberts (ads.), Multi-core programming, digital edn. (Intel press, USA, 2006).
[5]
A. M. Memon, M. Pollack and M. Sofia, Plan Generation for GUI Testing, Int. Conf. The Fifth International Conference on Artificial Intelligence Planning and Scheduling, (2000), pp. 226--235.
[6]
A. Memon, I. Banerjee and A. Nagarajan, What test oracle should I use for effective GUI testing?, Int. Conf. Automated Software Engineering, (2003), pp. 164--103.
[7]
A. M. Memon, An event ow model of GUI based applications for testing, Software Testing, Verification and Reliability 17(3) (2007) 137--157.
[8]
A. Ruiz and Y. M. Price, GUI testing made easy, Int. Conf. of TAIC PART'08. Testing: Academic Industrial Conference, (Washington, DC, USA, 2008), pp. 99--103.
[9]
D. Leijen, S. Wolfram and S. Burckhard, The design of a task parallel library, Acm Sigplan Notices, 44(10), (2009), 227--241.
[10]
G. M. Amdahl, Validity of the Single Processor Approach to Achieving Large Scale Computing nCapabilities, Int. Conf. AFIPS., (Atlantic City, 1967), pp.483--485.
[11]
H. Jin, D. Jespersen, P. Mehrotra, R. Biswas, L. Huang and B. Chapman, High performance computing using MPI and OpenMP on multi-core parallel systems, Parallel Computing 37(9) (2011) 562--575.
[12]
H. Cuixiong and T.Neamtiu, Automating GUI testing for Android applications, Proc. of the 6th Int. Conf. International Workshop on Automation of Software Test, (California, USA, 2011), pp. 77--83.
[13]
H. Hu, C. Jiang, F. Ye, K-Y. Cai, D. Huang, S. Yau, A Parallel Implementation Strategy of Adaptive Testing, IEEE Computer Software and Applications Conference Workshops, (2010), pp. 214--219.
[14]
I. Banerjee, B. Nguyen, V. Garousi and A. Memon, Graphical user interface (GUI) testing: Systematic mapping and repository, Information and Software Technology 55(10) (2013) 1679--1694.
[15]
I. Foster, Designing and building parallel programs, (Reading: Addison-Wesley, 1995).
[16]
J. JaJa, An introduction to parallel algorithms, Addison Wesley Longman Publishing, 1992.
[17]
J. Lourenco et al., An integrated testing and debugging environment for parallel and distributed programs, Proc. of 23rd EUROMICRO Conference, (1997), pp. 291--298.
[18]
J. Walker, A Proposed Parallel Software Testing Paradigm, (1990).
[19]
J. L. Gustafson, Reevaluating Amdahl's law, Communications of the ACM, 31(5), (1988) 532--533.
[20]
K. D. Devine et al., New challenges in dynamic load balancing, Applied Numerical Mathematics 52(2) (2005) 133--152.
[21]
K. Li, Average-case performance analysis of online nonclairvoyant scheduling of parallel tasks with precedence constraints, The Computer Journal 51(2) (2007) 216--226.
[22]
K. Haksong, Y. Lee, S. Kang., A Novel Massively Parallel Testing Method Using Multi-Root for High Reliability, IEEE Transactions on Reliability 64(1) (2015) 486--496.
[23]
L. White, H. Almezen and N. Alzeidi, User-based testing of GUI sequences and their interactions, Proc. of the 12th Int. Conf. on Software Reliability Engineering (2001), pp. 54--63.
[24]
L. White and H. Almezen, Generating Test Cases for CUI Responsibilities Using Complete Interaction Sequences, Proc. of the Int. Symp. on Software Reliability Engineering, (San Jose CA, 2000), pp. 110--121.
[25]
M. M. Öztürk and A. Zengin, Investigation of test automation data using statistical methods, Sigma 32 10--22.
[26]
P. Ammann and J. Offutt, Introduction to software testing, (Cambridge University Press, 2007).
[27]
P. R. Mateo and M. P. Usaola, Parallel mutation testing, Software Testing, Verification and Reliability 23(4) (2013) 315--350.
[28]
R. Rabenseifner, G. Hager and G. Jost, Hybrid MPI/OpenMP parallel programming on clusters of multi-core SMP nodes, Proc. of the 17th Int. Conf. Euromicro Parallel, Distributed and Network-based Processing. (2009), pp. 427--436.
[29]
R. J. Weber, Statistical Software Testing with Parallel Modeling: A Case Study, Proc. of 15th InternationalSymposium on Software Reliability Engineering, (2004), pp. 35--44.
[30]
S. Su et al., Enhanced Energy-Efficient Scheduling for Parallel Tasks Using Partial Optimal Slacking, The Computer Journal (2014).
[31]
S. Misailovic et al., Parallel test generation and execution with Korat, Proc. of the the 6th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering, (2007), pp. 135--144.
[32]
S. Bucur, V. Ureche, C. Zamfir, G. Candea, Parallel symbolic execution for automated real-world software testing, Proc. of sixth conference on Computer systems, (Salzburg, Austria, 2011), pp. 183--198.
[33]
S. Kantabutra, Fast Sequential and Parallel Vertex Relabelings of Km, m., International Journal of Foundations of Computer Science 26(01) 33--50.
[34]
S. Arlt, I. Banerjee, C. Bertolini, A. M. Memon and M. Schaf, Grey-box GUI Testing: Efficient Generation of Event Sequences, arXiv preprint arXiv:1205.4928 (2012).
[35]
T. Chang, T. Yeh and R. Miller, GUI testing using computer vision, Int. Conf. SIGCHI Conference on Human Factors in Computing Systems, (USA, 2010), pp. 1535--1544.
[36]
T. Hanawa et al., Large-scale software testing environment using cloud computing technology for dependable parallel and distributed systems, Proc. of 3rd. Software Testing, Verification, and Validation Workshops, (2010), pp. 428--433.
[37]
T. S. Xinming, Y. J. Liu, A Test Sequence Selection Method for Parallel Software Systems,Fourth International Symposium on Parallel Architectures, Algorithms and Programming (2011), pp. 163--167.
[38]
W. Gropp, E. Lusk, N. Doss and A. Skjellum, A high-performance, portable implementation of the MPI message passing interface standard, Parallel computing 22(69 (1996) 789--828.
[39]
Y. Miao and X. Yang, An FSM based GUI Test Automation Model, Proc. of 11th Int. Conf. on Control, Automation, Robotics and Vision, (Singapore, 2010), pp. 120--126.

Cited By

View all
  • (2021)Why many challenges with GUI test automation (will) remainInformation and Software Technology10.1016/j.infsof.2021.106625138(106625)Online publication date: Oct-2021

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGSOFT Software Engineering Notes
ACM SIGSOFT Software Engineering Notes  Volume 41, Issue 1
January 2016
106 pages
ISSN:0163-5948
DOI:10.1145/2853073
Issue’s Table of Contents
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 February 2016
Published in SIGSOFT Volume 41, Issue 1

Check for updates

Author Tags

  1. GUI testing
  2. Parallel testing
  3. automated testing
  4. tpl

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2021)Why many challenges with GUI test automation (will) remainInformation and Software Technology10.1016/j.infsof.2021.106625138(106625)Online publication date: Oct-2021

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media