@@ -171,3 +171,93 @@ Feature: Mssql source- Verify Mssql source plugin design time validation scenari
171171 Then Enter input plugin property: "referenceName" with value: "targetRef"
172172 And Click on the Validate button
173173 Then Verify that the Plugin is displaying an error message: "errormessageBlankHost" on the header
174+
175+ @Mssql_Required
176+ Scenario : Verify required fields missing validation messages
177+ Given Open Datafusion Project to configure pipeline
178+ When Expand Plugin group in the LHS plugins list: "Sink"
179+ When Select plugin: "SQL Server" from the plugins list as: "Sink"
180+ Then Navigate to the properties page of plugin: "SQL Server"
181+ Then Click on the Validate button
182+ Then Verify mandatory property error for below listed properties:
183+ | jdbcPluginName |
184+ | referenceName |
185+ | database |
186+ | tableName |
187+
188+ @Mssql_Required
189+ Scenario : Verify the validation error message with missing jdbc plugin name
190+ Given Open Datafusion Project to configure pipeline
191+ When Expand Plugin group in the LHS plugins list: "Sink"
192+ When Select plugin: "SQL Server" from the plugins list as: "Sink"
193+ Then Navigate to the properties page of plugin: "SQL Server"
194+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
195+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
196+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
197+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
198+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
199+ Then Click plugin property: "switch-useConnection"
200+ Then Click on the Validate button
201+ Then Verify that the Plugin is displaying an error message: "blank.jdbcPluginName.message" on the header
202+
203+ @MSSQL_AS_SOURCE @MSSQL_AS_TARGET @Mssql_Required
204+ Scenario : Verify the validation error message with blank password value
205+ Given Open Datafusion Project to configure pipeline
206+ When Expand Plugin group in the LHS plugins list: "Source"
207+ When Select plugin: "SQL Server" from the plugins list as: "Source"
208+ When Expand Plugin group in the LHS plugins list: "Sink"
209+ When Select plugin: "SQL Server" from the plugins list as: "Sink"
210+ Then Connect plugins: "SQL Server" and "SQL Server2" to establish connection
211+ Then Navigate to the properties page of plugin: "SQL Server"
212+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
213+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
214+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
215+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
216+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
217+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
218+ Then Replace input plugin property: "database" with value: "databaseName"
219+ Then Enter textarea plugin property: "importQuery" with value: "selectQuery"
220+ Then Validate "SQL Server" plugin properties
221+ Then Close the Plugin Properties page
222+ Then Navigate to the properties page of plugin: "SQL Server2"
223+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
224+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
225+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
226+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
227+ Then Replace input plugin property: "database" with value: "databaseName"
228+ Then Replace input plugin property: "tableName" with value: "targetTable"
229+ Then Replace input plugin property: "dbSchemaName" with value: "schema"
230+ Then Enter input plugin property: "referenceName" with value: "targetRef"
231+ Then Click on the Validate button
232+ Then Verify that the Plugin is displaying an error message: "blank.connection.message" on the header
233+
234+ @MSSQL_AS_SOURCE @MSSQL_AS_TARGET @Mssql_Required
235+ Scenario : Verify the validation error message with blank host value
236+ Given Open Datafusion Project to configure pipeline
237+ When Expand Plugin group in the LHS plugins list: "Source"
238+ When Select plugin: "SQL Server" from the plugins list as: "Source"
239+ When Expand Plugin group in the LHS plugins list: "Sink"
240+ When Select plugin: "SQL Server" from the plugins list as: "Sink"
241+ Then Connect plugins: "SQL Server" and "SQL Server2" to establish connection
242+ Then Navigate to the properties page of plugin: "SQL Server"
243+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
244+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
245+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
246+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
247+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
248+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
249+ Then Replace input plugin property: "database" with value: "databaseName"
250+ Then Enter textarea plugin property: "importQuery" with value: "selectQuery"
251+ Then Validate "MySQL" plugin properties
252+ Then Close the Plugin Properties page
253+ Then Navigate to the properties page of plugin: "SQL Server2"
254+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
255+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
256+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
257+ Then Replace input plugin property: "database" with value: "databaseName"
258+ Then Replace input plugin property: "tableName" with value: "targetTable"
259+ Then Replace input plugin property: "dbSchemaName" with value: "schema"
260+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
261+ Then Enter input plugin property: "referenceName" with value: "targetRef"
262+ Then Click on the Validate button
263+ Then Verify that the Plugin is displaying an error message: "blank.connection.message" on the header
0 commit comments