Font Size: a A A

Research And Implementation Of Test Case Generation Technology Based On Web Users’ Behavior

Posted on:2017-01-26Degree:MasterType:Thesis
Country:ChinaCandidate:L HanFull Text:PDF
GTID:2308330485483617Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology, web applications are increasingly deployed and larger-scale. They are infiltrating into every aspect of people’s lives and becoming the mainstream of software development with the emergence of the Web 2.0. The characteristics of Web applications make it necessary to test both safety and usability from the perspective of end users. Test Case generation is the key to software testing tasks and difficulties. According to statistics,The cost of designing test cases accounted for about 40% of all software testing costs. Test cases generation mainly relies on manual operation for a long time, and this means it is essential for testers to maintain quite abundant experience in the specialty. Therefore, it leads to high cost in testing and not efficient. Over the years, many scholars have kept exploring and obtain a lot of research achievements.There are two ways to generate test cases automatically which mainly include specification-based method and model-based method, but these two methods are not from the perspective of users. They do not have the capability to reflect users’ behavior, and to verify the safety and availability of the system.Considering the problems of the current two methods which are not from perspective of users, a new way is proposed which generate test cases automatically taking users’ behavior into account. This method starts from users’ behavior, considering every operation which users have conducted. The method combines flows and data from users’ behavior, and then integrates them into test cases which can be used for availability testing and safety testing. It is a new method for testers verifying the availability and safety of the Web system under testing.Firstly current methods of test cases generation which do not consider users’ operation are surveyed, and then, a method based on users’ behavior is proposed. This method is effective in verifying the safety and availability of the system.With the tool, the common formats of Web logs can be parsed to generate a series of test cases. The tool has operability and scalability. At last, experiment is conducted to verify the effectiveness of the tool.
Keywords/Search Tags:Web applications, Test Case, User Behavior, Web crawler, Web Log
PDF Full Text Request
Related items