当前位置:网站首页>Past and present lives of QR code and sorting out six test points
Past and present lives of QR code and sorting out six test points
2022-07-06 06:19:00 【The elegance of testing】
1 The past and present of QR code
The predecessor of two-dimensional code is one-dimensional code , It's the bar code behind the commodity packaging bag . Last century 70 It began to spread in the 1970s , But one-dimensional bar codes can only be recognized horizontally , The storage capacity of information is limited . therefore 80 s , Countries have successively developed QR codes with greater information storage .
QR code originated in the United States and Japan , Now it is very popular in China , The most commonly used is the payment QR code 、 Business card QR code 、 Trip code 、 Green code … With the rapid development of mobile Internet in recent years , QR code has already become an indispensable part of our life …
2 Two dimensional code principle
At present, the most used in the market is QR code (Quick Response Rapid response ), It is a kind of QR code ,QR Code can store more information than ordinary barcode , It doesn't need to align the scanner with a straight line when scanning like a normal barcode .QR The size is square , Only black and white . stay 4 One of the corners 3 individual , Printed smaller , image “ return ” The square pattern of a word . this 3 One is a pattern that helps decode software positioning , The user does not need to aim , Scan at any angle , Data can still be read correctly .
QR code itself is a URL, Only by QR In the form of code URL And user identity information into binary 0 and 1, The black pigment block in the QR code represents 1, The white pigment block represents 0, We scan the code , Get the information in the QR code .
3 QR code generation
Students can try to generate a QR code by themselves , Generate with forage QR code , The address is as follows
https://cli.im/
4 How to test QR code ?
Understand the history of QR code 、 After the principle , We need to know how to test QR code ?
Let's start with the six tests : A functional test 、 Interface tests 、 Ease of use test 、 Compatibility test 、 Performance testing 、 Security testing
01 A functional test
(1) Whether the scan is successful and whether the correct response is made
(2) Whether there is a prompt when the scan fails
(3) Whether the code scanning entry page is displayed correctly , Whether the jump link is correct
(4) Save scan image , Whether it supports long press image recognition to enter
(5) When scanning only part , Whether the scan was successful
(6) Scan fuzzy QR code , Whether the scan is successful
(7) Scan failure / Expired QR code , Whether the scan is successful
(8) Scan the altered QR code , Whether the scan is successful
(9) A little distance / Long distance scanning QR code , Can I scan
(10) dark / normal / Highlight the environment , Whether the QR code can be scanned successfully
(11) Modify the content related to QR code / After jumping to the website , Do not regenerate QR code , Scan the code to see if the information is updated
(12) Code scanning jump process interrupt test ( Call when scanning code / Incoming information / Mail, etc. )
(13) Scan multiple QR codes at the same time , Whether the scan is successful
(14) Scan the same code multiple times , Whether the scan is successful
(15) Scan the same QR code multiple times , Whether the content after jump is the same
(16) After scanning , Front and rear station switching , Whether the contents before and after switching are consistent
(17) During the scan , Can I cancel exiting the scan
(18) Whether the scan is successful in the case of weak network
02 Interface tests
(19) QR code interface design meets the requirements , Beautiful atmosphere
(20)3 The positioning black boxes are on the upper left 、 The upper right and lower left display
03 Ease of use test
(21) Scan QR code pictures with your mobile phone , Easy to operate , Scan to get the required information
(22) Long press the picture , Identify the QR code picture of the mobile phone , Scan successful
(23) Scan when QR code image is tilted or reversed , Can be scanned successfully
(24) In a dark environment , Automatically adjust the screen brightness when scanning code
04 Compatibility test
(25) Different phone models 、 System compatibility test
(26) QR code pictures of different materials , Scanning test
05 Performance testing
(27) Response time of user scanning operation
(28) Multiple users scan the same QR code at the same time , system performance
06 Security testing
(29) QR code information disclosure
(30) QR code information tampering
(31) QR code carries virus
Last : It can be in the official account : Sad spicy bar ! Get one by yourself 216 Page software testing engineer interview guide document information 【 Free of charge 】. And the corresponding video learning tutorial is free to share !, It includes basic knowledge 、Linux necessary 、Shell、 The principles of the Internet 、Mysql database 、 Special topic of bag capturing tools 、 Interface testing tool 、 Test advanced -Python Programming 、Web automated testing 、APP automated testing 、 Interface automation testing 、 Testing advanced continuous integration 、 Test architecture development test framework 、 Performance testing 、 Safety test, etc. .
I recommend one 【Python Automated test communication group :746506216】, We can discuss communication software testing together , Learn software testing together 、 Interview and other aspects of software testing , Help you advance quickly Python automated testing / Test Development , On the road to high pay .
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
- Redis 核心技术与实战之 基本架构:一个键值数据库包含什么?
- 「 WEB测试工程师 」岗位一面总结
- Isam2 operation process
- Overview of three core areas of Mathematics: geometry
- Is the test cycle compressed? Teach you 9 ways to deal with it
- Simulation volume leetcode [general] 1414 The minimum number of Fibonacci numbers with a sum of K
- G - Supermarket
- Hypothesis testing learning notes
- MySQL之数据类型
- [postman] test script writing and assertion details
猜你喜欢
B - The Suspects
B - The Suspects
GTSAM中李群的運用
全链路压测:构建三大模型
Technology sharing | common interface protocol analysis
Overview of three core areas of Mathematics: algebra
Buuctf-[bjdctf2020]zjctf, but so (xiaoyute detailed explanation)
Nodejs realizes the third-party login of Weibo
全程实现单点登录功能和请求被取消报错“cancelToken“ of undefined的解决方法
Basic knowledge of error
随机推荐
Simulation volume leetcode [general] 1314 Matrix area and
JWT-JSON WEB TOKEN
全程实现单点登录功能和请求被取消报错“cancelToken“ of undefined的解决方法
Basic knowledge of error
模拟卷Leetcode【普通】1414. 和为 K 的最少斐波那契数字数目
selenium源码通读·9 |DesiredCapabilities类分析
模拟卷Leetcode【普通】1296. 划分数组为连续数字的集合
Understanding of processes and threads
对数据安全的思考(转载)
Buuctf-[[gwctf 2019] I have a database (xiaoyute detailed explanation)
keil MDK中删除添加到watch1中的变量
模拟卷Leetcode【普通】1091. 二进制矩阵中的最短路径
P问题、NP问题、NPC问题、NP-hard问题详解
模拟卷Leetcode【普通】1405. 最长快乐字符串
【Tera Term】黑猫带你学TTL脚本——嵌入式开发中串口自动化神技能
Leaflet map
模拟卷Leetcode【普通】1447. 最简分数
[C language] qsort function
B - The Suspects
Caused by:org. gradle. api. internal. plugins . PluginApplicationException: Failed to apply plugin