Setup and teardown methods in Selenium
Learn what setup and teardown methods do in Selenium WebDriver.
In this video, we will learn how to write a setup and a teardown method in Selenium. The a setup method is used to get everything ready prior to running an automated test using Selenium WebDriver. A teardown method on the other hand is used to "clean up" once our test is finished. We will also learn about two TestNG annotation, "@BeforeSuite" and "@AfterSuite".
You can find the source code for this project on automateNow's GitHub page.
https://github.com/automatenow/IntroToWebDriver
? Subscribe for weekly videos! ?
? CHAPTERS
00:00 ~ Intro
00:14 ~ Code duplication is bad
00:42 ~ Tests maintainability
01:39 ~ Writing a setup method
02:21 ~ Writing a tear down method
02:38 ~ Benefits of setup & tear down methods
03:02 ~ TestNG @BeforeSuite & @AfterSuite annotations
03:59 ~ Running the tests
?? COURSES
☕ Java For Absolute Beginners https://bit.ly/learn-java2022
⏯ PLAYLISTS
☑️ Automation Fundamentals https://bit.ly/2QbN7qm
☑️ Automation Tools https://bit.ly/2OFj4qO
☑️ General WebDriver https://bit.ly/2Z3tG7y
☑️ Intro to WebDriver https://bit.ly/3gb5Jlx
☑️ Intermediate WebDriver https://bit.ly/2OBTR0r
☑️ Java https://bit.ly/3sBuI7M
☑️ Selenium 4 https://bit.ly/2VQ1lA9
☑️ Version Control https://bit.ly/3CvHplU
☑️ Web Element Locators https://bit.ly/2QfDGpK
? LET'S CONNECT!
☑️ https://linktr.ee/automateNow
Видео Setup and teardown methods in Selenium автора Простые уроки Python
Видео Setup and teardown methods in Selenium автора Простые уроки Python
Информация
2 декабря 2023 г. 18:01:31
00:05:32
Похожие видео