Data-Driven Testing (via Database) with Selenium & TestNG

提供方
Coursera Project Network
在此指導項目中,您將:

Understanding data-driven testing approach

Creating reusable and structured code/components

Writing utilities to read test data from database

Writing utilities to derive test cases through test data

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

Selenium is one of the most famous UI test automation tool which works well with the TestNG testing framework. Data-Driven testing is test design and execution strategy where test data is external to your functional tests. One of the ways is to keep the test data in external source like a database. The library used to read data from the database (MySql) is JDBC (My Sql Connector) In this two hours guided project, through hands-on, practical experience, you will go through concepts writing reusable and structure code, writing utilities to read test data from an external source like database, and derive test cases through these test data.

您要培養的技能

  • Data-Driven Testing
  • Functional Testing
  • TestNG
  • Java
  • Selenium

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Understanding Data-Driven testing approach and project walk-through

  2. Data-Driven testing using @DataProvider annotation

  3. Setup Database with test data

  4. Writing utility to establish a connection with the database

  5. Writing utility to execute a select query to the database

  6. Writing utility to pass test data from the database

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心