Font Size: a A A

Research And Application On Digital Property Management Client Software Automated Test

Posted on:2019-10-31Degree:MasterType:Thesis
Country:ChinaCandidate:K TangFull Text:PDF
GTID:2428330596965396Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
With the development and progress of the society,people are increasingly demanding services for their purchased residential properties.The property management software is an important bridge to protect the owner and the property from communicating about the quality of the house.Therefore,the reliability and stability of the digital property management client software need to be guaranteed.During the development process,in order to ensure the robustness of the digital property management client software,periodic manual testing is required.However,the manual testing efficiency is relatively low.You need to manually create a table,mark each test point,and follow the order of the test points.It is obviously very time-consuming and energy-consuming to conduct the test.In the process of testing,it is necessary to continuously check the details through the human eye.The tester may cause visual fatigue and other problems after multiple tests,which will affect the judgment of the test process and test results.Based on this background,this paper focuses on the research of digital property management client software automated testing program.By analyzing the situation that there is an upper bound in the number of loops in the test path,a complex loop traversal algorithm and path set optimization algorithm are implemented.The improved image comparison method on results improves the test efficiency and reliability.Based on this,the digital property management client software automated test system is designed and implemented.The main research work is as follows:(1)To implement an analysis for the requirements of the property management client software and build an UML modeling according to the overall needs.Building a UML model based on the overall demand of the property management client software through the analysis of the daily property management including owner's lading for report the house's problem,management's distributing task,maintenance task and evaluation of owner about maintenance task.Then a state diagram model will be built through the contact between each state,the difference of the state itself in detail and the analysis of the characteristics of UML and it's converted to object-oriented data structure for subsequent analysis of the algorithm.(2)Through the study in traversal algorithm based on state diagram,given the testing loop may emerge in the object of this research,this paper make an analysis in depth on the test loop.It includes no loop,single loop,nested loop,complex loop in details,and then improve existing algorithms for more efficient traversal and higher quantity to less testing path set,as soon as possible to test all state points in the path of state-interface map analysis,facilitate the design of the test case set.(3)Using image comparison method to achieve multi-granularity analysis of the test node interface.The difference from the general test method is that the detailed fine-grained,non-detailed coarse-grained method is used to compare the images.In generally,interface will be reused or unimportant redundant information exist,then it has no need to test in detail for this part of the test process accept for the important sections.For the unessential sections,it can be compared directly for the overall test through the simple method to ensure the efficiency and reliability.(4)Design and realize the client software's automatic test system of digital property management system.The system mainly includes several major functions such as parsing the UML statechart diagram file,getting the state path set,generating the test configuration file,executing test cases,comparing picture collection.Through the comparison between the initial sample image library and the final test photo library,it verifies the feasibility and effectiveness of the test system,and then the digital property management client software is tested and improved.
Keywords/Search Tags:UML state diagram, test path, loop analysis, image contrast
PDF Full Text Request
Related items