@@ -16,20 +16,20 @@ Create person table
16
16
[Tags] db smoke
17
17
${output } = Execute SQL String CREATE TABLE person (id integer unique,first_name varchar(20),last_name varchar(20));
18
18
Log ${output }
19
- Should Be Equal As Strings ${output } 0
19
+ Should Be Equal As Strings ${output } None
20
20
21
21
Execute SQL Script - Insert Data person table
22
22
[Tags] db smoke
23
23
Comment ${output } = Execute SQL Script ./${DBName } _insertData.sql
24
24
${output } = Execute SQL Script ./my_db_test_insertData.sql
25
25
Log ${output }
26
- Should Be Equal As Strings ${output } 2
26
+ Should Be Equal As Strings ${output } None
27
27
28
28
Execute SQL String - Create Table
29
29
[Tags] db smoke
30
30
${output } = Execute SQL String create table foobar (id integer primary key, firstname varchar(20) unique)
31
31
Log ${output }
32
- Should Be Equal As Strings ${output } 0
32
+ Should Be Equal As Strings ${output } None
33
33
34
34
Check If Exists In DB - Franz Allan
35
35
[Tags] db smoke
@@ -69,7 +69,7 @@ Retrieve records from person table
69
69
[Tags] db smoke
70
70
${output } = Execute SQL String SELECT * FROM person;
71
71
Log ${output }
72
- Should Be Equal As Strings ${output } 2
72
+ Should Be Equal As Strings ${output } None
73
73
74
74
Verify person Description
75
75
[Tags] db smoke
@@ -120,19 +120,19 @@ Verify Execute SQL String - Row Count person table
120
120
[Tags] db smoke
121
121
${output } = Execute SQL String SELECT COUNT(*) FROM person;
122
122
Log ${output }
123
- Should Be Equal As Strings ${output } 1
123
+ Should Be Equal As Strings ${output } None
124
124
125
125
Verify Execute SQL String - Row Count foobar table
126
126
[Tags] db smoke
127
127
${output } = Execute SQL String SELECT COUNT(*) FROM foobar;
128
128
Log ${output }
129
- Should Be Equal As Strings ${output } 1
129
+ Should Be Equal As Strings ${output } None
130
130
131
131
Insert Data Into Table foobar
132
132
[Tags] db smoke
133
133
${output } = Execute SQL String INSERT INTO foobar VALUES(1,'Jerry');
134
134
Log ${output }
135
- Should Be Equal As Strings ${output } 1
135
+ Should Be Equal As Strings ${output } None
136
136
137
137
Verify Query - Row Count foobar table 1 row
138
138
[Tags] db smoke
@@ -156,13 +156,13 @@ Begin first transaction
156
156
[Tags] db smoke
157
157
${output } = Execute SQL String SAVEPOINT first True
158
158
Log ${output }
159
- Should Be Equal As Strings ${output } 0
159
+ Should Be Equal As Strings ${output } None
160
160
161
161
Add person in first transaction
162
162
[Tags] db smoke
163
163
${output } = Execute SQL String INSERT INTO person VALUES(101,'Bilbo','Baggins'); True
164
164
Log ${output }
165
- Should Be Equal As Strings ${output } 1
165
+ Should Be Equal As Strings ${output } None
166
166
167
167
Verify person in first transaction
168
168
[Tags] db smoke
@@ -172,13 +172,13 @@ Begin second transaction
172
172
[Tags] db smoke
173
173
${output } = Execute SQL String SAVEPOINT second True
174
174
Log ${output }
175
- Should Be Equal As Strings ${output } 0
175
+ Should Be Equal As Strings ${output } None
176
176
177
177
Add person in second transaction
178
178
[Tags] db smoke
179
179
${output } = Execute SQL String INSERT INTO person VALUES(102,'Frodo','Baggins'); True
180
180
Log ${output }
181
- Should Be Equal As Strings ${output } 1
181
+ Should Be Equal As Strings ${output } None
182
182
183
183
Verify persons in first and second transactions
184
184
[Tags] db smoke
@@ -188,7 +188,7 @@ Rollback second transaction
188
188
[Tags] db smoke
189
189
${output } = Execute SQL String ROLLBACK TO SAVEPOINT second True
190
190
Log ${output }
191
- Should Be Equal As Strings ${output } 0
191
+ Should Be Equal As Strings ${output } None
192
192
193
193
Verify second transaction rollback
194
194
[Tags] db smoke
@@ -198,7 +198,7 @@ Rollback first transaction
198
198
[Tags] db smoke
199
199
${output } = Execute SQL String ROLLBACK TO SAVEPOINT first True
200
200
Log ${output }
201
- Should Be Equal As Strings ${output } 0
201
+ Should Be Equal As Strings ${output } None
202
202
203
203
Verify first transaction rollback
204
204
[Tags] db smoke
@@ -208,4 +208,4 @@ Drop person and foobar tables
208
208
[Tags] db smoke
209
209
${output } = Execute SQL String DROP TABLE IF EXISTS person,foobar;
210
210
Log ${output }
211
- Should Be Equal As Strings ${output } 0
211
+ Should Be Equal As Strings ${output } None
0 commit comments