Font Size: a A A

Research On The Repair Technology Of GUI Test Cases

Posted on:2019-02-07Degree:MasterType:Thesis
Country:ChinaCandidate:S X LaiFull Text:PDF
GTID:2438330548457597Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Software testing,as an important part of software engineering,can not be separated from software testing in every stage of development and maintenance.As an important regression test in software testing,the main effect lies in the software upgrade or revision.It is more complicated to continuously repeat all or part of the same test work before.Therefore,how to reduce software cost and improve the use efficiency of test cases has always been the focus and difficulty in the field of software testing.The evolution of the software produces test cases that are usable and unusable.Unusable test cases are divided into test cases that can be repaired and cannot be repaired.If the strategy of abandoning unusable test cases is adopted,the coverage of test cases will be reduced,the effectiveness of regression tests will be weakened,and the ability of use case sets to detect errors will be reduced.However,test case repair technology can solve this problem.In the context of regression testing,the paper conducts relevant research and comparison of GUI and WEB test case repairs.It focuses on the research and analysis of test case failures in GUI test cases during version upgrades,and illustrates the use of regression test case repair implementations through an example.Based on the basic idea,a test case repair model consisting of an inspector and a repairer are proposed.An inspector is implemented using the numerical idea,an available and unavailable test case is screened using an inspector algorithm,and a failed test case is repaired using a repairer.It mainly focuses on the repair of edges and events in the operation call graph.On the basis of the test case repair technology,further study when the GUI software is iterated,the changes of the GUI object affect the relationship between the components.This change should be taken into account when repairing.Therefore,an event-dependent ED algorithm is proposed,which mainly analyzes the algorithm.The addition,deletion,modification,and existing dependencies of events in the GUI,and the corresponding event sequence repair technology for each change.Compared with the Memon A M et al.algorithm,the event-dependent ED algorithm refines the dependency relationship between events and events,improves the repair efficiency of test cases,expands the coverage of repair test cases,and avoids the risk of missed and missed repairs.Finally,based on the professional test tool RFT and the four tested softwares of the two tested versions,three problems are covered that cover the research of this topic,and two experiments are designed to verify the test case repair technologies and events.Relying on the feasibility and effectiveness of the ED algorithm,experiment 1 increased the repair efficiency by 8.5% compared with the experimental results of Memon A M et al.The experiment 2 improved the repair efficiency by 8.7% compared with the experimental one,indicating that the event-dependent ED algorithm was used to improve the test case repair.The efficiency has a certain effect,thus reducing the overhead in the testing process.
Keywords/Search Tags:Graphical User Interface(GUI), Regression Testing, Test Case Repair, Test Script Repair, Event Dependence
PDF Full Text Request
Related items