我的地盘我做主!
博客:http://tester2test.cnblogs.com/
msn:win_soft@163.com
老外写的一个测试用例
上一篇 /
下一篇 2007-04-09 07:27:14
/ 个人分类:其他
51Testing软件测试网]r~5lhP3MTest case example:
rwpk2{|*UC
PM0
7_mD_D8x_q`u0Test Case ID: CUST.0151Testing软件测试网WHU2j$han
\*{D3kh$?0Function: Add a new Customer51Testing软件测试网Mi~&hQj2d
51Testing软件测试网6Jw+YPcL6Z
{(\1IData Assumptions: Customer database has been restored
F@(c Q&C$s0
51Testing软件测试网)Hx/Q@fGeneral Description:
8i
U'Xf F)y"bt0
51Testing软件测试网!av1e`,^Add a new customer, via the Customer Add screen, and validate that new Customer was displayed corrected on the All Customer Screen.51Testing软件测试网3^4{X i4h:f^R
+b!n(Vk
s"|l1o0Action j9}8NK `c0
|
N:vp_@w0Initial State or Screen51Testing软件测试网9y,Rn6_#P
kqa(k$r
|
51Testing软件测试网(R\l)Bu[wa8Q&s
D Data `6UH_p"Fy;d
d0
|
4R&Y5wf6l|0Expected Results 7s0mT Jm ut0
Q`#xGf|g Wddn0(Response) 'Y-Z+_(NT~0
|
!b,Zr'f8Z'^B01. Bring up Sales application via the Windows Icon OR(W2m m%Z0N
c0
|
'pI/|il8?c.TtG0Program Manager !aI7e
phTF+}0
|
51Testing软件测试网m M'F#lP!zoX*l None51Testing软件测试网1d#[(p ];w
|
?&j2j]9w.J]'O%C0Main Sales Application Menu displayed51Testing软件测试网upFnOZ+iz
|
51Testing软件测试网7bp0|&r6B0L'o 51Testing软件测试网T|i@9vGZAld
51Testing软件测试网I]Lp6kJ W2U!@2. From Views Menu Select Customer.51Testing软件测试网oPl`%Ag
|
@E
|5aK~
\&Mc@D0Main Sales Screen 6qmnHI+d(c0
|
51Testing软件测试网 ?Sl])Uxqb-F None r9F ^/}}fTSI#F0
|
51Testing软件测试网Z(V
D_xT/F Customer Views Screen Displayed.
{ @{7w&T"{y-n;U@9X0
|
"R;mnF^ s0 51Testing软件测试网 yM UAjAO&p
51Testing软件测试网&tMg1Yu3. Click on All Customers Z
b;f;n$wF9j [ QCJ0
|
9p7Y&H8FI!b*Q\_0Customer View51Testing软件测试网,cM~ nA5w._p
|
'eB@.Ui6R:S*S0None51Testing软件测试网"dY O3t1{\
|
QN
gk#p7OA"P0Customer window is displayed with title "All Customers".51Testing软件测试网{mnH~kD8|u
|
51Testing软件测试网i
q-{B_I 4. Click on Add Button51Testing软件测试网6P9Be!G.MS
|
FH(\ h/s)]F0Customer - All Customer51Testing软件测试网o2t1G'cH:v*Gp0q
X#w0n!h
|
:saxF;A(}0None51Testing软件测试网{ x1}[
n
|
51Testing软件测试网3v'Rc9`U*^T Add Customer Screen is displayed.51Testing软件测试网5}b&wh
C
|
9BjP0Aa"p0 xM j*R ^Vw0
H.rJ B0J6`5M05. Enter data to add a new customer and single click the add button.51Testing软件测试网ARnJ3Ds4E^
|
51Testing软件测试网V2\_w9Y6YI Add Customer :Gd LuYo l0
|
51Testing软件测试网"} k JH\ } Sq1k Name: John Doe51Testing软件测试网Oaa@9xz-g
h
51Testing软件测试网9{'b+X:u)L'i*W(TAddr: 123 Main st. +JF-?7e"F8Lwn'{0
M,Cq-u8x2[OuH0City: San Francisco R:lZK~9m.J{~
W0
'B)Q`D!RFgs0(Or refer to data sheet:51Testing软件测试网2I6qUigM'z
51Testing软件测试网,V1AUvcS&\K VData Sheet - #105)51Testing软件测试网p'l8P`7T
~
]r`:L
E
|
(@|2fM%V#F6@?0Data display in indicated fields.51Testing软件测试网,Kv0e"bC3l
51Testing软件测试网Fj6voB,z1O 51Testing软件测试网'rx+W!jj
~%l+Sr%Y0(Or: as defined by data sheet.)51Testing软件测试网 TA1oz.PVR%JV8[h
|
T;z
u$C~$M0Benefits:51Testing软件测试网&`k$M ] j)wFjb
51Testing软件测试网:P8u;@d j\1. Easier to automated - all have same structure51Testing软件测试网$No-bX$^3j6^ H;~
51Testing软件测试网 X"KHu&c!e+n MA&[g2. Data requirements are clearly defined
J{){,WbmS0
51Testing软件测试网G!_)B
L~&[f3. Navigation is precise 51Testing软件测试网N.m1tb-j;x+n
Nq!tj
}0j04. Expected results for each action is specific - no guess work involved 51Testing软件测试网Z-_ch(L@5A
51Testing软件测试网u^%fA9},fC7[ 51Testing软件测试网n,Q9F8`+rW3l
51Testing软件测试网;Am(yh%@k}9Q%I}t2K
z(Jf03N6Fb6E+qA0
W3[eZk5m0Link URL:
http://www.cnblogs.com/tester2test/archive/2006/10/23/537087.html
收藏
举报
TAG: