Selenium Tutorial For Beginners | Selenium with Java Full Course (Latest Content)

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 155

  • @TheSchwarzchild
    @TheSchwarzchild 3 года назад +5

    THE BEST tutorial I have found EVER!!! Thank you so damn much, boy!
    You made my day!

    • @UltimateQA
      @UltimateQA  3 года назад +1

      We are glad to hear that Aleksandra!! We have the complete version of this course at: ultimateqa.com/selenium-java-2/
      Use promo code: youtube25 and receive 25% off! ;)
      Have a great day and thanks for the feedback!

    • @ekaterinalukina4627
      @ekaterinalukina4627 2 года назад

      @@UltimateQA Do you have the same course with Python?

    • @UltimateQA
      @UltimateQA  2 года назад

      @@ekaterinalukina4627 I don't know Python unfortunately

  • @badumbl4169
    @badumbl4169 3 года назад +34

    Oh boy.. That is an incredible tutorial! For the selenium beginner such as myself, I've learned a ton of information. Thanks for sharing it, very much appreciated!

    • @UltimateQA
      @UltimateQA  3 года назад +4

      I'm glad you liked the tutorial! Thanks for sharing your honest feedback! ;)

    • @m.matthewkaya8510
      @m.matthewkaya8510 3 года назад +1

      Me too :)

    • @UltimateQA
      @UltimateQA  3 года назад

      @@m.matthewkaya8510 We offer the complete version of this course at: ultimateqa.com/selenium-java-2/
      Use promo code: youtube25 and receive 25% off! ;)
      Have a great day!

  • @verakh9756
    @verakh9756 3 года назад +3

    Hi! Could you explain please for dummy beginner What happened in the video on 38:25? I mean, there was a very very first project which is not kind of finished and then quick update with the using mac and windows chromedriver where the project looks already finished. How did we make "HelloSeleniumTest" (line 6) and firstTest (line8) working? And where is @Test (line 7) came from? Thank you? ☺

    • @lukasznowakowski1584
      @lukasznowakowski1584 Год назад

      it is just an example that drivermanager is better than local drivers and he continues with the previous code with local driver managment

  • @BradenLehman
    @BradenLehman 2 года назад

    The part on automatically updating the chrome driver blew my mind. Thank you!

  • @toxicjtv2466
    @toxicjtv2466 3 года назад +5

    This has to be the best Automation tutorial on the internet - and its free. Great Job bro

    • @UltimateQA
      @UltimateQA  3 года назад

      Wow! What a compliment!! Thanks If you ever want to learn something else, comment and let me know

    • @hohoho_15_
      @hohoho_15_ 2 года назад

      @@UltimateQA Maybe rest assured?

    • @UltimateQA
      @UltimateQA  2 года назад

      @@hohoho_15_ you want to learn Rest Assured?

    • @hohoho_15_
      @hohoho_15_ 2 года назад +1

      ​@@UltimateQA Yes :) with some best practices. I can only watch your tutorials. Rest of tutorials are painful for my ears :)

    • @UltimateQA
      @UltimateQA  2 года назад

      @@hohoho_15_ ahahahah, you're too kind 🤣I'm curious about what kind of REST Assured content you like... have you seen or read some authors online that you liked?

  • @Devillunar
    @Devillunar 2 года назад +2

    I'm trying to change from Python Selenium to Java Selenium due to execution speed optimization, which for my automation project is the main priority. This video made the transitioning super easy. Thank you very much for the tutorial! :)

    • @UltimateQA
      @UltimateQA  2 года назад +1

      I'm really happy to hear that! It's my pleasure. If you need to learn everything from A to Z in terms of Java, I do have a course with 30+ hrs of content courses.ultimateqa.com/courses/selenium-java-bootcamp and use youtube25 for a 25% discount

  • @igordaydreamer6746
    @igordaydreamer6746 3 года назад +3

    Big thanks for sharing this tutorial! I've been learning from 1 long course at Udemy and had problem with getting over first couple of steps in writing my own tests. I was learning too much info for starting stage without small exercises so I couldn't make order or meaning in my head. Now I am confident to do more complicated stuff because I can resolve problems along the way. Thanks again, and keep up the good work!

  • @jessicasinanian3478
    @jessicasinanian3478 2 года назад +2

    Hello
    I already follow your steps, but in the latest IntelliJ version there is a "Maven Archetype" and no Maven separately. Any idea?

    • @UltimateQA
      @UltimateQA  2 года назад

      Can you share a screenshot? snipboard.io/

    • @ninorokr
      @ninorokr 2 года назад +1

      omg... I was stuck here as well, until I realized that you DON'T have to click Maven Archetype. BUT choose 'New Project' and then click on 'Build system: Maven'

  • @84Juli1
    @84Juli1 2 года назад

    Thanks for the tutorial it is great.
    At 1:19:43 I think it is overkill to use a WebDriveWait on this element. We don't need it to find the element.

  • @Vince-qm7bc
    @Vince-qm7bc 3 года назад +8

    Amazing! You should make more videos! You’re a great teacher

    • @UltimateQA
      @UltimateQA  3 года назад

      I release new tutorials here all the time :) Don't forget to subscribe so that you get notified

  • @HAN_USA
    @HAN_USA 2 года назад +1

    INCREDIBLE THANK YOU SOOOO MUCH MAN. You cant imagine how helpful is your video. My teacher didnt give the information 20% yours. Now I do understand. Finally my stress turned over to fun. You are a life savior bro.

    • @UltimateQA
      @UltimateQA  2 года назад

      Awwww, you are so kind! I really appreciate the feedback and it’s great to know that I helped. What were your favorite parts? What else would you want to learn?

  • @francinevoltaireledesma7996
    @francinevoltaireledesma7996 2 года назад +1

    Bro I was lost looking for other selenium tutorials after I finished yours in udemy. So glad you posted this here, thanks!

    • @UltimateQA
      @UltimateQA  2 года назад +1

      My pleasure. What other topics do you want to learn?

    • @francinevoltaireledesma7996
      @francinevoltaireledesma7996 2 года назад

      @@UltimateQA pretty new to this testing/qa thing since I'm still learning, but I think anything about APIs is fun. Definitely would pay for that!

    • @UltimateQA
      @UltimateQA  2 года назад +1

      @@francinevoltaireledesma7996 thanks for sharing your feedback, it helps a lot

  • @weronikarostworowska5886
    @weronikarostworowska5886 2 года назад

    Incredible course. Thank You so much for Your hard work and sharing Your knowledge!
    Aaaand... I have a question ;)
    On 5:07:08 in the code sample You declare new wait like this:
    var wait = new WebDriverWait(_driver, TimeSpan.FromSeconds(10));
    and later in the course (5:18:34) in a different way:
    WebDriverWait wait = new WebDriverWait(driver,5);
    What is the difference? Why do You use var in the first example? I've never seen such way of declaring it before (although I'm quite new to Java, I haven't seen much yet ;) )

    • @UltimateQA
      @UltimateQA  2 года назад +1

      Good question :) It's a Java thing for sure. One is an implicit set of the variable, the var wait. The other is an explicit set, WebDriverWait wait. The difference is only in how the code is written. Functionally it's exactly the same. I like the implicit approach because you never have to update the left hand side of the operator if for some reason I decide to change the type on the right hand side

    • @weronikarostworowska5886
      @weronikarostworowska5886 2 года назад

      @@UltimateQA Thanks a million!

    • @UltimateQA
      @UltimateQA  2 года назад

      @@weronikarostworowska5886 you're welcome a million!

  • @stannone7272
    @stannone7272 3 года назад +2

    This is indeed a GOOD introduction lecture.

  • @nametsegothakadu4702
    @nametsegothakadu4702 3 года назад +1

    This is actionable information for newbie testers such as myself. especially for a newbie. Thank you nikolai

  • @shobhit786786
    @shobhit786786 3 года назад +3

    Amazing content . It really helped me to brush the concepts for my next interview . Crisp and perfect !

    • @UltimateQA
      @UltimateQA  3 года назад

      Glad to hear that! Good luck! ;)

    • @shobhit786786
      @shobhit786786 3 года назад +1

      @@UltimateQA Sir i dont know why your content has less views but i would say this that its easier for me to understand as i do automation in gaps as you know how projects are sometimes they need you to switch to a differentt stuff and you have to pause your automation . but your session really helped me to brush up my knowledge and i also added some cool tricks after watching your training session . a big thankyou !

    • @UltimateQA
      @UltimateQA  3 года назад

      @@shobhit786786 We are so happy you liked this content! You are more than welcome! ;)

  • @hawiride
    @hawiride 3 года назад +1

    Awesome content sir, just a note your github repo when I entered mvn test on the terminal it's not running the tests

  • @octaro3310
    @octaro3310 3 года назад +2

    i´m reading a cookbook for seleniun in parallel with this and its made out of gold both

    • @UltimateQA
      @UltimateQA  3 года назад +1

      Awww, you rock as well!

    • @akshayherono0875
      @akshayherono0875 2 года назад

      @@UltimateQA bro u covered the topic of Jenkins pom testing in this video

  • @hamoyasser50
    @hamoyasser50 2 года назад +1

    the most helpful content i have founded thank you very much bro 😍😍

    • @UltimateQA
      @UltimateQA  2 года назад

      My pleasure. Please let us know what else you want to learn in the future! Also, support the channel by liking and subscribing :)

  • @toyacademy8708
    @toyacademy8708 4 года назад +1

    i tried every step but after creating oracle login verfiy my email it doesnt install anything please help

  • @boyapatiramakrishna2068
    @boyapatiramakrishna2068 3 года назад +2

    Brother, It will not help if you write all the code behind and show execute directly. I am practicing step by step writing the code by looking at the code. you have created first maven project and you did not show the code where to write and finally you have run a maven test in terminal and it opens a browser. It will not help brother.

  • @1989solbadguy
    @1989solbadguy 2 года назад +1

    What a great tutorial! Huge "Thanks" for investing your time and knowledge into this project!

    • @UltimateQA
      @UltimateQA  2 года назад

      Appreciate your comments. Any particular parts that you enjoyed?

    • @1989solbadguy
      @1989solbadguy 2 года назад +1

      @@UltimateQA I liked your explanation of JS executer, also did not know about WebdriverManager and did not know that we can @Beforemethod it everytime we start running out tests.

    • @UltimateQA
      @UltimateQA  2 года назад

      @@1989solbadguy Thanks for sharing :)

  • @boyapatiramakrishna2068
    @boyapatiramakrishna2068 3 года назад +1

    Brother, Can you please include how to record video of test run with code?

  • @MagDag_
    @MagDag_ 4 года назад +1

    Спасибо, Николай. Ждём продолжения. Привет из Флориды)

    • @UltimateQA
      @UltimateQA  4 года назад

      My pleasure sir! (Sorry, don't have a Russian keyboard)

  • @checkmate7780
    @checkmate7780 3 года назад +1

    Explanations are very good. You made it look so easy. Please do some advance tutorial on Selenium. Like TDD and BDD project. Will be very helpful. Thanks a ton!

    • @UltimateQA
      @UltimateQA  3 года назад

      Great suggestion!

    • @UltimateQA
      @UltimateQA  3 года назад +2

      Here's an advanced tutorial on ATDA with Selenium ruclips.net/video/xss9xNQ8LyY/видео.html

  • @modarhusseino7036
    @modarhusseino7036 3 года назад

    Hello, After I installed chrome driver with the same version of chrome browser , I dragged to the maven project it gave mi wrong that is the installed file has a big size more than 2 mb
    what can I do?

  • @נתנאלכהן-ג6צ
    @נתנאלכהן-ג6צ 4 года назад +2

    Amazing content Nikolay! Please can you add auto subtitles? Thanks a lot.

  • @ferdousadnan5814
    @ferdousadnan5814 3 года назад +2

    Liked and Subscribed

  • @jameshisself9324
    @jameshisself9324 2 года назад

    Hi, thanks for putting up this tutorial. I am however having a few problems I believe due to some of the various versions of the tools during setup being newer. I'm currently having a problem with chromedriver association within IntelliJ. There is no option for associating an executable or any compiled binary that I can see. Plus the way that was shown in the video was tough to follow. Do you have any suggestions? TIA

    • @UltimateQA
      @UltimateQA  2 года назад

      Did you try using WebDriverManager? I show that in the tutorial as well. It's a better option anyway

  • @jovanmil87
    @jovanmil87 3 года назад +1

    A BIG like for this man and this tutorial.

  • @David-fv3lb
    @David-fv3lb 3 года назад +2

    Incredible tutorial! Thanks for the free content!

    • @UltimateQA
      @UltimateQA  3 года назад

      Thanks David! We are glad you liked it!

  • @NehaSingh-mc3os
    @NehaSingh-mc3os 3 года назад

    33.09 errors popped on .Dragging the chromedriver to resource file of intellij didnt work

  • @ferdousadnan5814
    @ferdousadnan5814 3 года назад +1

    @Ultimate QA Do you have a Java tutorial?

    • @UltimateQA
      @UltimateQA  3 года назад

      ultimateqa.com/selenium-java

  • @kritishah1659
    @kritishah1659 3 года назад

    What is the difference between the Selenium and SelectorsHub?

  • @lucia_valik
    @lucia_valik Год назад

    Hi Nikolay!! Thank you for awesome course, I'm automated tester now!! I am writing automated tests for mobile devices as well and I'm having an issue with launching the app on the specific page. Lets say when you open the app, there's a welcome page with 2 buttons- sign up and sign in. Each of them redirects you to a new screen. My question is -how do you launch the app directly on the one of them? The analogue for the web apps would be driver.get(url). This example is not such a big issue, but the app is pretty robust with 20+ screens and it's definitely not effective to start every test on the main screen. Could you please help me how to solve this? Also, the whole app has the only one activity - the MainActivity. Thank you.

    • @UltimateQA
      @UltimateQA  Год назад +1

      Native mobile apps are not like web apps unfortunately :( If you want to start on a different screen, your app needs to have the ability to do deep linking github.com/saucelabs/my-demo-app-rn#deep-linking

    • @luv966
      @luv966 Год назад

      @@UltimateQA thank you very much for reply, I spent days searching for it 🙈🙏🏻

    • @UltimateQA
      @UltimateQA  Год назад +1

      @@luv966 Our pleasure!! We have a new, immersive program launching if it would be helpful academy.ultimateqa.com/java-sdet

  • @shauryadhankar1949
    @shauryadhankar1949 2 года назад

    I get the following error when I execute "mvn test" command:
    'void org.testng.xml.XmlSuite.setParallel(java.lang.String)'
    Any suggestions how to resolve this?

    • @UltimateQA
      @UltimateQA  2 года назад

      That's the error coming from your console? I'ts not very descriptive

  • @Alpachinooo
    @Alpachinooo 3 года назад

    Why doesn't work the translation?

  • @bonniecampbell2886
    @bonniecampbell2886 2 года назад +1

    Thank you very much for the tutorial! :)

    • @UltimateQA
      @UltimateQA  2 года назад

      My pleasure. If you ever want to learn about something else, don't be shy and let me know here

  • @soumadipghosh6521
    @soumadipghosh6521 3 года назад

    Bro will this softwares run on a 2 GB computer?

  • @gdd546
    @gdd546 3 года назад

    Hey Nikolay, great content for beginners, thank you.
    I've got the source code and did the import from version control, i run mvn test and i get back 'mvn' is not recognized as an internal or external command,
    operable program or batch file. what do i do?

    • @UltimateQA
      @UltimateQA  3 года назад

      Did you install Maven? ultimateqa.com/install-maven-on-mac/

  • @gheemail
    @gheemail 3 года назад

    Thank you for creating this video. It really helped.
    The maven dependency for WebDriverManager didnt work - no matter what I tried. I tried removing the scope element and built the project again. The sources just wont get downloaded. Finally I downloaded the jars separately and added in the project Libraries.
    Any idea what might have gone wrong?

    • @UltimateQA
      @UltimateQA  3 года назад

      Did you initialize the driver in your setup?

    • @gheemail
      @gheemail 3 года назад

      @@UltimateQA - Yes, I have.
      The problem is - import io.github.bonigarcia.wdm.WebDriverManager; --> This import itself wouldnt resolve even after adding the correct maven dependency:
      io.github.bonigarcia
      webdrivermanager
      4.0.0

  • @zuzannafilipkowska6088
    @zuzannafilipkowska6088 2 года назад +1

    Great course, thank you!

    • @UltimateQA
      @UltimateQA  2 года назад

      What were your favorite parts? What else would you want to learn?

    • @zuzannafilipkowska6088
      @zuzannafilipkowska6088 2 года назад

      @@UltimateQA My fav part was about waits - the difference between implicit and explicit. Thanks again!

    • @UltimateQA
      @UltimateQA  2 года назад

      @@zuzannafilipkowska6088 thank you for sharing :)

  • @finaldreamerx
    @finaldreamerx 3 года назад

    Hi all, why can't I see the Import class option?

    • @UltimateQA
      @UltimateQA  3 года назад

      Which IDE are you using?

  • @santiagoalmiron
    @santiagoalmiron 3 года назад

    2:14:29 XPath parent and compound class names

  • @audioplatform6299
    @audioplatform6299 3 года назад

    Very nice. Thank you very much!!

  • @cslow1082
    @cslow1082 3 года назад

    Hello this is very Helpful! Thanks for sharing!!!

  • @racot7145
    @racot7145 2 года назад

    Don't know man. Are you sure about xpath ? I am coping and right now it's using attributs like id and so on. Maybe chrome devs fixed the problem ?

    • @UltimateQA
      @UltimateQA  2 года назад

      @racot, which part do you mean?

    • @racot7145
      @racot7145 2 года назад +1

      @@UltimateQA when you were talking about coping XPath from dev tools. Now its coping not div(1)and etc but using id or clas.

    • @UltimateQA
      @UltimateQA  2 года назад

      @@racot7145 that's amazing!! They definitely fixed it then. It used to be bad

  • @darveshmohammad9012
    @darveshmohammad9012 3 года назад

    Bro can you provide some projects for hands on practise to get ready for the interview. I really like your tutorial very insighfull.

    • @UltimateQA
      @UltimateQA  3 года назад +1

      Darvesh, can you elaborate? You want dummy automation sites? You want code? Something else? ultimateqa.com/dummy-automation-websites/

    • @darveshmohammad9012
      @darveshmohammad9012 3 года назад

      @@UltimateQA i want dummy test for executing whole automation skills like you have given in quizes

  • @boyapatiramakrishna2068
    @boyapatiramakrishna2068 3 года назад

    brother, why are you come up with half code tutorials? you did not shown the dependancy code of the selenium webdriver pom.xml. I am not able to run my first test case even.

    • @UltimateQA
      @UltimateQA  3 года назад

      github.com/nadvolod/selenium-java

  • @luckytima2315
    @luckytima2315 3 года назад

    Can you please switch the subs on :(

  • @adamlasry1691
    @adamlasry1691 3 года назад +1

    Thank you so much for this tutorial.

  • @6uitarbot
    @6uitarbot 2 года назад

    Very nice course, cool informations too. Thanks a lot

  • @DeadGivaway
    @DeadGivaway 3 года назад +1

    Thanks man!

  • @racot7145
    @racot7145 2 года назад

    Everything cool . But like for me you should have added more stuff like PageFactory .

    • @UltimateQA
      @UltimateQA  2 года назад +1

      Take a read ultimateqa.com/selenium-3-11-released/

    • @racot7145
      @racot7145 2 года назад

      @@UltimateQA shame . I found interesting tutorial . @FindBy is also dead i guess. Had to find more resent tutorials. Was working with log4j to find out that there is log4j2 and had problems with pom. pom file is like the main problem in many cases.

    • @UltimateQA
      @UltimateQA  2 года назад

      @@racot7145 it was a good idea but very poorly implemented. It doesn't belong in Selenium.WebDriver but in a separate library to make automation easier to design. I'm working with multiple teams to make something like this possible. It'll be a while, but it will be helpful for all when it comes out.

  • @talaskafi6719
    @talaskafi6719 3 года назад

    the best tutorial ever !

  • @theanu8920
    @theanu8920 3 года назад

    thanks for this valuable content 🙂

    • @UltimateQA
      @UltimateQA  3 года назад

      My pleasure! If you want to learn some other topic, please comment and let me know

  • @mohammadalam9936
    @mohammadalam9936 Год назад

    is this still good for 2023? thanks.

    • @UltimateQA
      @UltimateQA  Год назад

      It's using the latest selenium 3 version. Most is still valid even though Selenium is now on version 4. The APIs don't change much

  • @rudya.hernandez7238
    @rudya.hernandez7238 3 года назад

    maybe github url in description?

    • @UltimateQA
      @UltimateQA  3 года назад

      github.com/nadvolod/selenium-java

  • @dannydeshmukh
    @dannydeshmukh 4 года назад

    I am unable to Do Git Clone
    Error: cannot run git

    • @UltimateQA
      @UltimateQA  4 года назад

      Do you have the git bash installed? are you using windows?

  • @HomerSimpson560
    @HomerSimpson560 4 года назад

    Can you add some tutorial related to Appium?

    • @UltimateQA
      @UltimateQA  4 года назад

      Hi Taras, what specifically would you like to learn about Appium?

  • @AliG-se4ph
    @AliG-se4ph 3 года назад

    everything was good till i hear a background music, why did you need it :(

  • @bilimus
    @bilimus 3 года назад

    Your tutorial is not for beginners, because the beginner will very simply be confused by your misleading jumps between different things. But your tutorial is good for those who need some refresher course.

    • @UltimateQA
      @UltimateQA  3 года назад

      Really appreciate your candid feedback Alex! Can you please tell me where you think I jump around so that I can improve?

    • @bilimus
      @bilimus 3 года назад

      @@UltimateQA Well, if this tutorial is for those who are absolutely new in computer programming languages then those guys will be in real trouble in understanding what you are typing in Java from the first minutes. Without having any knowledge of OOP it is hardly difficult to understand what is going on there. It is ok for those who have some beginner-level knowledge of Java syntax and OOP, but for absolute zeros, it is a kinda nightmare. I had difficulties when I tried to use the assertTrue() method, which was not recognized by IntelliJ, and IDE could not correctly suggest to me what library to import. I google it and after several tries, I have managed to solve the issue. Now, I am on the XPath part of your lecture and really enjoy your explanations. It is a very good refresher for me saying the truth.

    • @UltimateQA
      @UltimateQA  3 года назад +2

      @@bilimus valid points. This is a Selenium Tutorial, not a Java tutorial, so yes, basic Java knowledge is expected to watch this tutorial. However, note taken and I need to make everything even better documented for complete newbiews. If you're looking for complete training, with Java, that's here ultimateqa.com/selenium-java-2

  • @blackbaccara1
    @blackbaccara1 2 года назад

    2:40:00

  • @jackdoherty1318
    @jackdoherty1318 3 года назад

    Hey!
    Really appreciate you taking the time to create this tutorial, it's really informative.
    I've ran into an issue when I try build or run my tests that doesn't appear in your video, was hoping you could help.
    The error i'm seeing is "SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    Can you help me understand why I am seeing this after I followed your steps?
    Thanks!

    • @UltimateQA
      @UltimateQA  3 года назад

      Can you post your full stack trace in a git gist please? gist.github.com/

  • @rohitpagare9329
    @rohitpagare9329 2 года назад

    java: org.openqa.selenium.opera.OperaDriver in org.openqa.selenium.opera has been deprecated - can you explain where i am going wrong

    • @UltimateQA
      @UltimateQA  2 года назад

      Is this a warning or an error?

  • @racot7145
    @racot7145 2 года назад

    Also there is a strange behaviour if I use junit @Test . mvn doesn't see it . but if use junit-api @Test mvn test works. Though it requires to set methods as static.

    • @UltimateQA
      @UltimateQA  2 года назад

      What version of junit and Java do you have? What does your Pom.xml look like?

    • @racot7145
      @racot7145 2 года назад

      @@UltimateQA i commented some dependency, cause it didn't work. with uncommented it's just making annotation is more complicated cause i Have Test for junit and Test for junit api. I also experimented with versions of junit but it dedn't help.

    • @UltimateQA
      @UltimateQA  2 года назад

      @@racot7145 maybe because it's Java 17. See if JUnit 4 works with 17. Definitely works with 8-11 as I show in my tutorial. Checkout this Junit branch, it should work for you github.com/nadvolod/selenium-java/tree/junit_parallel

    • @racot7145
      @racot7145 2 года назад

      @@UltimateQA thanks