Original title:
Využití dynamických jazyků pro testování GUI na platformě .NET
Translated title:
Testing GUI in .NET Using Dynamic Languages
Authors:
Formánková, Klára ; Češka, Milan (referee) ; Lengál, Ondřej (advisor) Document type: Bachelor's theses
Year:
2020
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Tato práce se zabývá automatizací procesu testování grafického uživatelského rozhraní (GUI), konkrétně tvorbou frameworku pro testování GUI aplikací firmy VF, jehož cílem je ušetřit čas testerům a zaručit rychlejší odhalování chyb. Framework je zaměřen na testování aplikací implementovaných v jazyce C#, což v práci vedlo k prozkoumání možností využití dynamických jazyků platformy .NET a existujících nástrojů pro automatické testování GUI. Na základě zjištěných údajů je výsledný framework implementován v jazyce IronPython a s využitím prostředků frameworků White a unittest nabízí metody pro simulaci uživatelských akcí typu kliknutí na tlačítko, vyplnění textboxu apod. Mimo to framework umožňuje testovat zdroje popisků v aplikaci, ověřovat vzájemné překrývání prvků oken aplikace a využívat principů fuzz testování. Hlavním přínosem celé práce je zavedení postupů automatického testování do vývojového procesu ve firmě VF.
The thesis deals with the topic of automation testing of graphical user interfaces (GUIs). Specifically, it handles the creation of a framework for testing GUI of applications of the VF company. The framework aims to save testers' time and guarantee faster error detection. It focuses on testing applications implemented in C#, which led to the exploration of the possibilities of using the .NET platform dynamic languages and existing tools for GUI automation testing. Based on the obtained data, the resulting framework is implemented in the IronPython language and, using the White and unittest frameworks, offers methods for simulating user actions such as clicking a button or filling a textbox. Moreover, the framework allows to test sources of the application labels, verify the overlap of application window elements and use the basic methods of fuzz testing. The main benefit of the thesis is the introduction of automation testing procedures into the development process in the VF company.
Keywords:
.NET framework; C#; graphical user interface; GUI; GUI inspect tools; IronPython; testing; unittest framework; White framework; WPF; .NET framework; C#; grafické uživatelské rozhraní; GUI; GUI inspect tools; IronPython; testování; unittest framework; White framework; WPF
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/191700