File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,12 +57,6 @@ For loop if else if early exit
5757If with comments
5858 Check Test Case ${TESTNAME }
5959
60- If with invalid condition
61- Check Test Case ${TESTNAME }
62-
63- If with invalid condition 2
64- Check Test Case ${TESTNAME }
65-
6660If with invalid condition after valid is ok
6761 Check Test Case ${TESTNAME }
6862
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ If without condition
99If with many conditions
1010 Check Test Case ${TESTNAME }
1111
12+ If with invalid condition
13+ Check Test Case ${TESTNAME } 1
14+ Check Test Case ${TESTNAME } 2
15+
1216If without end
1317 Check Test Case ${TESTNAME }
1418
Original file line number Diff line number Diff line change @@ -155,18 +155,6 @@ If with comments
155155 Log no joo # Here is also ok
156156 END # Here is also ok
157157
158- If with invalid condition
159- [Documentation] FAIL STARTS: Evaluating expression ''123'=123' failed: SyntaxError:
160- IF '123'=${123 }
161- Log Demo
162- END
163-
164- If with invalid condition 2
165- [Documentation] FAIL Evaluating expression 'ooops' failed: NameError: name 'ooops' is not defined nor importable as module
166- IF ooops
167- Log Demo
168- END
169-
170158If with invalid condition after valid is ok
171159 IF ${True }
172160 Log Demo
Original file line number Diff line number Diff line change @@ -11,6 +11,18 @@ If with many conditions
1111 No Operation
1212 END
1313
14+ If with invalid condition 1
15+ [Documentation] FAIL STARTS: Evaluating expression ''123'=123' failed: SyntaxError:
16+ IF '123'=${123 }
17+ Log Demo
18+ END
19+
20+ If with invalid condition 2
21+ [Documentation] FAIL Evaluating expression 'ooops' failed: NameError: name 'ooops' is not defined nor importable as module
22+ IF ooops
23+ Log Demo
24+ END
25+
1426If without end
1527 [Documentation] FAIL IF has no closing END.
1628 IF ${True }
You can’t perform that action at this time.
0 commit comments