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!
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!
@@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!
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? ☺
@@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?
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! :)
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
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!
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'
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.
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?
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 ;) )
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
@@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 !
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.
@@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.
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!
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?
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
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.
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
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?
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?
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 - 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
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 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.
@@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.
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 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.
@@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
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!
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 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.
@@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
THE BEST tutorial I have found EVER!!! Thank you so damn much, boy!
You made my day!
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!
@@UltimateQA Do you have the same course with Python?
@@ekaterinalukina4627 I don't know Python unfortunately
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!
I'm glad you liked the tutorial! Thanks for sharing your honest feedback! ;)
Me too :)
@@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!
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? ☺
it is just an example that drivermanager is better than local drivers and he continues with the previous code with local driver managment
The part on automatically updating the chrome driver blew my mind. Thank you!
This has to be the best Automation tutorial on the internet - and its free. Great Job bro
Wow! What a compliment!! Thanks If you ever want to learn something else, comment and let me know
@@UltimateQA Maybe rest assured?
@@hohoho_15_ you want to learn Rest Assured?
@@UltimateQA Yes :) with some best practices. I can only watch your tutorials. Rest of tutorials are painful for my ears :)
@@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?
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! :)
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
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!
Hello
I already follow your steps, but in the latest IntelliJ version there is a "Maven Archetype" and no Maven separately. Any idea?
Can you share a screenshot? snipboard.io/
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'
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.
Amazing! You should make more videos! You’re a great teacher
I release new tutorials here all the time :) Don't forget to subscribe so that you get notified
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.
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?
Bro I was lost looking for other selenium tutorials after I finished yours in udemy. So glad you posted this here, thanks!
My pleasure. What other topics do you want to learn?
@@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!
@@francinevoltaireledesma7996 thanks for sharing your feedback, it helps a lot
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 ;) )
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
@@UltimateQA Thanks a million!
@@weronikarostworowska5886 you're welcome a million!
This is indeed a GOOD introduction lecture.
This is actionable information for newbie testers such as myself. especially for a newbie. Thank you nikolai
Amazing content . It really helped me to brush the concepts for my next interview . Crisp and perfect !
Glad to hear that! Good luck! ;)
@@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 !
@@shobhit786786 We are so happy you liked this content! You are more than welcome! ;)
Awesome content sir, just a note your github repo when I entered mvn test on the terminal it's not running the tests
i´m reading a cookbook for seleniun in parallel with this and its made out of gold both
Awww, you rock as well!
@@UltimateQA bro u covered the topic of Jenkins pom testing in this video
the most helpful content i have founded thank you very much bro 😍😍
My pleasure. Please let us know what else you want to learn in the future! Also, support the channel by liking and subscribing :)
i tried every step but after creating oracle login verfiy my email it doesnt install anything please help
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.
Noted
What a great tutorial! Huge "Thanks" for investing your time and knowledge into this project!
Appreciate your comments. Any particular parts that you enjoyed?
@@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.
@@1989solbadguy Thanks for sharing :)
Brother, Can you please include how to record video of test run with code?
Спасибо, Николай. Ждём продолжения. Привет из Флориды)
My pleasure sir! (Sorry, don't have a Russian keyboard)
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!
Great suggestion!
Here's an advanced tutorial on ATDA with Selenium ruclips.net/video/xss9xNQ8LyY/видео.html
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?
Amazing content Nikolay! Please can you add auto subtitles? Thanks a lot.
Liked and Subscribed
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
Did you try using WebDriverManager? I show that in the tutorial as well. It's a better option anyway
A BIG like for this man and this tutorial.
Incredible tutorial! Thanks for the free content!
Thanks David! We are glad you liked it!
33.09 errors popped on .Dragging the chromedriver to resource file of intellij didnt work
@Ultimate QA Do you have a Java tutorial?
ultimateqa.com/selenium-java
What is the difference between the Selenium and SelectorsHub?
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.
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
@@UltimateQA thank you very much for reply, I spent days searching for it 🙈🙏🏻
@@luv966 Our pleasure!! We have a new, immersive program launching if it would be helpful academy.ultimateqa.com/java-sdet
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?
That's the error coming from your console? I'ts not very descriptive
Why doesn't work the translation?
Thank you very much for the tutorial! :)
My pleasure. If you ever want to learn about something else, don't be shy and let me know here
Bro will this softwares run on a 2 GB computer?
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?
Did you install Maven? ultimateqa.com/install-maven-on-mac/
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?
Did you initialize the driver in your setup?
@@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
Great course, thank you!
What were your favorite parts? What else would you want to learn?
@@UltimateQA My fav part was about waits - the difference between implicit and explicit. Thanks again!
@@zuzannafilipkowska6088 thank you for sharing :)
Hi all, why can't I see the Import class option?
Which IDE are you using?
2:14:29 XPath parent and compound class names
2:20:01 CSS Selectors
5:17:02 Explicit waits in real code
Very nice. Thank you very much!!
Hello this is very Helpful! Thanks for sharing!!!
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 ?
@racot, which part do you mean?
@@UltimateQA when you were talking about coping XPath from dev tools. Now its coping not div(1)and etc but using id or clas.
@@racot7145 that's amazing!! They definitely fixed it then. It used to be bad
Bro can you provide some projects for hands on practise to get ready for the interview. I really like your tutorial very insighfull.
Darvesh, can you elaborate? You want dummy automation sites? You want code? Something else? ultimateqa.com/dummy-automation-websites/
@@UltimateQA i want dummy test for executing whole automation skills like you have given in quizes
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.
github.com/nadvolod/selenium-java
Can you please switch the subs on :(
Thank you so much for this tutorial.
Happy to help you! :)
Very nice course, cool informations too. Thanks a lot
Thanks man!
Everything cool . But like for me you should have added more stuff like PageFactory .
Take a read ultimateqa.com/selenium-3-11-released/
@@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.
@@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.
the best tutorial ever !
You're the best ever :)
thanks for this valuable content 🙂
My pleasure! If you want to learn some other topic, please comment and let me know
is this still good for 2023? thanks.
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
maybe github url in description?
github.com/nadvolod/selenium-java
I am unable to Do Git Clone
Error: cannot run git
Do you have the git bash installed? are you using windows?
Can you add some tutorial related to Appium?
Hi Taras, what specifically would you like to learn about Appium?
everything was good till i hear a background music, why did you need it :(
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.
Really appreciate your candid feedback Alex! Can you please tell me where you think I jump around so that I can improve?
@@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.
@@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
2:40:00
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!
Can you post your full stack trace in a git gist please? gist.github.com/
java: org.openqa.selenium.opera.OperaDriver in org.openqa.selenium.opera has been deprecated - can you explain where i am going wrong
Is this a warning or an error?
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.
What version of junit and Java do you have? What does your Pom.xml look like?
@@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.
@@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
@@UltimateQA thanks