forked from robotframework/PythonRemoteServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule.robot
46 lines (38 loc) · 1.28 KB
/
module.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
*** Settings ***
Documentation Testing basic communication using a module based library.
... `basic_communication.robot` contains same tests using
... a library implemented as a class.
Resource resource.robot
Suite Setup Start And Import Remote Library Module.py
Suite Teardown Stop Remote Library
*** Variables ***
${COUNT} 100
*** Test Cases ***
Passing
Passing
Failing
[Documentation] FAIL This is the error we get
Failing This is the error we get
Fail This should not be executed
Logging
[Documentation] LOG 1 INFO Hello, world! LOG 2 WARN Warning, warning!!
Logging Hello, world!
Logging Warning, warning!! WARN
Returning
${ret} = Returning return this
Should Be Equal ${ret} return this
Use multiple times
[Documentation]
... LOG 1.1.2 Round 1
... LOG 1.2.2 Round 2
... LOG 1.${COUNT}.2 Round ${COUNT}
FOR ${i} IN RANGE ${COUNT}
Passing
Logging Round ${i + 1}
END
Private methods should ne ignored
[Documentation] FAIL No keyword with name 'Private Method' found.
Private Method
Attributes should be ignored
[Documentation] FAIL No keyword with name 'ATTRIBUTE' found.
ATTRIBUTE