The Research and Realization of Smartcard Automatic Testing System Based on Tcl

Author
WangQiang
Advisor
ZhangYongQiang
School
Hebei University of Engineering
Major
Applied Computer Technology
Classification
TN409 Application
Degree
Master's thesis
Year
2011
Downloads
22
Citations
1

Request the full text

Abstract

With the growing popularity of the continuous advancement of information technology and information technology applications, smart card (Smart Card) in many social fields more and more widely, such as mobile phone SIM card, transit smart card, the financial industry Visa Card, USB Key and so on. In many smart card applications software development process, can not be separated from the smart card software testing system, good or bad, and test the efficiency of the test program, a direct impact on the quality of the smart card-based application software. Smart card application layer software has a complex structure, variability, and more features. An efficient automated test platform for smart card software structure characteristics, structures, and develop a comprehensive set of test cases, complete smart card software product testing to ensure the quality of software products is extremely important. The paper first analyzes the software testing tools or test methods, analysis of the application environment and mechanism, summed good ideas, find the lack of. Then describes the theoretical basis and the progress of software test automation. Followed by analysis of the specific resources and the environment in which smart card applications. Learn from other core Tcl language automated testing tools, methods and experience to try to put a Tcl language based method for the automated testing of the smart card application layer software. The article describes in detail the transplantation and extended Tcl in C / C language environment, create the Tcl language interpreter, to build a physical model of the smart card software test automation, test case for large-capacity database based on the Tcl language, combined with embedded card on the design principles of the test cases, test script specification, and describes how to generate a large number of efficient test data, and clever use of the configuration file automatically generate test cases, greatly improve the efficiency of the test. Performance analysis report generated in the test and the test log, convenient for developers to optimize the software interface, found the bug that may exist in the software interface as soon as possible. Finally, the the Tcl language support for Chinese characters unfriendly, analysis Tcl character encoding rule, the automatic generation and application of Chinese characters through the UTF-8 encoding transformation. This topic research and development of automated test platform has a smart card equipment manufacturing supplier of software testing to get the application, greatly reduce software testing costs shorten the product delivery cycle, but also to achieve the some artificial test can not be completed the work, in the smart card software testing industry has a high value.

Table of contents

Summary 6-7 Abstract 7-11 Chapter 1 Introduction 11-18 1.1 Research background and significance -12 1.2 Research problems 12-15 1.2.1 Smart Card Software Testing Overview 12-13 1.2.2 smart card software testing foreign research overview 13-14 1.2.3 smart card software testing domestic research overview 14-15 the 1.3 topics feasibility analysis 15-16 1.4 papers main contents 16 1.5 paper structure organization 16-18 Chapter 2 Smart Card application software test automation research 18-31 2.1 software testing theory foundation 18-24 2.1.1 software test automation concepts and significance 18-20 2.1.2 software automation testing progress 20 - 21 2.1.3 software test automation choice 21-24 2.2 Software Quality Management Tools Profile 24-27 2.2.1 software version control tools 24-26 2.2.2 software defect management tools 26-27 2.3 smart card hardware and software architecture 27-29 2.3.1 smart card hardware architecture 27-29 2.3.2 smart card software architecture 29 2.4 smart card software testing and test strategies 29-30 2.5 Chapter Summary the 30-31 Chapter 3 Tcl-based automated testing framework , 31-43 3.1 Introduction and Application of the Tcl language 31-35 3.1 a .1 Tcl Language Overview the 31-33 3.1.2 Tcl language in the automated test system 33-35 3.2 Tcl in C / C environment transplantation 35-40 3.2.1 application structure 35-36 3.2.2 Tcl interpreter created 36-38 3.2.3 based on the Tcl system function custom extensions command 38-40 3.3 Tcl smart card software testing based physical model the structures 40 of 3.4-Tcl automated test platform 40-42 3.5 Chapter Summary 42-43 Chapter 4 the Tcl automated test method detailed research the 43-52 4.1 smart card DB software module overview 43 4.2 test cases developed 43-46 4.2.1 test case design principle 44-45 4.2.2 test case of the preparation of specifications 45-46 4.3 test script design 46-49 4.3.1 Test Data Source 46-47 4.3.2 test library development 47-48 4.3.3 configuration file design 48-49 4.4 test log files 49-50 4.5 test interface development 50-51 4.6 Chapter Summary 51-52 Chapter 5 Tcl support Chinese character data 52-59 5.1 Tcl system character handling mechanism 52-54 5.1.1 Character Encoding Overview 53-54 5.2 generation of Chinese characters and 54-58 5.2 .1 Chinese character generation 54-55 5.2.2 idle code reject 55-56 5.2.3 Chinese characters. storage and display 56 - 58 5.3 Chapter Summary 58-59 Chapter 6 test results 59-64 6.1 embedded high-capacity smart card software system test 59-64 6.1.1 test run environment and background 59-60 6.1.2 test examples and analysis 60-64 concluded 69 64-65 Acknowledgements the 65-66 Reference the configuration item nbsp 66-69 read from the configuration file in Appendix 1; -71 Author 71 papers published during the study for master and scientific research 71-72

