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 & RUclips: LinkedIn www.linkedin.com/in/rexjones34/ RUclips ruclips.net/user/RexJonesII I’m available if you have any questions! Thanks
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.
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
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 & RUclips:
LinkedIn www.linkedin.com/in/rexjones34/
RUclips ruclips.net/user/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 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.
Loving your video! I appreciate the effort you're putting into speaking slowly and clearly!
Thanks @brendanleighton 👍 I appreciate it
THE BEST SELENIUM TUTORIAL EVEEER!!!!
Thank you Thank you Thank youuu!!!!
You're Welcome @SubhinurElemin 👍I'm glad you like it. Thanks
Absolute masterclass!! Thanks sir.
You're Welcome @waleawo 👍
Great course, very easy to understand. Thank you!
Thanks @TheDiabetic09 👍
Thank you for this amazing video 🙏
Thank you very much! I've been looking for a tutorial like this for a long time! 🙏
You're Welcome @tomaspacifico 👍
Thank you❤ i was literally waiting for this.... Thank you so much
You're Welcome @divya55175 👍
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 👍
Great video and great instructor !
Thanks @makesushi 👍 The video is designed to start automating an application from Day 1
Needed this rn!!:)
I hope it helps @satvik7053
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
great tutorial! thank you so much!!
You're Welcome @pannina
Excelent! Excellent! Excellent !
Thanks @nadetdevfullstack7041 👍
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?
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
ruclips.net/p/PLfp-cJ6BH8u_MvNXdpHtc-0Q1uMCWb9dM
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 FCC
❤
Thanks @Fx_Tchi 👍
If the pom.xml file doesn't get automatically generated use another jdk version instead.
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
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
it didn't fail mine even without scrolling to the element
That's good @Pantelisb1984 👍
Please teach POSTMAN API
please upload a postman videos
I request to freecodecamp team can you make a course on verilog hdl.. thanks..
First
Yo
Bet
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
72850
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
Jackson Ruth Jackson Michelle Allen Carol
😀😀😃😆😅🤣❤❤💯💬
Hi .l am a beginner studying cybersecurity .lf l make mistake sorry l speak Spanish and l learn English.
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