Hello Everyone, I am Rex Jones II and it was fun creating this Selenium using Java with Page Object Model course. Selenium is considered #1 for Web Automation. Page Object Model is the design pattern which has benefits that include Code Maintainability, Code Reusability, and Code Readability. I wanted to give a big shout out to Beau and Free Code Camp! Watch a Java course if you want a foundation of programming www.youtube.com/@freecodecamp/search?query=Java All the source code from this course has been placed on GitHub github.com/RexJonesII/FreeCodeCampSeleniumJava Feel free to connect with me on LinkedIn & UA-cam: LinkedIn www.linkedin.com/in/rexjones34/ UA-cam ua-cam.com/users/RexJonesII I’m available if you have any questions! Thanks
Thanks for this amazing tutorial Mr. Jones! I have a question? Is there any jobs specifically for Page Object Model testing? If so, what would be the best platforms to utilize? I've been having such a great time learning from your tutorial, but I've been some what discouraged not to find roles for this particular skill. Thanks!
@@RexJonesII Hey Rex, sorry to ask again but it would be a huge favor to have selenium with C# tutorial (preferably with BDD framework). Thanks once again.
Thanks for the tutorial! Those Java Selenium basics alongside the Page Object Model helped me impress my interviewers for an automation testing internship.
Nowadays QA profiles are underpaid in my project developer create the automation framework and as a tester we only run the framework at time of regression😢 Freshers don't go with QA for better pay, created side income using freelancing platform learn MERN stack this is the best choice
I have question: @BeforeMethod public void loadApplication() { driver.get(DEMOQA_URL); basePage = new BasePage(); basePage.setDriver(driver); setUtilityDriver(); homePage = new HomePage(); } why the setUtilityDriver(); is used here, if above line basePage.setDriver(driver); do the same thing as setUtilityDriver()?
That's a great question @slota4 👍 I implemented setUtilityDriver() in the baseTest class because only implementing basePage.setDriver(driver) would return NullPointerException. The program returns an exception after calling a method from a Utility class that utilizes the driver.
Thanks @ivano8 👍This video course does not cover Shadow Roots but here's my Shadow Roots Playlist ua-cam.com/play/PLfp-cJ6BH8u_MvNXdpHtc-0Q1uMCWb9dM.html
Hi @sarnendusarkar1872 The pom.xml file is usually available after creating a project. If you have IntelliJ IDE then you can press CTRL + SHIFT + N and select Files. In the search bar, type pom.xml to see the file
He really needs to show his steps better. I've wasted the last half hour figuring out how to get to environment variables and pasting the bin. He just mentions it off hand like its nothing instead of caring to take the time to show the full process
Hi @PrettyThings00 it's 2 IntelliJ versions (Ultimate & Community). Scroll down the page and select the free Community Edition www.jetbrains.com/idea/download/?section=windows
Don't waste your time with automation anymore. I was an automation architect for 10 years and worked in the financial industry. This is no longer a sought after skill. For me however I was able to build my finances during those years and establish my own business. Nowadays own a few gentlemen clubs and don't even think about going back to work for others. Having said that however I still build a lot of automation framework just to brush up on my skills because I really enjoy it
Hi, sry but got me interested. How does this gentlemens club work in practice? What they pay? Who can get in the club? What do they get in return? How much did you invest in the first one?
@@V4dk4n you need to do your own research but generally speaking owning any business has its own challenges. On the bright side you never worry about losing your job. So it's a tradeoff
i have this error org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='app']//h5[text()='Forms']"} (Session info: chrome=129.0.6668.59) wheen i try to execute Javascriptest methode
Did you scroll to Forms before attempting to click Forms? If so check out my source code on GitHub github.com/RexJonesII/FreeCodeCampSeleniumJava/blob/master/src/main/java/com/demoqa/pages/HomePage.java
Hello Everyone,
I am Rex Jones II and it was fun creating this Selenium using Java with Page Object Model course.
Selenium is considered #1 for Web Automation.
Page Object Model is the design pattern which has benefits that include Code Maintainability, Code Reusability, and Code Readability.
I wanted to give a big shout out to Beau and Free Code Camp! Watch a Java course if you want a foundation of programming www.youtube.com/@freecodecamp/search?query=Java
All the source code from this course has been placed on GitHub github.com/RexJonesII/FreeCodeCampSeleniumJava
Feel free to connect with me on LinkedIn & UA-cam:
LinkedIn www.linkedin.com/in/rexjones34/
UA-cam ua-cam.com/users/RexJonesII
I’m available if you have any questions!
Thanks
Any chance creating a similar course for Selenium with C#?
Hi@@amritraj1056 Sure I can do a course on Selenium with C#. C# is similar to Java. I'm also versed with Python
@@RexJonesII Thank you, that'd be really great.
Thanks for this amazing tutorial Mr. Jones! I have a question? Is there any jobs specifically for Page Object Model testing? If so, what would be the best platforms to utilize? I've been having such a great time learning from your tutorial, but I've been some what discouraged not to find roles for this particular skill. Thanks!
@@RexJonesII Hey Rex, sorry to ask again but it would be a huge favor to have selenium with C# tutorial (preferably with BDD framework). Thanks once again.
Thanks for the tutorial! Those Java Selenium basics alongside the Page Object Model helped me impress my interviewers for an automation testing internship.
Congratulations!!! That's awesome @MoloceAlin-mg5rb
Finally, I can take sometime for automation
That's awesome @drewxx8527. Selenium is great for automation.
THE BEST SELENIUM TUTORIAL EVEEER!!!!
Thank you Thank you Thank youuu!!!!
You're Welcome @SubhinurElemin 👍I'm glad you like it. Thanks
Thank you Rex for that greate tutorial! It was very clear and engaging. Thanks.
Loving your video! I appreciate the effort you're putting into speaking slowly and clearly!
Thanks @brendanleighton 👍 I appreciate it
Absolute masterclass!! Thanks sir.
You're Welcome @waleawo 👍
Great course, very easy to understand. Thank you!
Thanks @TheDiabetic09 👍
Thank you very much! I've been looking for a tutorial like this for a long time! 🙏
You're Welcome @tomaspacifico 👍
Thank you for this amazing video 🙏
You're Welcome @suleymantkayir
It really helps me to realize page object pattern and selenium features and it would be great if you can share how testing api like this course
Yes, I can create an API course @TheVintosa
@@RexJonesII wow, thanks 👍
Thank you❤ i was literally waiting for this.... Thank you so much
You're Welcome @divya55175 👍
Great video and great instructor !
Thanks @makesushi 👍 The video is designed to start automating an application from Day 1
Excelent! Excellent! Excellent !
Thanks @nadetdevfullstack7041 👍
Nowadays QA profiles are underpaid in my project developer create the automation framework and as a tester we only run the framework at time of regression😢
Freshers don't go with QA for better pay, created side income using freelancing platform learn MERN stack this is the best choice
Needed this rn!!:)
I hope it helps @satvik7053
great tutorial! thank you so much!!
You're Welcome @pannina
Omgosh thank you so much !!!!
You're Welcome @viclim289
Great video! could you do Cypress or Playwright next?
Thanks @grafix993 👍Yes, I know Playwright
Thanks for the effort
You're Welcome @madbash-406 👍Thank You
plz do a complete python dsa course just like u guyz have done for java
Hi @shamstabrez2986 I know Python with Selenium as well using PyTest Framework
PLS talk more about Java
In a separate course?
@@TechTalkwithATM I mean in general, a course of modern(17+) Java could be an good idea.
Check out these Java courses from Free Code Camp www.youtube.com/@freecodecamp/search?query=Java
@@RexJonesII there is something similar but for Jakarta EE?
Thanks FCC
I have question:
@BeforeMethod
public void loadApplication() {
driver.get(DEMOQA_URL);
basePage = new BasePage();
basePage.setDriver(driver);
setUtilityDriver();
homePage = new HomePage();
}
why the setUtilityDriver(); is used here,
if above line basePage.setDriver(driver); do the same thing as setUtilityDriver()?
That's a great question @slota4 👍 I implemented setUtilityDriver() in the baseTest class because only implementing basePage.setDriver(driver) would return NullPointerException. The program returns an exception after calling a method from a Utility class that utilizes the driver.
This was great but anything about shadow roots?
Thanks @ivano8 👍This video course does not cover Shadow Roots but here's my Shadow Roots Playlist
ua-cam.com/play/PLfp-cJ6BH8u_MvNXdpHtc-0Q1uMCWb9dM.html
If the pom.xml file doesn't get automatically generated use another jdk version instead.
How do I get the Inspector Tab? I only have Console and Network? in the chrome dev tools
Is there a problem with using copy full xpath when finding an element?
Hi @robadub7141 sometimes copy full xpath can create a flaky Selenium locator. It's best to create a custom locator
Please teach POSTMAN API
❤
Thanks @Fx_Tchi 👍
I request to freecodecamp team can you make a course on verilog hdl.. thanks..
it didn't fail mine even without scrolling to the element
That's good @Pantelisb1984 👍
How did you get the pom.xml?
Hi @sarnendusarkar1872 The pom.xml file is usually available after creating a project. If you have IntelliJ IDE then you can press CTRL + SHIFT + N and select Files. In the search bar, type pom.xml to see the file
please upload a postman videos
First
Yo
Bet
He really needs to show his steps better. I've wasted the last half hour figuring out how to get to environment variables and pasting the bin. He just mentions it off hand like its nothing instead of caring to take the time to show the full process
intellij is not free
Hi @PrettyThings00 it's 2 IntelliJ versions (Ultimate & Community). Scroll down the page and select the free Community Edition www.jetbrains.com/idea/download/?section=windows
179
Hi .l am a beginner studying cybersecurity .lf l make mistake sorry l speak Spanish and l learn English.
Don't waste your time with automation anymore. I was an automation architect for 10 years and worked in the financial industry. This is no longer a sought after skill. For me however I was able to build my finances during those years and establish my own business. Nowadays own a few gentlemen clubs and don't even think about going back to work for others. Having said that however I still build a lot of automation framework just to brush up on my skills because I really enjoy it
Hi, sry but got me interested.
How does this gentlemens club work in practice?
What they pay? Who can get in the club? What do they get in return? How much did you invest in the first one?
@@V4dk4n you need to do your own research but generally speaking owning any business has its own challenges. On the bright side you never worry about losing your job. So it's a tradeoff
Tru
what a boatload of sh*t... 😂
@@nobody7638 😂😂😂 lay down the dope pipe and head back out to bed
72850
Jackson Ruth Jackson Michelle Allen Carol
😀😀😃😆😅🤣❤❤💯💬
i have this error org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='app']//h5[text()='Forms']"}
(Session info: chrome=129.0.6668.59) wheen i try to execute Javascriptest methode
Did you scroll to Forms before attempting to click Forms? If so check out my source code on GitHub github.com/RexJonesII/FreeCodeCampSeleniumJava/blob/master/src/main/java/com/demoqa/pages/HomePage.java
My code doesn't work without `main` method:
public static void main(String[] args) {
SeleniumTest_1 test = new SeleniumTest_1();
test.setUp(); // Initializes driver
try {
test.testLoggingIntoApp(); // Runs test
} catch (InterruptedException exception) {
throw new RuntimeException(exception);
}
test.tearDown(); // Closes driver
Timeline: ua-cam.com/video/QQliGCtqD2w/v-deo.html