You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example exam should give you the oportunity to check you knowledge and to get an impression what kind of questions may be asked in the real examination for RFCP®.
Copy file name to clipboardExpand all lines: website/static/quizzes/Example.md
+43-35Lines changed: 43 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
shuffleQuestions: false
3
-
shuffleAnswers: false
3
+
shuffleAnswers: true
4
4
---
5
5
6
6
### Which THREE of the following statements about Robot Framework are correct?
@@ -21,12 +21,14 @@ shuffleAnswers: false
21
21
22
22
-[ ] Use of complex nested structures is not possible.
23
23
> Robot Framework avoids complex nested structures but they can be used.
24
-
-[ ] Use of specialized symbols and character sequences.
25
-
> Specialized symbols and character sequences are kept to a minimum.
26
-
-[X] Use of natural language-like keywords.
24
+
-[ ] Focus on the use of specialized symbols and character sequences as syntax.
25
+
> Specialized symbols and character sequences are kept to a minimum to improve readability. Robot Framework emphasizes clarity over complexity.
26
+
-[X] String first syntax where all arguments are strings unless explicitly stated otherwise.
27
+
> Unquoted strings are considered as strings, while variables need special syntax like `{variable}` or integers like `${42}`.
27
28
-[ ] There are no programming control flows such as if statements and for loops.
28
-
> Control flows are present in Robot Framework but a lot can be done without them.
29
-
-[X] Reliance on a tabular format.
29
+
> Control flows are present in Robot Framework as described in `LO-5.2.X` .
30
+
-[X] Reduced use of special characters.
31
+
> Compared to programming languages the focus is on reducing special characters, making the syntax human-readable and user-friendly.
30
32
31
33
### Which of the following statements is TRUE for `*** Test Cases ***` or `*** Tasks ***` section?
32
34
@@ -61,13 +63,16 @@ shuffleAnswers: false
61
63
62
64
> LO-2.3.2 Explain the execution artifacts generated by Robot Framework.
63
65
64
-
-[ ] Configuration files
66
+
-[ ] Configuration files (`robot.yaml`)
65
67
> Configuration files are not generated as a result of test execution, but are rather part of the project setup and development.
66
-
-[x] Log files
67
-
-[ ] Resource files
68
+
-[x] Log files (`log.html`)
69
+
> A detailed log file that provides an HTML view of the execution, including keyword-level details.
70
+
-[ ] Resource files (`keywords.resource`)
68
71
> Resource files are used by Robot Framework but are not created as execution artifacts; they are components used by tests.
69
-
-[x] Report files
70
-
-[x] Output files
72
+
-[x] Report files (`report.html`)
73
+
> A summary report that gives an overview of the execution results, including statistics of tests|tasks executed, passed, and failed.
74
+
-[x] Output files (`output.xml`)
75
+
> A machine-readable file containing ALL logged execution details, limited by the given log-level.
71
76
72
77
73
78
### Match the correct prefixes to different variable access types
@@ -76,29 +81,32 @@ shuffleAnswers: false
76
81
77
82
Given the following prefixes:
78
83
```
79
-
1. @
80
-
2. $
81
-
3. %
82
-
4. &
84
+
1. `@`
85
+
2. `$`
86
+
3. `%`
87
+
4. `&`
83
88
```
84
-
Put the list below in the correct order to match the given prefixes
89
+
90
+
Match the variable prefixes to their correct descriptions:
91
+
92
+
_(Use Drag&Drop to match)_
85
93
86
94
1. Store multiple values in a list structure
87
95
2. Store values as a single entity
88
96
3. Read access to an environment variable.
89
97
4. Store key-value pairs in a dictionary structure.
90
98
91
99
92
-
### Which TWO of the following statements are key characteristics of Test|Task|Teardown
100
+
### Which TWO of the following statements are key characteristics of `Test Teardown` and `TaskTeardown` ?
93
101
94
102
> LO-4.2.2-1 Recall key characteristics, benefits, and syntax of Test|Task Teardown
95
103
96
-
-[x] When Test|Task Teardown fails, the test|task is marked as failed in reports and logs.
97
-
-[ ] Test|Task Teardown runs only when the Test|Task passes.
98
-
> Runs always.
99
-
-[x] All keywords within the Test|Task Teardown are executed, even when one of them fails.
100
-
-[ ] Test|Task Teardown must be set separately for each test|task.
101
-
> Can be set glob
104
+
-[x] When `Test|Task Teardown` fails, the test|task is marked as failed in reports and logs.
105
+
-[ ]`Test|Task Teardown` runs only when the Test|Task passes.
106
+
> Teardowns run always, even if a preceding keyword fails.
107
+
-[x] All keywords within the `Test|Task Teardown` are executed, even when one of them fails.
108
+
-[ ]`Test|Task Teardown` must be set separately for each test|task.
109
+
> You can use the setting `Test Teardown` or `Task Teardown` in the `*** Settings ***` section to define a teardown for all tests|tasks in the suite which do not have a locally define Teardown with the `[Teardown]` setting.
102
110
103
111
104
112
@@ -107,19 +115,19 @@ Put the list below in the correct order to match the given prefixes
107
115
> LO-4.4 Recall the purpose of Test|Task Tags in Robot Framework
108
116
109
117
1.[ ] Tags are case-sensitive labels used for grouping suites and tests|tasks.
110
-
> Tags are case-insensitive and only used for tests|tasks.
118
+
> Tags are case-insensitive and only used for tests|tasks or keywords.
111
119
1.[ ] Tags are assigned to suites to create statistical summary of the suite results.
112
-
> Assigned to tests|tasks.
113
-
1.[x]"Tags offer a simple mechanism for classifying and controlling the execution of tests|tasks."
114
-
1.[ ]"Only pre-defined tags, such as `smoke`, `regression`, and `critical` can be assigned to tests|tasks"
120
+
> Tags are assigned to tests|tasks, not to suites, even though a default can be configured in the suite setting, which result in automatic tagging of all tests|tasks within that suite.
121
+
1.[x] Tags offer a simple mechanism for classifying and controlling the execution of tests|tasks.
122
+
1.[ ] Only pre-defined tags, such as `smoke`, `regression`, and `critical` can be assigned to tests|tasks
115
123
> Tags are free-form text labels.
116
124
117
125
118
126
### In the given scenario which of the test cases logs only a single entry
119
127
120
-
__Read__ the keyword explaination carefully to understand the given scenario!
128
+
_Read_ the keyword explaination carefully to understand the given scenario!
121
129
122
-
####Log Many
130
+
##_Keyword:_ Log Many
123
131
124
132
**Arguments**
125
133
@@ -133,7 +141,7 @@ Logs the given messages as separate entries using the INFO level.
133
141
Supports also logging list and dictionary variable items individually.
134
142
```
135
143
136
-
#### Variables
144
+
##_Variables_:
137
145
138
146
The following Variables are available to each test case.
139
147
@@ -177,10 +185,10 @@ The following Variables are available to each test case.
177
185
178
186
> LO-5.1.6 Recall that Robot Framework provides access to execution information via Built-In variables
179
187
180
-
1.[ ]"It is an absolute path to the directory where the current suite or resource file is located."
188
+
1.[ ]An absolute path to the directory where the current suite or resource file is located.
181
189
> Description for `${CURDIR}`
182
-
1.[x] It is an absolute path to the directory where test execution was started from.
183
-
1.[ ] It is an absolute path to the directory where output files are written.
184
-
> Description for `${OUTPUT_DIR}`.
185
-
1.[ ] It is an absolute path to the system temporary directory.
190
+
1.[x] An absolute path to the directory where test execution was started from.
191
+
1.[ ] An absolute path to the directory where output files are written.
186
192
> Description for `${OUTPUT_DIR}`.
193
+
1.[ ] An absolute path to the system temporary directory.
0 commit comments