Font Size: a A A

Design And Realization Of The Tool For UI Testing Based On XML

Posted on:2014-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:H HeFull Text:PDF
GTID:2248330395484294Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The User Interface (UI) is an important part of software. The main functions of software are tobe invoked through user interface, so the user interface testing is an important part of modernsoftware testing. The increasingly complexity of the user interface brings great difficulties andchallenges to UI testing. Currently, the capture/replay mechanism is widely used in the tools ofautomated UI testing. However, traditional testing methods cannot fulfill the requirements of UItesting due to the characteristics of multi-language and multi-version. Therefore, it is necessary todevelop suitable automated tools of UI testing. The research objective of this thesis is to implementthe tools of UI testing and the main contributions in this thesis are as follows:(1) An universal framework of the automated testing is designed for the characteristics ofmulti-language and multi-version of modern software. The extraction and storage of UI informationare elaborated respectively.(2) In the domain of UI information extraction, the key point is controls recognition. To solvethe insufficiency of stability and generality, the improved method based on XML to recognize UIcontrols and extract information is proposed. Combining the automation testing tool Silk Test, thismethod analyzes the corresponding DLL files and extracts UI information for XML throughredefining the UI tag identification. Experimental results show that the improved method reducesthe recognizing time of the controls and the redundancy of the program. Moreover, itimproves the universality of the testing and the stability of UI controls recognition.(3) In the domain of UI information storage, an improved XML storage strategy based onHybrid-Inlining method is proposed. Based on Hybrid-Inlining method, the proposed strategy addsthe sub-inline graph and node coding to store the relationship and its structure information of XMLnodes. Experimental results show that the proposed strategy reduces the DTD mapping time and thenumber of relation tables. It also reduces the storage costs and improves the performance of theentire storage strategy.
Keywords/Search Tags:Software Testing, User Interface Testing, Silk Test Tool, Recognize UI Controls, XMLStorage, Node Coding
PDF Full Text Request
Related items