Related dissertations

  1. Study on Production Efficiency Improvement and Quality Control in U Cell Production Line Based on Six Sigma
    LiQuan ·Tianjin University ·2012 ·Master's thesis
  2. Design and Implementation of Digital TV Resource Management System Based on AppFuse
    YeLiChun ·Hunan University ·2013 ·Master's thesis
  3. Design and Implementation of Campus Smart Card System in Modern University
    MaLiJuan ·Zhejiang University of Technology ·2013 ·Master's thesis
  4. Research and Design of Password-based Mutual Authentication Key Agreement Scheme with Smart Card
    WangZuo ·Shenyang Normal ·2014 ·Master's thesis
  5. Research and Practice of Improved Countermeasures Against Combined Attacks for Java Card
  6. Research and Implementation of Campus Smart Card Chip Operating System
    ZhouMi ·Sun Yat-sen University ·2013 ·Master's thesis
  7. Software and Hardware Design and Implement of the Driver of the Thermal Lithographic Module in High-speed Card Producing Equipment
    HuEnCi ·South China University of Technology ·2013 ·Master's thesis
  8. The Research and Improvement on Mutual Authentication and Key Agreement
    QiShiJie ·Jinan University ·2012 ·Master's thesis
  9. The Design and Implementation of A Biometrics-based Robust Remote User Authentication Scheme
    ZhangShaoYuan ·Jinan University ·2012 ·Master's thesis
  10. The Design and Implementation of Remote User Authentication Scheme Using Smart Cards
    YangHao ·Jinan University ·2012 ·Master's thesis
  11. Design of Password-based Authenticated Key Agreement Protocols
  12. Research and Implementation on Performance and Architecture Optimization of Finacial-Oriented Java Card
    CaoXiao ·Zhejiang University ·2012 ·Master's thesis
  13. Research on Industrial Control System Base on Software Refactoring and Modular Design
    GuoXiaoJi ·South China University of Technology ·2012 ·Master's thesis
  14. Key Management System in Ic Card Personalization System
    WuJiaBin ·South China University of Technology ·2012 ·Master's thesis
  15. Design and implementation of attendance checking system based on smart card
  16. Study and Implementation on Paperless Office System Key Technology in Vocational School
  17. The Wisdom Traveling Service Card-The Research and Implementation of JiangSu Tourism Smart Card
  18. Research and Application of TSP in Trusted Software Stack
    GuanWei ·Northeastern University ·2010 ·Master's thesis
  19. Research on Data Protection Scheme of RFID
    WangMingShi ·Tsinghua University ·2011 ·Master's thesis
  20. The Optimization of AES Encryption Algorithm Based on Pipeline Design Model
    YuLei ·Jilin University ·2012 ·Master's thesis