Font Size: a A A

Research And Implementation Of Self-Service Terminals Testing System Based On Design Pattern

Posted on:2011-10-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y K ZhangFull Text:PDF
GTID:2178360302999545Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of the electronic and information, the application of self-service terminal almost involves into all areas of people's life. Self-service terminal not only provides simple query, transfer and other basic services, but also provides fund trading,foreign exchange dealing,third-party payment services. This not only reduces the workload of the counter, but also increases the flexibility of services.The bank self-service terminal test system is used to test the services provided by the self-service terminal. In the process of the design and realization, taking into account as demand increases, the terminal services provided is also constantly changing, first of all, self-service terminal test system should have general applicability and respond to these changes, to achieve the result of scalability and flexibility. Therefore, the design pattern is introduced to the system, research on the design pattern.The system uses a three-tier C/S structure and is divided into communication layer, business logic layer and database layer. At all layers, I separately use the facade pattern,the simple factory pattern,strategy pattern and adapter pattern. When a new terminal need to test, according to the terminal's data transmission protocols and data structures, the system only need to fit the terminals; When a new business need to test, simply expand the code, change configuration files without needing to modify the original code, which can improve code reusability. Meanwhile, as the introduction of the factory model to the database layer, it packages the reading and writing operations that on the different database platforms, when the business logic layer processes data, it only needs the factory create the object. Change the database without affecting the business logic processing, which make the system have good scalability.The system eventually achieves the function about testing the terminal operations, which as a whole equivalents automated testing system. When operating the terminals, the system will test and record the results of the operation, which eliminates the need of cumbersome manual operation, reflecting the automated test results.
Keywords/Search Tags:Design Pattern, Self-Service Terminals, Software test, Functional Test
PDF Full Text Request
Related items