Automating UI Tests for a Web Application Using Test-Complete
Shakurova, Olga (2015)
Shakurova, Olga
HAAGA-HELIA ammattikorkeakoulu
2015
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-201504214638
https://urn.fi/URN:NBN:fi:amk-201504214638
Tiivistelmä
The goal of this thesis is to discover how to make UI test automation successful and reveal benefits it provides for software development. The study is based on the smoke test automation project. It was completed for the case company product using TestComplete.
Test Automation is an activity which aims to save testing time, increase coverage and hence promote efficient software testing. TestComplete is a popular commercial test automation tool for a wide range of application types, including web applications.
The system under test is a web-based document management system for complex industrial projects.
The objectives of the study are to provide some guiding material about automating user interface tests for a web application using TestComplete with clear examples, images, code blocks, and familiarize testers with problems encountered during the project implementation and ways to avoid them.
The study process started in September 2014 and ended in February 2015. The thesis is written based mainly on the author’s personal experience as well as the Internet resources, such as the SmartBear official site, e-books, articles.
To introduce the subject of the paper, the theoretical background is presented first. It is then followed by the project description and findings. The theoretical part includes information about software testing and test automation in general, and then focuses on the TestComplete theoretical basis. Modular scripting and data-driven testing approaches were combined during the implementation process.
The thesis resulted in a step-by-step description of automating user interface tests with TestComplete. It can guide testers through the test automation process. It can also help quickly understand the basic concepts of the tool, the benefits TestComplete and test automation provide and possible problems that may arise during automation. It gives tips for creating more reliable test scripts. The tangible result of the thesis is the TestComplete project which enables to run tests automatically when the case system needs that.
Test Automation is an activity which aims to save testing time, increase coverage and hence promote efficient software testing. TestComplete is a popular commercial test automation tool for a wide range of application types, including web applications.
The system under test is a web-based document management system for complex industrial projects.
The objectives of the study are to provide some guiding material about automating user interface tests for a web application using TestComplete with clear examples, images, code blocks, and familiarize testers with problems encountered during the project implementation and ways to avoid them.
The study process started in September 2014 and ended in February 2015. The thesis is written based mainly on the author’s personal experience as well as the Internet resources, such as the SmartBear official site, e-books, articles.
To introduce the subject of the paper, the theoretical background is presented first. It is then followed by the project description and findings. The theoretical part includes information about software testing and test automation in general, and then focuses on the TestComplete theoretical basis. Modular scripting and data-driven testing approaches were combined during the implementation process.
The thesis resulted in a step-by-step description of automating user interface tests with TestComplete. It can guide testers through the test automation process. It can also help quickly understand the basic concepts of the tool, the benefits TestComplete and test automation provide and possible problems that may arise during automation. It gives tips for creating more reliable test scripts. The tangible result of the thesis is the TestComplete project which enables to run tests automatically when the case system needs that.