我的地盘我做主!
博客:http://tester2test.cnblogs.com/
msn:win_soft@163.com
老外写的一个测试用例
上一篇 /
下一篇 2007-07-12 12:18:22
/ 个人分类:性能测试
s#Fgsrsa0Test case example: 51Testing软件测试网;SI:xIoE2`6R
:?3N*f$p}-_R'T H0Test Case ID: CUST.0151Testing软件测试网v:U+MJu`?:Ll
"P8n#W5t1HT5[0Function: Add a new Customer51Testing软件测试网+k5lb*H^^E
51Testing软件测试网SJ;k+[5Yp D1JData Assumptions: Customer database has been restored
9_2da$A2sQV0
51Testing软件测试网-|8?(k?g6I)n
c{vGeneral Description:51Testing软件测试网kI
S Mnn6^*s1xM
B
L'z3vn)S0Add a new customer, via the Customer Add screen, and validate that new Customer was displayed corrected on the All Customer Screen.51Testing软件测试网
nJ({6uB
51Testing软件测试网k)C@4k)\l Action @HM
I q~~Z0
|
51Testing软件测试网k+N;Jre,J/d6F*r Initial State or Screen 'E%zZ*i*J0
|
({9`A'k:^*Q;D0Data51Testing软件测试网fp]?n5AY:yY
|
'[0k?(w2c5xy5^j0Expected Results J[-i,Tr%U;^!\%Z"B'?+K+\0
-M1y N Pt0(Response) ytE h$LU0\\0
|
1N^5YuIV%O4N01. Bring up Sales application via the Windows Icon yU4b0W5vss2Q"u0
|
51Testing软件测试网{4b`-yI9d4\9W Program Manager51Testing软件测试网5fC n(HUI
|
+b#vb"U$ee
z+~$A0None cF_ZCq0
|
Af*m^d2VnK4?0Main Sales Application Menu displayed t:e6]3W8}$SmOe0
|
51Testing软件测试网dpY8wut)y 51Testing软件测试网Z6N9VJ$QK
51Testing软件测试网gFf:ti2. From Views Menu Select Customer.51Testing软件测试网'k qDCc\I:G
|
51Testing软件测试网9Q!~)DWzu5n S
R Main Sales Screen "g x!OqC$bq cr0
|
51Testing软件测试网3FY$ya7\ None51Testing软件测试网'j3i(JSk~F
|
D VI8I
Pq(_O0Customer Views Screen Displayed.51Testing软件测试网+yA(h?a
gl
|
51Testing软件测试网nXg
Q,Y8y(u&VD {'Ed
f4~*H#?dc8F*V+a Cb8n#c0
1W/o v L,O+C@
q03. Click on All Customers51Testing软件测试网U"v6Hz%Y+]2s
|
51Testing软件测试网_CK4?C?5{ Customer View51Testing软件测试网o#N?~H,c%@D
|
51Testing软件测试网-X Pz.TG None 3m3?HFw/c u%B2}6K_0
|
'Qk+I(A?0Customer window is displayed with title "All Customers". z2t&`o/G)A\$V-B/` n0
|
51Testing软件测试网1vQ0T2L&Q#| f*F 4. Click on Add Button51Testing软件测试网 h"o|[ M
|
.Lu f"c9]5~ Q}0Customer - All Customer51Testing软件测试网3m1T,J#LzA
|
!mPuF+k3]#hSZ0None51Testing软件测试网9|m{7] c)rO-];W$Ks
|
)nyc"bu+M,l4IzW0Add Customer Screen is displayed. ,z o6PN"Zk5d!^h^e0
|
51Testing软件测试网 Y~)n X+K Z h
_'K3z"L0
51Testing软件测试网_M.T][i"]zR5. Enter data to add a new customer and single click the add button.51Testing软件测试网/YNX1dND8s[
|
51Testing软件测试网:{kg!VuUyo Add Customer d,zPm)Nh1w0
|
%L%Z$L] F0Name: John Doe e)wP4OAv0
`"w#V"XwhX0Addr: 123 Main st. 'O-_-q$P~2mQ,ID-o0
,s&_zzGE0City: San Francisco51Testing软件测试网]$IY@p|8k
bAQS
m0(Or refer to data sheet:51Testing软件测试网Rw4S}\'_
Lu-G'a5IA"F0Data Sheet - #105)51Testing软件测试网Y J0TP'X~
|
51Testing软件测试网2@"jfV$y
r jG,do Data display in indicated fields.51Testing软件测试网TZF4i*Z-A6^
51Testing软件测试网 |5C#|Q2b`,H,P` .|?m2Vg_4?jL
\0
51Testing软件测试网Z E{/P7X8ucu(Or: as defined by data sheet.) F8cZJ(G/HR`#mJ0
|
H6tMmrV/Y}C/C0Benefits:51Testing软件测试网i
O#ds4S&L:_.q
51Testing软件测试网VsNx+]1. Easier to automated - all have same structure
0qE/Qs:aD!E8|O1G0
T)B:k'JHM(^-J02. Data requirements are clearly defined51Testing软件测试网_]W(N~1a[@
3~EC v
p qZ jW03. Navigation is precise 51Testing软件测试网"BZ_c?8yyV_;RuX
51Testing软件测试网L}M)Yl(w
X fF4. Expected results for each action is specific - no guess work involved 51Testing软件测试网]H6['K@+s{w;O
o^k:C DaQ0 51Testing软件测试网'q4t0C!F
P'DusU!KJ
51Testing软件测试网,gof[.`51Testing软件测试网Q"Fb O^9L*D/W51Testing软件测试网?s2j5b8PI#I };A(mZH vi0Link URL:
http://www.cnblogs.com/tester2test/archive/2006/10/23/537087.html
收藏
举报
TAG: