Using assertions to help end-user programmers create dependable web macros

  • Authors:
  • Andhy Koesnandar;Sebastian Elbaum;Gregg Rothermel;Lorin Hochstein;Christopher Scaffidi;Kathryn T. Stolee

  • Affiliations:
  • University of Nebraska -- Lincoln, Lincoln, NE;University of Nebraska -- Lincoln, Lincoln, NE;University of Nebraska -- Lincoln, Lincoln, NE;University of Nebraska -- Lincoln, Lincoln, NE;Carnegie Mellon University, Pittsburgh, PA;University of Nebraska -- Lincoln, Lincoln, NE

  • Venue:
  • Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of software engineering
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Web macros give web browser users ways to "program" tedious tasks, allowing those tasks to be repeated more quickly and reliably than when performed by hand. Web macros face dependability problems of their own, however: changes in websites or failure on the part of end-user programmers to anticipate possible macro behaviors can cause macros to act incorrectly, often in ways that are difficult to detect. We would like to provide at least some of the benefits of software engineering methodologies to the creators of web macros. To do this we adapt assertions to web-macro programming scenarios. While assertions are well-known to professional software engineers, our web macro assertions are unique in their focus on website evolution, are generated automatically, and encode the expectations and assumptions of a rapidly growing group of users who often have limited formal programming expertise. We have integrated our techniques for assertion generation and evaluation into a web macro tool, and performed an empirical study investigating its use. Our results show that the assertions can help web macro users detect macro failures and correct macro faults.