WebDriver Web Testing with Page Objects in 15 minutes. IntelliJ IDEA

Subscribers:
9,490
Published on ● Video Link: https://www.youtube.com/watch?v=rirMN72XDr0



Duration: 23:10
25,296 views
425


Support me (for NEW videos!):

BITCOIN: 15xWdEqwxMoJsXbsrxqv2trbrSLM2dtyfF
PATREON: https://www.patreon.com/nomadicdmitry
FOR A COFFEE: https://www.buymeacoffee.com/nomadicdmitry

** 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.

🏡My website:
http://www.trvlforever.com

📚My Medium articles:

💻Who is responsible for quality of software testing - https://medium.com/@nomadic.dmitry/who-is-responsible-for-the-quality-of-application-testing-cef91db32f74
🎴Relax. Travel doesn't solve any of your problems - https://medium.com/@nomadic.dmitry/relax-travel-doesnt-solve-any-of-your-problems-ff5e4dcf77e3
🗺How location independence changed my mindset - https://medium.com/@nomadic.dmitry/how-location-independence-changed-my-mindset-4ea95ab6c2b1
👎The power of saying "No" - https://medium.com/@nomadic.dmitry/the-power-of-saying-no-b164e0fa40d9
🗺3 rules for following nomadic travel dream - https://medium.com/@nomadic.dmitry/3-rules-for-following-a-nomadic-travel-dream-511d5cb23c1c
😉Why being yourself is the best thing you could do - https://medium.com/@nomadic.dmitry/why-being-yourself-is-the-best-thing-you-could-do-cdbbb66f5d4
💻Android Automation. Simple Espresso tutorial - https://medium.com/@nomadic.dmitry/android-automation-a-super-simple-guide-to-create-your-first-espresso-test-395963c77a40

👉My Website articles:
🏡How to book Airbnb Apartments for a best price - http://trvlforever.com/book-airbnb-best-price/
🏕Nomad challenges when living in the vehicle - http://trvlforever.com/vanlife-nomad-challenges/
🌎I love Nevada and it's not only about Las Vegas -
http://trvlforever.com/i-love-nevada-and-not-only-vegas/
🔖Most important words for your trip to Mexico -
http://trvlforever.com/spanish-words-for-travel/
💸How to travel like a king on a low budget - http://trvlforever.com/low-budget-travel/
🌎Los Angeles in one day. What to visit? - http://trvlforever.com/la-one-day/
🏕Lake Tahoe Camping. Best places to camp on budget - http://trvlforever.com/nevada-camping/
🏕Camping in Mojave Desert: Experience - http://trvlforever.com/camping-in-mojave/
🌎Rediscovering American cities. Virginia city - http://trvlforever.com/virginia-city/

#WebDriver #TestAutomation #Java







Tags:
selenium webdriver
automated testing
selenium webdriver tutorial
selenium webdriver with java
automated testing java
automated testing tools for web applications
web form automation
pageobject webdriver
chromedriver
webdriver pagefactory
automated tests in java
tests with intellij idea
java tests
testng annotations
maven build automation
form automation
web testing
intellij idea java coding
web test automation in java
web page automation with page objects