Getting Started
Start by selecting File -> New from the SilkTest menu. Then choose Testplan from the list of file types.
This will create a blank testplan document. You can utilize the outline features of the tool to create a hierarchy of tests you want to automate with SilkTest. Testplans can be included with other testplans in a master/subplan schema.
Next you can begin adding Group Descriptions and Test Items to the plan.
Download this plan
Note: The blue items in the testplan above are considered Test Items. The black items are Group Descriptions.
--------------------------------------------------------------------------------
script: statement
This statement connects a test or set of tests to a specific script (*.t) file. This statement can be placed anywhere in the test hierarchy. Its value will be inherited downward in the plan. If all test items in the plan will be automated in the same script, you can place the script statement at the top of the plan and it won't need to be repeated.
--------------------------------------------------------------------------------
testcase: statement
This statement connects a specific test item in the plan to a specific testcase in a script (*.t) file.
--------------------------------------------------------------------------------
testdata: statement
This statement passes argument (s) to a reusable testcase. The testdata may be literal data, symbols, or global variables declared in a script or test frame.
--------------------------------------------------------------------------------
Testplan Detail Dialog
Once tests have been defined, the testcase and script statements connect the tests to SilkTest testcases. These statements can be typed by the user directly into the testplan, or assigned using the Testplan -> Detail dialog.
--------------------------------------------------------------------------------
Completed Testplan
This image shows a small section of a testplan. You can see the script statement, the testcase statement, and the testdata statement, which is being used to pass arguments to a reusable test. Also, there is a symbol and an attribute declared.
--------------------------------------------------------------------------------
Colors
Colors are significant in Silk Organizer and provide a visual cue to the structure of the testplan. Following are the colors in Silk Organizer. Remember these colors can be changed using the Editor -> Colors menu item from SilkTest.
Blue - Test Items (These are counted in the Completion Report)
Black - Test Category - (These are not counted in the Completion Report)
Red - Reserved Word - These words are recognized (script, testcase, testdata, attributes, symbols, optionset)
Pink - Include statements
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment