Changes between Version 11 and Version 12 of DeveloperGuidelines/Testing/EdenTest/WriteTestcase
- Timestamp:
- 08/10/14 12:43:24 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/EdenTest/WriteTestcase
v11 v12 76 76 === Understanding the testcase === 77 77 78 [[BR]]79 78 * The testcase is in a separate file and has two sections - `*** Setttings ***` and `*** Test Cases ***` itself. 80 79 * As you can see, the name of the testcase is very descriptive and describes the objective. 81 80 * '''Open Browser''', '''Input Text''', '''Click Button''' and '''Page Should Contain''' are all keywords (functions) implemented in Selenium2Library. 82 81 * Every testcase and a suite has a setup and teardown. The common setup/teardown function is defined in the file '''main.txt''' file. It is run by default on every test defined under testsuites folder. One can create test setup/teardown as well by setting them in the `*** Settings ***` section. 83 82 The beauty of writing tests this way is that they are easy to read and understand and that is one of aims as well, that even someone without the technical know-how can read and write tests. 84 83