Font Size: a A A

Research Of Web Functional Testing Automation Based On FSM

Posted on:2010-03-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y L FengFull Text:PDF
GTID:2178360272491528Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As an effective method to ensure the quality of Web applications(WAs), the Web application testing obtains more and more attentions and plays an important role in such a ever-changing information times. In recent years, along with the applications in education, banking, aviation, securities and e-commerce,WA has shown the trend of the rapid expanding scale and the growing complexity of business process. Therefore Web functional testing shows its importance.However, the efficiency of test tools drops as the scale and complexity increases. It's necessary to build a test model to effectively direct the testing automation. Yet most of existing test models are built from the point of navigation or structrue, they can't apply to Web fuctional testing stage. This paper aims at establishing a model for describing Web functional testing, and developing a tool based this model. It could test all types of Web application defects, and increase the test coverage.Our main tasks include: (l)Make the division of WA entities from the perspective of object-oriented, and then use FSM theory model the Web funcitonal testing. FSM method could intuitively presents the relation between entities and better shows dynamic, interactive features of WAs. (2)To describe the model and test case, design two languages based on XML: FFSMDL and TCDL They are bridge of the model and the aid tool for they realized the mapping between the model and the code. (3)Based on the former results develop a model aid tool. It is used to parse the model instance, gernerate test codes and run the test.This method realizes the Web functional test automation based on the designed test cases. The separate definition of the test cases and WA model realizes the test case reusability. The tool's robustness is always affected by the frequent changes of WA specification and Ul, but in this method the changes only need to be modified in definition file, so the robustness could be guaranteed.
Keywords/Search Tags:Web application, functional test, test model, Finite State Machine, Floweb
PDF Full Text Request
Related items