-
Notifications
You must be signed in to change notification settings - Fork 5
create a test script
Sallah Kokaina edited this page Jan 13, 2016
·
2 revisions
A script is a plain text file that represents a full or partial test case. It can contain setup blocks, variable declaration, scenario blocks, and comments.
Everything that is not a block (setup or scenario), a variable declaration, or an include, will be considered as a comment. For the moment, comments are not visible in the test reports.
|| auto setup || web page || GoogleSearchPage ||
| name | type | locator | method | position |
| search | input | lst-ib | ID | 0 |
The title line must contain “auto setup”...
##Import a script
#include testFile.script
#include someOtherFolder/testFile2.script
To include another script, type #include followed by the relative path of the script. During the test execution, the
#include
line will be replaced by the imported file.