Skip to content

Commit 714f1ed

Browse files
committed
Test "For Loop"
1 parent f38e077 commit 714f1ed

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/tests/common_tests/basic_tests.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,11 @@ Verify Query - Row Count foobar table 0 row
144144
[Setup] Create Foobar Table And Insert Data
145145
Delete All Rows From Table foobar
146146
Row Count Is 0 SELECT * FROM foobar
147+
148+
For Loop
149+
FOR ${i} IN RANGE 10
150+
${results}= Query SELECT LAST_NAME FROM person ORDER BY id
151+
Sleep 3s
152+
IF '${results}[0][0]' == 'Musk' BREAK
153+
END
154+
Should Be Equal As Strings ${results}[0][0] Musk

0 commit comments

Comments
 (0)