Click to copy, then share by pasting into your messages, comments, social media posts and websites.
Click to copy, then add into your webpages so users can view and engage with this video from your site.
Report Content
We also accept reports via email. Please see the Guidelines Enforcement Process for instructions on how to make a request via email.
Thank you for submitting your report
We will investigate and take the appropriate action.
WebDriver Web Testing with Page Objects in 15 minutes. IntelliJ IDEA
** WebDriver Java Tutorial to follow **
https://medium.com/software-testing-break-and-improve/intellij-idea-selenium-webdriver-automated-web-tests-with-page-objects-in-15-minutes-50aff32b7492
** Download ChromeDriver **
https://chromedriver.chromium.org/downloads
** Download IntelliJ IDEA IDE (Select Community version) **
https://www.jetbrains.com/idea/
** Formy Web Page for Automation **
https://formy-project.herokuapp.com/form
** GitHub repository with the test code **
https://github.com/deemoun/formy-form-automation
** Subscribe to my publication on Medium **
https://medium.com/software-testing-break-and-improve
Timeline
0:00 Introduction to WebDriver
2:26 What actions Test Automation tools usually perform
3:05 Setting up our IntelliJ IDEA project
5:24 Adding ChromeDriver to our project
5:57 Drafting up our code for performing Formy web automation
6:50 Discussing creating the Web testing project structure (Java classes)
8:45 Creating a PageObject class
9:31 Creating a Utils class to hold variables for our tests and "helper" methods in the future
10:02 Clarification about where to get the ChromeDriver and how to pick an appropriate version
10:41 Discussing a WebForm class
11:14 Locating elements for our Web tests. Different options for finding elements in browser
14:32 Annotations. Using TestNG annotations in our test
15:20 Creating our main method to wire up all test methods together in one class
16:12 "AfterSuite" annotation discussion
17:02 Running our test
17:33 Intentionally breaking our Web test to see the case when it fails
18:30 Locators. The ways how to find locators on the Web page. Selenium IDE tool
19:10 Discussing test validation methods we can use
20:22 Timeouts for tests. How to use Implicit timeout
21:42 Executing tests with form validation logic built-in
22:00 Discussing what we achieved and other ways to improve
Topics discussed in video:
1) Why should we use PageObject and PageFactory concept
2) Drafting up WebDriver code in Java
3) Discussing how we will use all the classes in our project
4) How OOP concept is used in Automation
5) What TestNG is for and how it helps structure our tests
6) How can we validate the results of the Web Page automated script
7) Ways to improve our coverage
8) How to set up Implicit Wait in WebDriver (also recommending to learn more about "Explicit Wait")
9) How to run our WebDriver Tests
If you found this video useful please consider subscribing and/or donating using the links below.
Thank you a lot!
💰 Support me (for NEW videos!):
https://www.patreon.com/nomadicdmitry
🏡My website:
http://www.trvlforever.com
Category | Science & Technology |
Sensitivity | Normal - Content that is suitable for ages 16 and over |
Playing Next
Related Videos
Почему я люблю Южную Корею? #южнаякорея #пусан #southkorea
2 days, 5 hours ago
Набережная Пусана | Южная Корея #пусан #южнаякорея #haeundae
2 days, 5 hours ago
Пляж в Корее | Навесной мост #корея #пусан #busan
2 days, 5 hours ago
Кафе без людей | Южная Корея #пусан #корея #корейцы
2 days, 6 hours ago
Парки в Пусане | Южная Корея #пусан #южнаякорея #busan
2 days, 9 hours ago
Warning - This video exceeds your sensitivity preference!
To dismiss this warning and continue to watch the video please click on the button below.
Note - Autoplay has been disabled for this video.