{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/86319"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/86319","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"REVERSE ENGINEERING AND TESTING DYNAMIC WEB APPLICATIONS","abstract":"A new generation of complex interactive dynamic web applications has emerged with the introduc- tion of Web 2.0 technologies and development frameworks. The characteristics of dynamic web applications such as runtime DOM structure and content updates introduced new challenges in the understanding, maintenance and testing of this type of web applications. In this work we address two important challenges in the field of web application maintenance. The first challenge is that of modelling web application behaviour. To solve this task we develop an automatic method for reverse engineering the features of dynamic web applications by applying a hierarchical clustering algorithm based on a novel composite-tree-edits-aware distance metric between DOM tree instances of a web application. The proposed distance metric recognizes simple and composite structural changes in a DOM tree. We have evaluated our method on three real-world web applications. The evaluation results demonstrated that the proposed distance metric produces a number of clusters that is close to the actual number of features and, also, classifies DOM trees into feature clusters more accurately than other traditional distance metrics. The second challenge is that of systematic acceptance (and regression) testing at the user-interface level, which we address by developing a tool, CrawlScripter, for performing automated acceptance testing of JavaScript web applications. CrawlScripter allows to create easy-to-understand acceptance tests using the provided library of high-level instructions. The ability of CrawlScripter to create automated acceptance tests for different test scenarios was evaluated on both pedagogical and real-world dynamic web applications.","abstract_html":"A new generation of complex interactive dynamic web applications has emerged with the introduc- tion of Web 2.0 technologies and development frameworks. The characteristics of dynamic web applications such as runtime DOM structure and content updates introduced new challenges in the understanding, maintenance and testing of this type of web applications. In this work we address two important challenges in the field of web application maintenance. The first challenge is that of modelling web application behaviour. To solve this task we develop an automatic method for reverse engineering the features of dynamic web applications by applying a hierarchical clustering algorithm based on a novel composite-tree-edits-aware distance metric between DOM tree instances of a web application. The proposed distance metric recognizes simple and composite structural changes in a DOM tree. We have evaluated our method on three real-world web applications. The evaluation results demonstrated that the proposed distance metric produces a number of clusters that is close to the actual number of features and, also, classifies DOM trees into feature clusters more accurately than other traditional distance metrics. The second challenge is that of systematic acceptance (and regression) testing at the user-interface level, which we address by developing a tool, CrawlScripter, for performing automated acceptance testing of JavaScript web applications. CrawlScripter allows to create easy-to-understand acceptance tests using the provided library of high-level instructions. The ability of CrawlScripter to create automated acceptance tests for different test scenarios was evaluated on both pedagogical and real-world dynamic web applications.","abstract_has_math":false,"creators":["Negara, Natalia"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Stroulia, Eleni (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2013,"date_issued":"2013-06","date_published":"2013-06","updated_at":"2026-11-26T21:01:59Z","subjects":["Reverse Engineering","Dynamic Web Applications","Acceptance Testing"],"languages":["en"],"rights":["This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/R3SW80","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/R3SW80","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F86319","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F86319","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Stroulia, Eleni (Computing Science)"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Stroulia, Eleni (Computing Science)","Hindle, Abram (Computing Science)","Reformat, Marek (Electrical and Computer Engineering)"]},{"key":"dc:creator","label":"Author","values":["Negara, Natalia"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-29T03:19:12Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-29T03:19:12Z"]},{"key":"dc:date.issued","label":"Date","values":["2013-06"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Reverse Engineering","Dynamic Web Applications","Acceptance Testing"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/R3SW80"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["A new generation of complex interactive dynamic web applications has emerged with the introduc- tion of Web 2.0 technologies and development frameworks. The characteristics of dynamic web applications such as runtime DOM structure and content updates introduced new challenges in the understanding, maintenance and testing of this type of web applications. In this work we address two important challenges in the field of web application maintenance. The first challenge is that of modelling web application behaviour. To solve this task we develop an automatic method for reverse engineering the features of dynamic web applications by applying a hierarchical clustering algorithm based on a novel composite-tree-edits-aware distance metric between DOM tree instances of a web application. The proposed distance metric recognizes simple and composite structural changes in a DOM tree. We have evaluated our method on three real-world web applications. The evaluation results demonstrated that the proposed distance metric produces a number of clusters that is close to the actual number of features and, also, classifies DOM trees into feature clusters more accurately than other traditional distance metrics. The second challenge is that of systematic acceptance (and regression) testing at the user-interface level, which we address by developing a tool, CrawlScripter, for performing automated acceptance testing of JavaScript web applications. CrawlScripter allows to create easy-to-understand acceptance tests using the provided library of high-level instructions. The ability of CrawlScripter to create automated acceptance tests for different test scenarios was evaluated on both pedagogical and real-world dynamic web applications."]},{"key":"dc:title","label":"Title","values":["REVERSE ENGINEERING AND TESTING DYNAMIC WEB APPLICATIONS"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Stroulia, Eleni (Computing Science)"],"dc:contributor.other":["Stroulia, Eleni (Computing Science)","Hindle, Abram (Computing Science)","Reformat, Marek (Electrical and Computer Engineering)"],"dc:creator":["Negara, Natalia"],"dc:date.accessioned":["2025-05-29T03:19:12Z"],"dc:date.available":["2025-05-29T03:19:12Z"],"dc:date.issued":["2013-06"],"dc:description.abstract":["A new generation of complex interactive dynamic web applications has emerged with the introduc- tion of Web 2.0 technologies and development frameworks. The characteristics of dynamic web applications such as runtime DOM structure and content updates introduced new challenges in the understanding, maintenance and testing of this type of web applications. In this work we address two important challenges in the field of web application maintenance. The first challenge is that of modelling web application behaviour. To solve this task we develop an automatic method for reverse engineering the features of dynamic web applications by applying a hierarchical clustering algorithm based on a novel composite-tree-edits-aware distance metric between DOM tree instances of a web application. The proposed distance metric recognizes simple and composite structural changes in a DOM tree. We have evaluated our method on three real-world web applications. The evaluation results demonstrated that the proposed distance metric produces a number of clusters that is close to the actual number of features and, also, classifies DOM trees into feature clusters more accurately than other traditional distance metrics. The second challenge is that of systematic acceptance (and regression) testing at the user-interface level, which we address by developing a tool, CrawlScripter, for performing automated acceptance testing of JavaScript web applications. CrawlScripter allows to create easy-to-understand acceptance tests using the provided library of high-level instructions. The ability of CrawlScripter to create automated acceptance tests for different test scenarios was evaluated on both pedagogical and real-world dynamic web applications."],"dc:identifier.doi":["https://doi.org/10.7939/R3SW80"],"dc:language.iso":["en"],"dc:rights":["This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"dc:subject":["Reverse Engineering","Dynamic Web Applications","Acceptance Testing"],"dc:title":["REVERSE ENGINEERING AND TESTING DYNAMIC WEB APPLICATIONS"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T21:01:59Z"}