Easy test document signed fingerprint attendance system

Test Case

Test environment and test aids described

database:

SQLite

the system platform:

Android 8.0 operating platform

Operating environment:

Android system

test tools:

Manual testing

  Test Results:

All functions can be used normally

  Login Test

Test Case

Login use case

Test Case ID

admin (code: 123) hz (user does not exist)

Input / action

Desired output / response

The actual situation

Enter the username: admin

Enter password: 123, click Log

User login is successful, go to Home

User login is successful, go to Home

Enter the username: admin

Enter the password: 1234, Click Login

wrong user name or password

Login failures, account number or password is incorrect

Enter your user name: hz

Enter password: 123, click Log

wrong user name or password

Login failures, account number or password is incorrect

Empty user name, password is blank

Account number or password is empty

Account number or password is empty

Empty user name, a password is not empty

Account number or password is empty

Account number or password is empty

Username is admin, password is blank

Account number or password is empty

Account number or password is empty

 

  function test

  System Management

Test Case

Log Use Case

Test Case ID

admin (code: 123)

Input / action

Desired output / response

The actual situation

Click the Log button

System back to the login screen

System back to the login screen

  Test settings

Test Case

Change Password Use Cases

Test Case ID

admin (code 123)

Input / action

Desired output / response

The actual situation

Enter original password: 123

New Password: 123456

Confirm New Password: 123456

Successfully modified

Password reset complete

Enter original password: 123456

New Password: 1234567

Confirm New Password: 1234567

Old password is wrong

Old password is incorrect

Enter original password: 123

New Password: 123

Confirm New Password: 123

Successfully modified

The same old password and new password, reset

Enter original password: 123

Enter the new password: 1234

Confirm New Password: 12345

New password and confirmation is inconsistent

Enter the password twice inconsistent

  Sign function test

Test Case

Sign test

Test Case ID

admin hz (non-native user)

Input / action

Desired output / response

The actual situation

admin login, click on the sign immediately confirm the location and fingerprint verification

Verification success

Fingerprint recognition success

admin login, click on the sign immediately confirm the location, hz fingerprint verification

The validation fails, return check-in interface

Fingerprint recognition failure (failed more than five times, suggesting that too many times fail, try again later)

 

 

   Registration functional testing

Test Case

Registration test

Test Case ID

admin TB (user does not exist)

Input / action

Desired output / response

The actual situation

Use admin to register as a user name

Username already exists

Account already exists

Use TB as the username to register

registration success

registration success

 

 

  Forgot your password functional testing

Test Case

Forgot your password test

Test Case ID

admin secret security answer is: 123

Input / action

Desired output / response

The actual situation

Enter the user name admin, click OK, secret security answer is 123

Jump to reset the password interface

Jump to reset the password interface

Enter the user name admin, click OK, secret security answer is 1234

Tips Wrong Answer

Tips Wrong Answer

Enter the user name is blank and click OK

User name is empty

No response

Enter the user name admin, enter the secret security answer is empty

答案错误

答案错误

 

  重置密码功能测试

测试用例

重置密码测试用例

测试用例ID

admin(密码123)

输入/动作

期望的输出/响应

实际情况

输入新密码1234

确认新密码1234

提示重置成功,跳转至登录界面

跳转至登录界面(修改成功但不提示)

输入新密码1234,确认新密码12345

两次输入密码不一致

两次输入密码不一致

输入新密码123

确认新密码123

重置密码与原密码一致

跳转至登录界面(修改成功但不提示)

新密码为空

提示密码为空

提示密码为空

新密码为1234,确认新密码为空

提示密码为空

提示密码为空

 

  设置密保功能测试

测试用例

设置密保测试用例

测试用例ID

admin(密码123)

输入/动作

期望的输出/响应

实际情况

输入密保问题为空,

输入答案为空

提示密保或答案为空

提示问题和答案为空

输入密保问题不为空,输入答案为空

提示密保或答案为空

提示答案为空

输入密保问题为空,输入答案不为空

提示密保或答案为空

提示问题为空

输入密保为学号,答案为2017317210000

提示保存成功

提示保存成功

                                           

 

 

版本信息:

修改编号

修改日期

修改后版本

修改位置

修改内容概述

1

2019-06-18

0.1.1

注册模块

存在空输入亦可注册成功的情况,返回对应模块找到问题并解决了

2

2019-06-18

0.1.2

找回密码模块

存在空输入亦可跳转的情况,返回对应模块找到问题并解决了

3

2019-06-18

0.1.3

找回密码模块

密保问题本应有数据库返回显示出来,但之前设为自己输入,找到对应模块并改了过来

4

2019-06-19

0.1.4

UI模块

部分按钮存在屏幕自适应问题,针对具体按钮做了布局调整使它们能适应不同尺寸屏幕

5

2019-06-19

0.1.5

主界面模块

主界面通过手机返回键返回的是登录界面而非推出app,通过添加监听器得到解决

6

2019-06-19

0.1.6

个人中心模块

个人中心按钮跳转的活动过多时会存在返回界面错误问题,通过在此模块加跳转解决该问题

7

2019-06-19

0.1.7

登录模块

无论软件被使用时处于什么界面,按下手机home键出来再点击图标进入的都是登录界面,通过加入相应判断函数解决了这个问题

8

2019-06-19

1.0.0

设置密保模块

存在输入为空依旧可设密保并保存的问题,返回对应模块找到问题并解决了

Guess you like

Origin www.cnblogs.com/team416/p/11056670.html