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

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心