当前位置:网站首页>What are the principles and methods of implementing functional automation testing?
What are the principles and methods of implementing functional automation testing?
2022-07-29 07:40:00 【Software testing Lao Mo】
Catalog
3、 Principles of implementation
4、 Advantages and disadvantages of implementing functional automated testing
5、 Implementation scope and objectives
5.3 Overall implementation strategy
1、 Test purpose
The function automation test plan is for XXX Automatic tools are used for system function test , Technology and implementation plan written to achieve the goal of automatic testing .
The main purpose of the document is to provide technical solutions for automated testing 、 Implementation content 、 Implementation steps , As well as the key technical implementation means .
2、 Terminology
Sahi: yes Tyto Software It's a business based open source Web Apply automated testing tools .Sahi Run as a proxy server , And through injection JavaScript To visit Web Elements in the page .Sahi Support HTTPS And independent of Web Site , Simple and compact but powerful . It is relative to the Selenium And other automated testing tools , In the dynamic ID Element search and implicit page waiting processing have certain advantages . choice Sahi Tools to achieve concrete Web Automated testing of the project is a good choice .
A functional test : Functional test is also called correctness test , It checks whether the function of the software meets the specifications . Because correctness is the most important quality factor of software , So its test is also the most important .
automated testing : Use the automated test tools provided by the business or the tools developed by yourself to test the target system . Tests performed automatically by the machine , Replace people to complete repetitive work , But it can't completely replace people . Automated testing requires testing tools , The participation of Test Engineers , Automated testing technology can be applied to all testing stages
Web Test background : With Web The development of technology and Internet ,Web More and more application products , be based on Web The demand for page testing is increasing . At present, software all over the world is pursuing efficiency 、 In the context of agile development mode ,Web Automated testing has become a new wave of technology discussion and research upsurge . Because traditional manual testing is not only inefficient , And the test quality is limited by some emotions and moods of testers . If a tester tests these complicated and repetitive work with irritability , The quality of the test is worrying . What's more? , When this testing work involves the testing of globalization , The testing work of multilingual versions leads to the doubling of the testing workload , This is undoubtedly a huge test !
checkpoint : It is used to verify whether the script execution results meet expectations . Checkpoints can be established during recording , You can also create checkpoints after recording
3、 Principles of implementation
It is impossible for tools to complete all the work in the process of functional automation testing , Tools are still an aid in the testing process . For tools, it is mainly to solve the repetitive tasks in the testing process . In addition, implement automated testing , There are also higher requirements for the tested system , Summarize the implementation principles of functional automation testing as follows :
1) Use automated tools to test , The development of the tested system is required to be relatively stable , Less functional changes ;
2) Before recording the automated test script , The interface of the tested system is relatively stable ;
3) Functional test automation requires that the test data in the test data environment is relatively abundant , Meet the requirements of repeated regression tests ;
4) The version of the tested system is required to run stably , Fewer test aborts occur ;
5) Implement by stages and steps , Give priority to the system with relatively stable product functions ;
6) Perfect 、 Reusable data parameters 、 Script library is a long-term accumulation process .
4、 Advantages and disadvantages of implementing functional automated testing
Although there are many limitations in automatic and manual testing of functions , But it also has its advantages , With the development of automatic testing technology and tools , For the stable function of the product under test , Automated testing plays a more and more important role . Use Sahi It can speed up the whole test process , After the release of the product version , Test scripts can be reused for testing , say concretely :
The advantages of automated testing :
Improve test efficiency , Reduce the cost of testing ;
Manual labor with strong repeatability can be realized independently with automation ;
Rapid regression testing , Improve the speed and quality of new version release ;
Avoid mistakes easily made by manual testing , Such as : Error testing , Leak test , More tests, etc ;
It's easy to implement concurrency testing ;
Test reusability , Reusing scripts and data is easy .
The disadvantages of automated testing :
Standardized test management , Test requirements , The test case ;
Can't creatively find the defects that the test script has no design ;
High quality test cases ;
High quality automation test engineer ;
The requirements for the test environment are relatively strict ;
Changes in test requirements may cause a large number of test cases , Automatic test script modification 、 maintain .
5、 Implementation scope and objectives
5.1 Scope of implementation
1) Tool range : At present, consider Sahi、Excel And other tools ; Continuous integration tools will not be considered for the time being ;
2) System scope : Locate the system in the basic test environment of the test center ;
3) Scope of the test phase : Limited to late regression testing 、 And functional regression test after going online , Not included at present LT、 Function test part of internal test .
5.2 Implementation objectives
1. The function automatic test system should be able to complete the integration test 、 And the regression test of the function after the launch ;
2. The goal of the scheme is to complete the transaction test with and without interface , Transactions with interfaces support the following :
a) Support character terminal interface ;
b) Support B/S Of Web Interface ;
c) Support C/S Of Windows Application interface ;
3. The function automation test scheme can test most of the current application systems ;
4. Realize automatic script recording 、 Automate script execution 、 Automated defect reporting and management .
5.3 Overall implementation strategy
1. First, choose the project and system suitable for automated testing from the current system ;
2. Secondly, determine the stage and timing of implementing functional automation testing ;
3. The third is to choose the functions and transactions suitable for the implementation of automated testing from the appropriate projects .
For specific implementation strategies, see Chapter 6 Section implementation management suggestions .

边栏推荐
- flutter只要是数据,都会判空的
- String类
- [summer daily question] Luogu p6320 [coci2006-2007 4] sibice
- gin abort不能阻止后续代码的问题
- I, 28, a tester, was ruthlessly dismissed in October: I want to remind people who are still learning to test
- Zip gzip tar compression Advanced Edition
- 《nlp入门+实战:第五章:使用pytorch中的API实现线性回归》
- How to establish EDI connection with Scania in Scania?
- Getting started with JDBC
- 树莓派的启动流程
猜你喜欢

技术分享| 快对讲综合调度系统

Use custom annotations to verify the size of the list

Chaos and future of domestic digital collections

Halcon installation and testing in vs2017, DLL configuration in vs2017
![[summer daily question] Luogu p7760 [coci2016-2017 5] tuna](/img/9a/f857538c574fb54bc1accb737d7aec.png)
[summer daily question] Luogu p7760 [coci2016-2017 5] tuna
功能自动化测试实施的原则以及方法有哪些?

MySQL 45 | 08 is the transaction isolated or not?

Cs61abc sharing session (VI) detailed explanation of program input and output - standard input and output, file, device, EOF, command line parameters

零数科技深度参与信通院隐私计算金融场景标准制定

10 practical uses of NFT
随机推荐
Access数据库引入datagridview数据后,显示错误
Calculate program run time demo
Pat class a 1154 vertex shading
3-global exception handling
MySQL 45讲 | 08 事务到底是隔离的还是不隔离的?
LANDSCAPE
Introduction to logback filter
Better performance and simpler lazy loading of intersectionobserverentry (observer)
webapi接口文件下载时跨域问题
《nlp入门+实战:第五章:使用pytorch中的API实现线性回归》
使用自定义注解校验list的大小
Meeting notice of OA project (Query & whether to attend the meeting & feedback details)
mysql 使用 DATE_FORMAT(date,'%Y-%m')
How does MySQL convert rows to columns?
监听页面滚动位置定位底部按钮(包含页面初始化定位不对鼠标滑动生效的解决方案)
Dilworth theorem
5-integrate swagger2
【暑期每日一题】洛谷 P4414 [COCI2006-2007#2] ABC
zip gzip tar压缩进阶版
受欢迎的牛 G