Skip to main content

Creating Smart Tests from Recorded Automated Test Cases

  • Conference paper
Book cover New Contributions in Information Systems and Technologies

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 353))

Abstract

In order to shorten time to market many software development teams have adopted continuous integration and automated testing. Although user interface test automation is a suitable solution for Agile development, the resulting frequently changing application gives rise to challenging task, especially from the point-of-view of maintenance. In this paper, we present an approach bypassing those drawbacks through test recording enhanced by post-processing that creates smart tests that are easy to maintain. We have analyzed recorded tests and created step signatures that we then use to find a sequence of common steps. Based on this, we identify reusable parts which we consequently optimize using algorithms that are introduced in this paper to remove inefficient duplications in tests.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 369.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Anand, B.R., Krishnankutty, H., Ramakrishnan, K., Venkatesh, V.C.: Business Rules-Based Test Automation: A Novel Approach for Accelerated Testing, pp. 21–28. SETLabs Briefing (2007)

    Google Scholar 

  2. Bohme, M., Paul, S.: On the Efficiency of Automated Testing. In: Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 632–642. ACM (2014)

    Google Scholar 

  3. Buchs, D., Pedro, L.M., Lúcio, L.: Formal test generation from UML models. In: Kohlas, J., Meyer, B., Schiper, A. (eds.) Dependable Systems: Software, Computing, Networks. LNCS, vol. 4028, pp. 145–171. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  4. Fewster, M., Graham, D.: Software Test Automation: Effective Use of Test Execution Tools. Addison-Wesley Professional, ACM Press Books (1999)

    Google Scholar 

  5. Filipsky, M., Bures, M., Jelinek, I.: Finding Common Subsequences in Recorded Test Cases. In: ICSEA 2013, pp. 51–54. IARIA (2013)

    Google Scholar 

  6. Goulding, S., Arunthavarajah, P., Florio, T., Hertyk, J.: BlackHorse: Creating Smart Test Cases from Brittle Recorded Tests. Software Quality Journal, 293–310 (2014)

    Google Scholar 

  7. Hoffman, D.: Cost Benefits Analysis of Test Automation. White paper. Software Quality Methods (1999)

    Google Scholar 

  8. Julstrom, B.A., Hinkemeyer, B.: Starting from Scratch: Growing Longest Common Subsequences with Evolution. In: Runarsson, T.P., Beyer, H.-G., Burke, E.K., Merelo-Guervós, J.J., Whitley, L.D., Yao, X. (eds.) PPSN 2006. LNCS, vol. 4193, pp. 930–938. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  9. Kaner, C.: Software Test Automation: A Real-World Problem. White paper. In: Los Altos Workshop on Software Testing pp. 1–3 (1998)

    Google Scholar 

  10. Lonngren, D.D.: Reducing the cost of test through reuse. In: AUTOTESTCON 1998, Salt Lake City, USA, pp. 48–53. IEEE Press (1998)

    Google Scholar 

  11. Nogueira, S., Sampaio, A., Mota, A.: Test generation from state based use case models. In: Formal Aspects of Computing, pp. 1–50 (2012)

    Google Scholar 

  12. Rothermel, G., Harrold, M.J.: Analyzing Regression Test Selection Techniques. IEEE Transactions on Software Engineering 22, 529–555 (1996)

    Article  Google Scholar 

  13. Shewchuk, Y., Garousi, V.: Experience with Maintenance of a Functional GUI Test Suite using IBM Rational Functional Tester, pp. 489–494. SEKE (2010)

    Google Scholar 

  14. Skoglund, M., Runeson, P.: A case study on regression test suite maintenance in system evolution. In: Proceedings of 20th IEEE International Conference on Software Maintenance, pp. 438–442. IEEE Computer Society Press (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Martin Filipsky .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Filipsky, M., Bures, M., Jelinek, I. (2015). Creating Smart Tests from Recorded Automated Test Cases. In: Rocha, A., Correia, A., Costanzo, S., Reis, L. (eds) New Contributions in Information Systems and Technologies. Advances in Intelligent Systems and Computing, vol 353. Springer, Cham. https://doi.org/10.1007/978-3-319-16486-1_76

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-16486-1_76

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-16485-4

  • Online ISBN: 978-3-319-16486-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics