Font Size: a A A

Research And Realization Of GUI Automated Testing Tool

Posted on:2009-06-23Degree:MasterType:Thesis
Country:ChinaCandidate:J GuoFull Text:PDF
GTID:2178360245989155Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
GUI (Graphical User Interface) has been one of the most important components of the modern software as a mostly mutual mean between the user and the software. The functions of the software are called mainly through the GUI, so the GUI testing is the key process in modern software testing. Due to GUI software's speciality the existent software testing method can not be used for the GUI testing, and moreover, little academic research about GUI has been done, and little related resource can be obtained too, so the study in GUI auto-testing has very important realistic significance.Due to the GUI's complexity and speciality this thesis firstly focuses on issues of modeling facing GUI auto-testing, which has high abstract and generalize all kinds of GUI's characteristic. This model can be used in many applications and set up the theory foundation for the after design.Presently the GUI auto-testing tools generally adopt the C/P (Capture/Playback) mechanism which didn't give the GUI auto-testing effective support. Therefore, the author begins to analyze the present GUI auto-testing mechanism and puts forward the optimized project about GUI auto-testing which places emphasis upon improving capture mechanism, auto-validating and generating the test report and data-driving test script mechanism. The new improved mechanism decreases the operating time between the user and the software, avoids the complex checking process of manual testing, and simplifys the test data's generating and maintenance process. The author's research has very useful application value.According to the improved project, the author designs and realizes the GUI auto-testing tool which needs less test operation work. The auto-testing tool uses the auto-surveying GUI controls and auto-executing GUI events substituting for the usual C/P mechanism, and uses the data-driving prevalent test script to avoid the complex correspondence between multi-testcase and multi-testscript. The auto-testing tool starts the front GUI events automatically by synthesizing the Win32 API functions in order to achieve the higher level auto-testing aim and uses the XML data memorizer to save the testcase and the validation data in order to creat the script and show the validation result.The mechanisms proposed by the author are workable and can be easily adapted to the GUI auto-testing, which is useful for improving the auto-testing degree, reducing the testing cost and enhancing the GUI software quality.
Keywords/Search Tags:auto-testing, Graphical User Interface, GUI testing tool, test script
PDF Full Text Request
Related items