Learn, Share and Keep Learning
| Silk Test - Steps To Get Started |
| Testing Tools - Test Execution |
|
This article in the series of tutorials for Silk Test gives step-by-step guide of getting started with test automation using Silk Test. In this article we will describe how to identify test cases for automation, create a test plan in Silk Test, Recored a Test Frame, execute and analyze results. Normally, following steps are involved in start writing automated test cases in SilkTest
First step in automation should be to figure out which test cases you would like to automate? Answer to this question will be based on your project attributes like Once you have identified the test cases, you can organize them in the form of test plan. Test plan editor provided by Silk can be used for this purpose. Test plan is a hierarchical structure and contains information about the test cases and their description. Test cases present in the plan are linked to the test cases present in the .t files. These test plan can be organized in the way your testing efforts are organized. In most of the cases, test plan contains all the test cases for one particular functionality. You can also have sub test plan to organize it at a more granular level.
After identification and organization of test cases, next step is to identify GUI involved in these test cases. Silk test identifies GUI items as object and it should be present before writing test cases. These GUI objects are called Test frame in Silk Test terminology. These test frame contains description of GUI object in your application called window declaration. In window declaration, every GUI object is assigned a logical, cross-platform name. This logical name is related to actual object by various attributes called tags. SilkTest identify every object uniquely with the help of these tags and in our script mostly, logical names for the tags are used. In the newer versions of SilkTest same thing is called GUI Test map instead of Test frame. SilkTest also supports regular expression that can be used in tags for objects which are dynamic in nature.
For every test case, essentially you need to follow these four steps
Test cases in SilkTest can be executed in many ways. It can be executed from .t file, or a specific portion of plan file or it could be from test suite which is a collection of various test plans and scripts. Test cases can also be executed from command line. After execution, test results are stored in the .RES format or in MS SQL and are available for the analysis. |