Introduction to TestNG and Integration with Selenium

4.6
18 個評分
提供方
Coursera Project Network
在此指導項目中,您將:

Learn annotations in TestNG - @Test, @Before**** and @After****

Learn using attributes with TestNG annotations

Adding assertions to write effective test cases

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

TestNG stands for Test Next Generation is a testing framework that provides the developer the ability to write more flexible and powerful tests with help of easy annotations, grouping, sequencing & parametrizing. It can easily be integrated with automation tools like Selenium and is widely used by automation test experts to write functional tests. In this one-hour guided project through hands-on, practical exercises, you will learn -- 1. Writing test cases using @Test annotation using TestNG 2. Using @BeforeMethod and @AfterMethod annotations and their purpose in TestNG 3. Using @BeforeClass and @AfterClass annotations and their purpose in TestNG 4. TestNG integration with Selenium automation tool 5. Priority and enabled attributes in TestNG to control the order of execution and enabling/disabling a test case. 6. Using Assert statement to add assertions in TestNG 7. Understanding different format of reports in TestNG Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培養的技能

TestNG TestingFunctional TestingUnit Testingselenium automationTest Automation

分步進行學習

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

  1. Writing test cases using @Test annotation using TestNG

  2. Using @BeforeMethod and @AfterMethod annotations and their purpose in TestNG

  3. Using @BeforeClass and @AfterClass annotations and their purpose in TestNG

  4. TestNG integration with Selenium automation tool

  5. Priority and enabled attributes in TestNG to control the order of execution and enabling/disabling a test case.

  6. Using Assert statement to add assertions in TestNG

  7. Understanding different format of reports in TestNG

指導項目工作原理

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

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

常見問題

常見問題

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