Font Size: a A A

Research On Linux GUI Automated Testing Method Based On Element Tree

Posted on:2019-04-17Degree:MasterType:Thesis
Country:ChinaCandidate:W C YuanFull Text:PDF
GTID:2348330545987528Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Software testing is an important means to ensure the software quality,is also an important link in the process of software development.With the development of the software design technology,growing application fields of software and increasingly difficult problems will be solved.Manual testing dose not satisfy the needs of testing.It is the better choice to introduce the automated testing method.Most of the automated testing is based on traditional Windows and Web software.However,most of Linux GUI adopts the Manual testing methods because of lacking of automated testing method.Therefore,it makes profound sense to research the automated method of Linux GUI.Linux GUI automated testing problem is researched in this paper.Existing automated testing technology and software testing model,automated testing task of Linux GUI and software evaluation standard are analyzed.Widget constitution and hierarchical construction of GUI are researched,feasibility analysis are implemented to create model.Element tree model is given to describe the widget constitution and hierarchical construction of Linux GUI,Object-oriented technology is combined.Widget class and Widget script class of Linux GUI is defined.According to the widget constitution and hierarchical relationship,the linked father and child list storage expression of element tree is given.Algorithm of creating element tree by widget data set is also given in this paper.For the problem of general function testing of Linux GUI widget,automatic call of script on automated testing method based on element tree is given.Testing sequence is produced by traversal of element tree.Object of widget script class is created and called automatically by traversal order,achieves the unit/component general function testing of Linux GUI.Automated testing method based on element tree is given for the uncommon function testing of Linux GUI widget.The method is based on element tree.According to the detailed testing target,selecting the detailed widget,test case and test script are created to achieve uncommon function testing.Execute the test script to achieve uncommon function testing.To achieve automated testing of system production attachment,service subscription function testing of Subscription Manager under Linux GNOME,experiment of automated testing based on element tree model is designed and element model is created in this paper.General function testing and uncommon function testing of the software are tested withproducing the testing results.By contrast with manual testing results,the method improves accuracy of testing and efficiency,is better in stress testing and stability testing of huge data and repeated operation.
Keywords/Search Tags:software testing model, element tree model, Linux GUI, automated testing
PDF Full Text Request
Related items