基于互联网金融平台的测试自动化设计

 2022-02-07 09:02

论文总字数:28904字

摘 要

如今,社会不断的发展,社会对软件的需求量不断的提高,而软件的质量问题,给我们带来的损失与危害是时有发生的,因此这个问题也越发的引起了用户和企业的重视。所以,软件测试变得十分重要。软件测试的目的和意义是为了让软件可能存在的问题能够在上线投入用户使用之前能被我们发现,并能及时解决。对于一个长期的软件系统,随着新功能的加入,模块的拓展,规模也会发生改变,而在引入新的模块,新的功能以后我们需要进行的测试不仅仅是为了确保新的功能可以正常工作,更重要的是确保原有的功能不能被影响甚至是功能错误。那么,为了确保软件的质量,测试人员就必须要花费比之前更多的时间与精力,不断的设计更多新的测试用例,那么最终就容易导致时间往往不够用。完全依靠手工测试的话,除非增加测试人员,否则测试人员难以追上开发人员的步调,这时候矛盾就凸显出来,在人员有限,工作量越来越大的情况下,就需要一个解决措施—自动化测试。本文将结合一个互联网金融平台的产品,设计出一个适合于它的自动化测试框架。

本文首先将对自动化测试的相关技术做了一些简单的介绍与比较,根据当前流行的几种自动化测试实现框架与方法,来结合本文研究的具体平台产品-鑫财富,结合产品需求针对前台portal模块,后台管理admin模块,对接支付mock模块进行分析,为进一步的设计出自动化设计做基础;然后根据需求设计出合适的,可用的,高效的自动化测试框架,最后根据框架来进行各个部分的实现,最后,对这次的设计做出总结以及对该系统的未来发展提出一些高效可行的想法。

关键词:互联网金融产品;Robot Framework;软件自动化测试;接口测试;关键字驱动;

THT DESIGN OF AUTOMATED TEST SYSTEM

BASED ON ONLINE FINANCE PLATFORM

Abstract

Nowadays, the society is developing continuously, and the demand of the software is increasing continuously. Software quality problems, to bring us the loss and harm is the occurrence of, so the problem is also more and more aroused the attention of users and enterprises.So, software testing has become very important, the purpose and significance of software testing is to make the software possible problems can be put into use before the user can be found, and can even solve. To a long term software system, with new features added, module development, size can also be changed, and in the introduction of a new module, after the new features we need test is not only to ensure that the new function can work properly, more important is the former function can not be affected and even lead to the original function of the error. So, in order to ensure the quality of the software, the tester must spend more time and energy, we design new test cases, so it is easy to cause the final time is often not enough. Completely rely on manual testing, unless testers, or the test when it is difficult to catch up with the pace of development.This contradiction is prominent, in the limited personnel, heavy workload conditions, test the great risk, need a solution that automated testing. This paper will combine an internet financial platform products, design a suitable for him in his test automation framework

Firstly the automated test technology do some simple introduction and comparison, according to the current popular several automated testing framework and method, which combines the specific product platform, combined with the demand for the front portal module, background admin module, docking payments mock modules were analyzed, for the further design a design automation based; then according to the design requirements appropriate, available and efficient automated testing framework. Finally, according to the framework to realization of each part. Finally, the design makes a summary and puts forward some effective and feasible ideas on the future development of the system.

KEY WORDS: Software automation testing; Robot Framework ; test case; Interface Test; Keyword Driven

目录

摘 要 I

Abstract II

第一章 绪论 1

1.1 选题的背景和意义 1

1.2 论文组织结构 1

第二章 自动化测试介绍与被测产品说明 2

2.1 自动化测试知识介绍 2

2.2 被测互联网金融平台介绍 7

第三章 自动化测试设计与实现 12

3.1 待测测产品需求分析 12

3.2 测试设计方案 17

3.3 自动化测试方案实现 28

第四章 工作总结及展望 32

4.1 总结 32

4.2 展望 32

致谢 33

参考文献 34

附录 35

    1. 绪论
    2. 选题的背景和意义

在这个信息高速发展的时代,互联网软件已经与各行各业、与我们的的生产生活形影不离,一些传统行业,比如金融,商品交易,也正在从传统的线下操作变为线上操作,而更多的行业,包括传统经营模式的行业为了能够融入互联网,也对软件行业提出了新的要求,其中包括由于资料的信息化带来的风险与对于软件质量和软件拓展性的要求。而与之对应的保证软件质量的最直接手段,即是软件测试。但是由于传统的手工测试方法,会随着软件系统的功能模块不断增加而变得越来越复杂,工作量越来越大,很多时候可能新增一个小模块,就需要对所有的系统模块进行测试才能确保软件的可靠性,尤其对于互联网金融这样很多时候不允许出现严重错误的行业。

由于上述情况的出现,就导致了一个问题:在软件不断完善功能,不断拓展模块的过程中,传统的手工测试就存在了下面几个缺点:第一:在开发的周期性项目中,开发的阶段工作量是一定的,而测试的阶段测试量是叠加的,因为测试用例是在不断增加的,那么就必须增加测试人员的数量或者延长项目周期;第二:手工测试人员在执行测试过程中大量的重复回归操作、机械性的去构建目标测试数据,容易造成人为的操作失误,导致测试时间的延期或者是误提bug;第三:大量的手工测试,如果要求完整、全面的测试报告,那么对于测试人员来说往往工作量是巨大的,但是测试报告的不完整,往往不利于问题的跟踪,原因追溯等。

剩余内容已隐藏,请支付后下载全文,论文总字数:28904字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;