Selenium WebDriver Tutorial #11 - Understand WebDriver Interface

Get all my courses for USD 5.99/Month - bit.ly/all-courses-subscription
❖ FREE Training's at training.rcvacademy.com ❖
In this Selenium Webdriver Tutorial we will understand about WebDriver Interface and how to read Selenium WebDriver Javadoc.
We will understand the reason behind the commands:
WebDriver driver = new ChromeDriver();
OR
WebDriver driver = new FirefoxDriver();
or any other browser objects.
Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials.
More tutorial playlists below:
❖JIRA BEGINNER TUTORIAL❖ bit.ly/jira-beginner-tutorial
❖JIRA WORKFLOW TUTORIAL❖ bit.ly/2EzKOEB
❖JIRA ADMINISTRATION TUTORIAL❖ bit.ly/36MPPFR
❖JIRA TUTORIAL INTERMEDIATE❖ bit.ly/Atlassian-JIRA-tutorial... TUTORIALS❖ bit.ly/jira-tutorials
❖ZEPHYR TUTORIAL❖ bit.ly/zephyr-for-jira-tutorials
❖ SOAPUI TUTORIAL❖ bit.ly/Sopui-tutorial
❖ JSONPath TUTORIAL❖ bit.ly/2sIZIFG
❖ POSTMAN TUTORIAL❖ bit.ly/2PBbhI7
❖ ISTQB AGILE TESTER CERTIFICATION TUTORIAL❖ bit.ly/istqb-agile-tester-cert...
❖ ISTQB FOUNDATION LEVEL CERTIFICATION TUTORIAL ❖bit.ly/istqb-foundation-level-...
❖CUCUMBER SELENIUM TUTORIAL❖ bit.ly/cucumber-selenium-tutorial
❖TESTRAIL TUTORIAL❖ bit.ly/testrail-tutorial
❖AGILE TUTORIALS❖ bit.ly/agile-tutorials
❖PYTHON TUTORIALS❖ bit.ly/python-programming-tuto...
❖PYTHON BEHAVE TUTORIALS❖ bit.ly/python-behave-tutorial
❖PRACTITEST TUTORIAL❖ bit.ly/practitest-tutorial
❖JAVA TUTORIAL❖ bit.ly/2F1iL1B
❖ZEPHYR TUTORIAL❖ bit.ly/zephyr-for-jira-tutorials
❖ TRAININGS ON RCV ACADEMY PORTAL ❖
bit.ly/learn-practitest
bit.ly/learn-jira-in-4-hours
bit.ly/jira-beginner-training
bit.ly/learn-confluence
bit.ly/ISTQB-foundation-certif...
❖ FOLLOW US ON TWITTER ❖
/ rcvacademy
/ swtmentor
/ mrmverma
❖ LIKE US ON FACEBOOK ❖
/ softwaretestingmentor
/ rcvacademy47
❖ OUR TUTORIAL WEBSITES ❖
www.softwaretestingmentor.com
www.rcvacademy.com
❖ GET MY TRAININGS ON UDEMY ❖
www.udemy.com/user/manish68/
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor

