Editbox
等价类划分测试用例例子
要求输入1到6个英文字符或数字,按OK结束并输入。
其中有效等价类包括:1.长度1-6,2.a-z,A-Z,0-9
无效等价类包括:1.长度0或大于6,2.输入字母数字以外的字符,控制字符,标点符号
有效等价类 无效等价类
长度:1--6 长度为0 或者 长度>6
字符:a-z A-Z 0-9 输入字母数字以外的字符,控制字符,标点符号
测试用例:
编号 输入 用例结果
1 123 合法输入
2 xyz12A 合法输入
3 NULL 非法输入
4 hahahaha 非法输入
5 ?#!? 非法输入
6 hahaha回车键 非法输入