Skip to main content
Top

2018 | OriginalPaper | Chapter

Transferring Tests Across Web Applications

Authors : Andreas Rau, Jenny Hotzkow, Andreas Zeller

Published in: Web Engineering

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

When manually testing Web applications, humans can go with vague, yet general instructions, such as “add the product to shopping cart and proceed to checkout”. Can we teach a robot to follow such instructions as well? We show how to leverage tests of other applications to guide test generation for new applications in the same domain: Given a test for payments on Amazon, we guide test generation on eBay towards payment functionality, exploiting the semantic similarity between UI elements across both applications. Evaluated on twelve Web apps in three domains, our approach allows for discovering deep functionality in a few minutes, where an undirected crawler would require days or weeks to accomplish the same task.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
4.
go back to reference David, B.: Selenium 2 Testing Tools: Beginner’s Guide. Packt Publishing, Birmingham (2012) David, B.: Selenium 2 Testing Tools: Beginner’s Guide. Packt Publishing, Birmingham (2012)
6.
go back to reference Jivani, A.G., et al.: A comparative study of stemming algorithms. Int. J. Comput. Tech. Appl 2(6), 1930–1938 (2011) Jivani, A.G., et al.: A comparative study of stemming algorithms. Int. J. Comput. Tech. Appl 2(6), 1930–1938 (2011)
7.
go back to reference Karpathy, A., Fei-Fei, L.: Deep visual-semantic alignments for generating image descriptions. In: The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2015 Karpathy, A., Fei-Fei, L.: Deep visual-semantic alignments for generating image descriptions. In: The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2015
9.
go back to reference Lin, J.W., Wang, F., Chu, P.: Using semantic similarity in crawling-based web application testing. In: 2017 IEEE International Conference on Software Testing, Verification and Validation (ICST), pp. 138–148. IEEE (2017) Lin, J.W., Wang, F., Chu, P.: Using semantic similarity in crawling-based web application testing. In: 2017 IEEE International Conference on Software Testing, Verification and Validation (ICST), pp. 138–148. IEEE (2017)
10.
go back to reference Manning, C.D., Raghavan, P., Schütze, H.: Introduction to Information Retrieval. Cambridge University Press, New York (2008)CrossRef Manning, C.D., Raghavan, P., Schütze, H.: Introduction to Information Retrieval. Cambridge University Press, New York (2008)CrossRef
15.
go back to reference Minnen, G., Carroll, J., Pearce, D.: Applied morphological processing of English. Nat. Lang. Eng. 7(3), 207–223 (2001)CrossRef Minnen, G., Carroll, J., Pearce, D.: Applied morphological processing of English. Nat. Lang. Eng. 7(3), 207–223 (2001)CrossRef
16.
go back to reference Rau, A.: Topic-driven testing. In: 2017 IEEE/ACM 39th International Conference on Software Engineering Companion (ICSE-C), pp. 409–412. IEEE (2017) Rau, A.: Topic-driven testing. In: 2017 IEEE/ACM 39th International Conference on Software Engineering Companion (ICSE-C), pp. 409–412. IEEE (2017)
19.
go back to reference Sprenkle, S., Pollock, L., Esquivel, H., Hazelwood, B., Ecott, S.: Automated oracle comparators for testing Web applications. In: The 18th IEEE International Symposium on Software Reliability, ISSRE 2007, pp. 117–126. IEEE (2007) Sprenkle, S., Pollock, L., Esquivel, H., Hazelwood, B., Ecott, S.: Automated oracle comparators for testing Web applications. In: The 18th IEEE International Symposium on Software Reliability, ISSRE 2007, pp. 117–126. IEEE (2007)
20.
go back to reference Thummalapenta, S., Devaki, P., Sinha, S., Chandra, S., Gnanasundaram, S., Nagaraj, D.D., Sathishkumar, S.: Efficient and change-resilient test automation: an industrial case study. In: Proceedings of the 2013 International Conference on Software Engineering, ICSE 2013, pp. 1002–1011. IEEE Press, Piscataway (2013). http://dl.acm.org/citation.cfm?id=2486788.2486926 Thummalapenta, S., Devaki, P., Sinha, S., Chandra, S., Gnanasundaram, S., Nagaraj, D.D., Sathishkumar, S.: Efficient and change-resilient test automation: an industrial case study. In: Proceedings of the 2013 International Conference on Software Engineering, ICSE 2013, pp. 1002–1011. IEEE Press, Piscataway (2013). http://​dl.​acm.​org/​citation.​cfm?​id=​2486788.​2486926
Metadata
Title
Transferring Tests Across Web Applications
Authors
Andreas Rau
Jenny Hotzkow
Andreas Zeller
Copyright Year
2018
DOI
https://doi.org/10.1007/978-3-319-91662-0_4

Premium Partner