Пікірлер: 42

  • @mohammadzonaid8998
    @mohammadzonaid89982 жыл бұрын

    A very effective mentor! I really appreciate your teaching method.

  • @rizishere19
    @rizishere194 ай бұрын

    Very effective and clear explanation of concepts. I have taken few automation testing courses before but these basic concepts are usually missed and it makes a lot of difference. You are a very good mentor and have great communication skills.

  • @harishkakumani2206
    @harishkakumani22062 жыл бұрын

    Your are teaching the way awesome... Easy learning

  • @andergarcia1115
    @andergarcia1115 Жыл бұрын

    this course is amazing, the best of the best, i know that the world of software testing is very broad but i aspire with this course to have a good foundation. I come from programing in C# is not very different from java so i think i'm fine for that part.

  • @islamhedaetul
    @islamhedaetul2 жыл бұрын

    I am very grateful to you Thanks.

  • @yomnay8783
    @yomnay87832 жыл бұрын

    Thanks a lot for your great effort

  • @lokeshmacharla6322
    @lokeshmacharla63222 жыл бұрын

    sir what about ending brace of login test.The way of teaching of you is awesome no words....love you somuch.

  • @yugbarai6602
    @yugbarai6602 Жыл бұрын

    Thank you so much for this wonderful series

  • @softwaretestingmentor

    @softwaretestingmentor

    Жыл бұрын

    You're welcome. 😊 Keep watching for more videos and tutorials.

  • @aparajitaj7338
    @aparajitaj73383 жыл бұрын

    I'm not getting nullpointer exception when I don't use WebDriver interface in my code window and code runs smooth. But WebDriver interface is required for implementations of this interface directly.

  • @readwithjiyan9804
    @readwithjiyan98042 жыл бұрын

    Fantastic , Everything u teach in deeply thank u so much

  • @softwaretestingmentor

    @softwaretestingmentor

    2 жыл бұрын

    Thanks and welcome. Keep watching for more videos!

  • @TienTrinh-nr3hx
    @TienTrinh-nr3hx2 жыл бұрын

    thank u so much

  • @TienTrinh-nr3hx
    @TienTrinh-nr3hx2 жыл бұрын

    thank u so so muchhh ^^

  • @deepabista7707
    @deepabista77072 жыл бұрын

    awesome, i learnt new things here as i am new to selenium webdriver.

  • @softwaretestingmentor

    @softwaretestingmentor

    2 жыл бұрын

    Glad it was helpful! Keep watching for more videos.

  • @omarmalek5472
    @omarmalek5472 Жыл бұрын

    Hello, thank you for your help, i've got juste a question regarding browsers, how can i do if i want to execut Two browsers or more in the same script demonstrated in your video Many thank's for help

  • @akshaybhad7549
    @akshaybhad75493 жыл бұрын

    Thank you for help me to run testcase can you please create one session for parallel test case execution on maven dependency management

  • @aniketbose8522
    @aniketbose85223 жыл бұрын

    how can i make an array of chrome driver for handling multiple instances?

  • @karankhanna9593
    @karankhanna95932 жыл бұрын

    Can someone please send link where we can read file from excel sheet for browser and can open browser accordingly

  • @p4umce
    @p4umce2 жыл бұрын

    driver.get (url); is not working, it is just opening the browser not he url..? When i searched online it is saying it is a selenium defect, but this problem is occuring only after applying if else logic..? Any solution ?

  • @vanikaagarwal1899
    @vanikaagarwal1899 Жыл бұрын

    Hello, Can you please help me? I am not able to run the code in chrome and edge, it is running fine in Firefox though.

  • @thefreerider1436

    @thefreerider1436

    10 ай бұрын

    Hi, were you able to find any solution? I am facing the same problem.

  • @manaliagrawal542
    @manaliagrawal5423 жыл бұрын

    i need help in verification of email after signup

  • @salmaaziz2218
    @salmaaziz221810 ай бұрын

    Thank u

  • @softwaretestingmentor

    @softwaretestingmentor

    10 ай бұрын

    Welcome! Keep watching and sharing.

  • @hemangishelake4379
    @hemangishelake43793 жыл бұрын

    When you will publish POM and Hybrid framework tutorials

  • @softwaretestingmentor

    @softwaretestingmentor

    3 жыл бұрын

    Hi Hemangi, They should be available in few weeks. Regards,Manish

  • @matheusasilva1170
    @matheusasilva11704 жыл бұрын

    I went to use the Tor brower. And gave this error know how to help me please? Good .... What is this please ... The method startProfile (FirefoxProfile, File, String) is undefined for the type FirefoxBinary ????

  • @aniketbose8522
    @aniketbose85223 жыл бұрын

    not multiple tabs. multiple instances. if i have more than one user in Chrome(not in whole p.c) only in chrome if i have hundred users then i need to write driver1 driver2 ...... i downt want to do that i want to make an array.

  • @nayannareshgourkar7362

    @nayannareshgourkar7362

    3 жыл бұрын

    try to create array of driver objects.. ChromeDriver arr[] =new ChromeDriver[100]; for(int i=0;i

  • @GrumpyStoic
    @GrumpyStoic Жыл бұрын

    First video in this series where I just didn't follow things. Almost certainly because I don't know Java which you mentioned. I wonder if it would have actually been better to skip use of WebDriver at this point and then revisit later and go into some Java fundamentals at the same time? Or just cover it off in Java tutorials you mentioned. As it is, I don't think many folks that don't know Java and/or Object Oriented Programming are going to be able to follow this. So might have been better to 'hardcode' a couple of browsers with the caveat that the viewer should also check out your Java and/or WebDriver videos separately. To be clear at the 16:30 mark onwards I do follow the solution, but I don't fully understand the interfaces vs classes etc.

  • @Wil825

    @Wil825

    Жыл бұрын

    If you're just going to be writing test cases for one browser then you can use the associated driver. The nice thing about webdriver is that you can create one instance of it and then declare it as whichever driver you need(as shown in the video). This is convenient and you can probably get away with using it just by understanding that the left side of the declaration can be a WebDriver but the right side can never be a WebDriver. At the end of the day though it's not necessary if you are only running the automation on a specific browser.

  • @tylerriojas6250

    @tylerriojas6250

    Жыл бұрын

    well essentially JAVA follows the same OOP fundamentals like parent child relationships. I believe if you are lost at this point that learning fundamentals of OOP would really help. If not you will get frustrated. Parent Child relationships and scope are important to understand as well as sequence , selection and iteration. These are things I learned in college and can be like figuring out a logic puzzle.

  • @GrumpyStoic

    @GrumpyStoic

    11 ай бұрын

    @@tylerriojas6250 Thanks for the advise. Will check out some OOP tutes and get my head around the fundamentals. Thanks again for these tutorials. 👍

  • @tylerriojas6250

    @tylerriojas6250

    11 ай бұрын

    @@GrumpyStoic yup! Lots of Google searches but the good news is software engineers seem very helpful and collaborative. The information is there it can just be a lot at first. I picked up effective Java books but in college started with intro to programming and Then Java and html. Once you get the logic down like how the computer sees it, it makes more sense.

  • @manaliagrawal542
    @manaliagrawal5423 жыл бұрын

    i got stuck , my xpath is not working

  • @vishaljape1078

    @vishaljape1078

    Жыл бұрын

    .Exc ka path copy pest karo

  • @manoj_mafiosi
    @manoj_mafiosi Жыл бұрын

    Selenium WebDriver Tutorial - Notes 1. WebDriver Interface in Selenium: - Selenium WebDriver allows interaction with browsers to perform actions like clicking elements and typing in input boxes. - To create an object of a class in Java, use the "new" keyword with the class name (e.g., "new ChromeDriver()"). - ChromeDriver is a WebDriver implementation for controlling a local Chrome browser. 2. WebDriver Interface and Implementing Classes: - WebDriver is an interface, while ChromeDriver, FirefoxDriver, EdgeDriver, etc., are classes that implement it. - Each browser driver is an implementing class of the WebDriver interface. - The reason for using the WebDriver interface is to execute the same code on multiple browsers without duplicating it. 3. Handling Multiple Browsers with WebDriver Interface: - To execute code on different browsers, use external configurations (e.g., CSV, Excel) to store browser details. - Read the browser configuration from the external file and choose the appropriate driver class accordingly. - By using the WebDriver interface, you can create an object of the specific browser driver based on the configuration. 4. Leveraging JavaDoc: - The JavaDoc provides documentation for Selenium WebDriver, interfaces, and classes. - Interfaces, like WebDriver, cannot be instantiated directly, but implementing classes like ChromeDriver can. - The WebDriver interface defines methods like getTitle(), getCurrentUrl(), etc., while implementing classes provide additional functionalities. 5. Best Practices: - Use the WebDriver interface to create an object of the browser driver to facilitate switching between browsers. - By taking the reference of the WebDriver interface, you can use the same code for different browsers. - Utilize external configuration files to store browser details and execute test cases on multiple browsers seamlessly.

Келесі