P. 1
Gettingstarted Tutorial_SilkTest

Gettingstarted Tutorial_SilkTest

|Views: 118|Likes:
Publicado porhano66

More info:

Published by: hano66 on Aug 25, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





When you create a testcase, keep the following in mind:
•A testcase has three fundamental tasks:
-Drive the application to the state to be tested
-Verify that the actual state matches the expected state
-Return the application to its initial state (also called the base state)
•Each testcase is independent of other testcases; that is, no script or
testcase should rely on the successful completion of a previous script or
•Each testcase should have a single purpose. This makes it easy to
determine specifically what aspect of the application is either working or
not working.
•A testcase starts from base state. In order for a testcase to be able to
function properly, the application must be in a stable state when the
testcase begins to execute.
Tip After learning the basics of recording a testcase in the next
section, be sure to read about “Recording from a Testplan” on
page95. That section describes how to make recording easier by
automatically generating the links that connect the testplan to the
testcase for you.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->