Font Size: a A A

Design And Implementation Of An Android-based Interactive Testing System

Posted on:2021-02-22Degree:MasterType:Thesis
Country:ChinaCandidate:C Z YuFull Text:PDF
GTID:2428330647450877Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Along with the technology development of mobile equipment,the quantity and the usage of mobile application,especially the Android-based application,has dramatically increased,and the correctness and reliability of applications have become significantly important.As the major method of securing correctness and reliability of applications,software testing plays an irreplaceable role during the process of developing application.Based on the involving level of tester's effort during the testing operation of the application,software testing can be classified into manual testing and automated testing.Manual testing is a traditional test method that requires tester evaluating the application manually.It has the advantages of short preparation time,high induction of testing steps,good adaptability,pertinency and the ability of handling the exceptions.But when facing the applications which line of code and iteration of version are rapidly increasing,it has the disadvantages of long testing time,low efficiency,and can not acquire some of the reliability indexes.As a rapidly developed testing method in recent years,automated testing is taking the lead of testing field with the help of parallelize testing method,high testing efficiency,and it's advantages in performing regression testing and acquiring reliability indexes easily.But it also has defects that need to be solved urgently,such as long preparation time,high redundancy in the testing steps,high professional skills requirement for testers,and difficulty in performing tests on certain part of the application.Currently,the large-line of code,high-usage,crossplatform and cross-version applications are becoming mainstream,but constraints such as lack of staff and developing time are frequently appear during the development of application.Faced with this situation,and considering the poor performance of the manual testing and the high requirement of the automated testing,developers will be stuck and difficult to find a proper way to perform testing on application quickly and efficiently,leading a large number of applications' correctness and reliability can not be sufficiently guaranteed.Based on these situation and requirement,in this thesis we design and implement an Android-based interactive testing system,and providing a solution for the developers who are difficult to perform testing on application quickly and efficiently under the complex conditions.The main contribution of this thesis is as follows.· Based on the defect that most of the automated testing tools have high professional skills requirement for testers,we use graphical interactive methods such as sketching as a way for users to declare their testing intentions.The system we described in this thesis builds a graphical user interface on the front end,and guide testers to declare the testing trace with the help of the sketching symbols by providing them the screenshots of the applications.On the back end we transform the user's input which acquired from the front end into executable automated testing scripts based on the standard of Robotium framework.This thesis introduces graphical interactive methods into automated testing tools,and have a greatly improvement on current automated testing tools which have disadvantages of poor useability,long preparation time and high professional skills requirement on user's coding ability.· Based on the problem that user need to define the public testing trace and similar testing action repeatedly when declaring the testing intentions,this thesis introduces logical interactive methods that contains a variety of logical symbols to enhance the testing trace definition grammar on ability of expressing.Through the introduction of boolean connectors and quantifier symbols,front end of the system can quickly builds the testing traces that have same type,similar operation,and some complex judging conditions when the testing intention was declaring by the users.This will lower the requirement on user's coding ability and reducing the cost of declaring similar or repeated testing trace,reducing the redundant code in the testing scripts and improving the system's useability at the same time.· Furthermore,based on the inconvenience which requires users repeatedly define and input a large number of parameters for the test actions,the system we described in this thesis uses regular expression method as a text-type interactive method.When faced with multiple test actions that contains same parameter type and similar parameter format,or a single action that requires multiple random parameters,user can quickly declare and define the type of the parameters through regular expression,and the system we described in the thesis can generate the corresponding parameters.Based on the text-type interactive methods,the system can optimize the operation of input parameters when user declaring the testing trace,reduce the preparation time and improve the useability and the testing efficiency.The system we described in this thesis makes certain improvement on the automated testing tools based on the advantages of manual testing.It combines the method of user-designated testing trace with the randomly generated testing trace.And it allows the system to perform random test after completes the execution of user-designated testing trace.This improvement can not only broaden the test range covered by the designated testing trace,but also make randomly generated testing trace have flexibility and pertinency,reducing the number of redundant test and improving testing efficiency.By analysing and summarising the functional requirement mentioned above,this thesis completes the design and implementation of and Android-based interactive testing system.It also provides a low skills requirement,short preparation time,high efficiency and usability interactive testing system for mobile application developers,testers and quality assurance members,and assisting them in improving correctness and reliability of their application.The system we described in this thesis is expected to have a higher value in commercial applications.
Keywords/Search Tags:Android application testing, Testing system, Interactive
PDF Full Text Request
Related items