Skip to main content

2018 | OriginalPaper | Buchkapitel

Transferring Tests Across Web Applications

verfasst von : Andreas Rau, Jenny Hotzkow, Andreas Zeller

Erschienen in: Web Engineering

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

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!

Literatur
4.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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
Metadaten
Titel
Transferring Tests Across Web Applications
verfasst von
Andreas Rau
Jenny Hotzkow
Andreas Zeller
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-91662-0_4