Test automation for Flex Application : Case: Landis+Gyr Oy
Hudziak, Sabina (2017)
Hudziak, Sabina
Jyväskylän ammattikorkeakoulu
2017
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2017061313452
https://urn.fi/URN:NBN:fi:amk-2017061313452
Tiivistelmä
Test automation has become more and more popular since it helps to save time, and with test automation, tasks impossible to carry out with manual testing can be performed. The thesis was assigned by Landis+Gyr Oy, an international company that needed automated tests for the graphical user interface for one of its web applications. The application uses Apache Flex technology, an open source framework that allows to create applications for different platforms using the same tool, programming model and codebase . The tests will be utilized for regression testing in order to check if the new functionalities break any older, well-working ones.
In the project, a test was created for one of the features of the application to present the whole test creation process. Firstly, after investigating the problem, JIRA Software was used to write the test steps and the expected results to every test case. Then, the test cases were implemented using Robot Framework with FlexSeleniumLibrary and built-in li-braries. However, a custom library was needed and was created using Python 2.7.13, and its functions were used in Robot code. Finally, Git version control system was used to keep track of the code changes, and Gerrit was selected for code review. TortoiseGit tool for Windows made working with Git much faster and easier by providing a graphical represen-tation of Git commands and the file statuses.
As a result, a documented and implemented test was created and prepared to be utilized in regression tests whenever needed. The first part of the report introduces the technologies and the tools that were used, while the second part focuses on the given problem and its solution.
In the project, a test was created for one of the features of the application to present the whole test creation process. Firstly, after investigating the problem, JIRA Software was used to write the test steps and the expected results to every test case. Then, the test cases were implemented using Robot Framework with FlexSeleniumLibrary and built-in li-braries. However, a custom library was needed and was created using Python 2.7.13, and its functions were used in Robot code. Finally, Git version control system was used to keep track of the code changes, and Gerrit was selected for code review. TortoiseGit tool for Windows made working with Git much faster and easier by providing a graphical represen-tation of Git commands and the file statuses.
As a result, a documented and implemented test was created and prepared to be utilized in regression tests whenever needed. The first part of the report introduces the technologies and the tools that were used, while the second part focuses on the given problem and its solution.