Font Size: a A A

Research On GUI Software Test Case Generation Method

Posted on:2019-05-17Degree:MasterType:Thesis
Country:ChinaCandidate:R F XiangFull Text:PDF
GTID:2428330596451111Subject:Engineering
Abstract/Summary:PDF Full Text Request
GUI software testing method is a measure used to verify whether the function of the GUI software corresponds to the protocols of the GUI software.Due to the low level of abstraction based on the traditional recording / playback technology,which leads to the difficulty of maintaining test scripts,more and more scholars are beginning to study model-based GUI software testing methods.The thesis starts from the GUI behavior model and studies the generation method of GUI software test cases.The main research work are as follows.The existing FSM and EFG models model GUI software only based on the relationship between the user interface layer,without involving the corresponding code.These models do not consider the underlying dependencies between the controls.The thesis analyses the software from the code layer and interface layer,and proposes a GUI test model WEHG.With limited time and resource constraints,we can not find all the GUI software defects.In this thesis,we design a GUI software test cases generation method.The method on the basis of WEHG model generated with the priority order of abstract test cases set,then the abstract test suite in combination with the existing EFG model generated executable set of test cases.Currently,most GUI software use the agile development method.The GUI control will be modified each time the GUI software version is updated.For the modification of the control,an appropriate regression test case needs to be designed to cover the modified control.In this thesis,we use the ant colony algorithm to add GUI regression test cases.This method uses the path taken by artificial ants to simulate the GUI software regression test case set generation process.Finally,the thesis uses experiments to demonstrate that the method of generating GUI software test cases based on WEHG model can effectively improve the coverage rate of the underlying code.When executing the same number of test cases,compared with other methods,the method of generating test cases based on WEHG model can cover defined-reference pair and can find more software defects.When the GUI software regression test is performed,the test case set based on ant colony algorithm can achieve the same change control coverage and effectively reduce the number of new regression test cases.
Keywords/Search Tags:software testing, software bugs, regression tests, ant colony algorithms, test cases
PDF Full Text Request
Related items