How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Training | Edureka

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 125

  • @edurekaIN
    @edurekaIN  6 ปีที่แล้ว +14

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Selenium Training and Certification Curriculum, Visit our Website: bit.ly/349QpMP

  • @hivasoofieh6921
    @hivasoofieh6921 2 ปีที่แล้ว +44

    I just wanted to know what Selenium is but I got much more of this video. I even saw a complete test case and understood it. this video was really helpful. Thank you so much!!!❤❤❤❤❤❤

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว +2

      Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @winwinindiamyindia9980
    @winwinindiamyindia9980 3 ปีที่แล้ว +9

    Great tutorial for quick learning and kick start ..being a java guy now able to write the test cases.. many thanks

  • @jayasheelapanthagani8908
    @jayasheelapanthagani8908 4 ปีที่แล้ว +21

    I really liked the way the step by step sequence explained in this video!! Truly appreciate and highly recommend this videp. Thank you so much!!!

  • @ramatalwadker
    @ramatalwadker ปีที่แล้ว +1

    Thanks for the tutorial. Just that instead of webdriver I used chromedriver and it worked

    • @edurekaIN
      @edurekaIN  ปีที่แล้ว

      You're Welcome 😊 Glad it was helpful!!

  • @sakshidwivedihp
    @sakshidwivedihp หลายเดือนก่อน

    One of the best videos till date❤

  • @wordherder
    @wordherder 5 ปีที่แล้ว +22

    Thank you for this! It's concise, quick, and easy to follow.

  • @abassiahmed9008
    @abassiahmed9008 5 ปีที่แล้ว +9

    extremely good tutorial for beginners

  • @maheshBasavaraju
    @maheshBasavaraju 2 ปีที่แล้ว

    Thank you. Now I know selenium 😀

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว +1

      Thank you so much : ) We are glad to be a part of your learning journey. Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @shwetapatil269
    @shwetapatil269 3 ปีที่แล้ว +1

    Very easy to understand... thank you...👍

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      Thanks a lot for the review .We look forward to continue to make informative content on our channel :)Thank you for visiting our channel , Do subscribe our channel and hit that bell icon to never miss an video from our channel .

  • @mohamedelfadli3125
    @mohamedelfadli3125 ปีที่แล้ว +1

    Thank you master speedy.

    • @edurekaIN
      @edurekaIN  ปีที่แล้ว

      Thank you 😊 Glad you liked it!!

  • @JF_Nuri
    @JF_Nuri 2 หลายเดือนก่อน

    It's very helpful 😊

    • @edurekaIN
      @edurekaIN  2 หลายเดือนก่อน

      Thanks for watching, I hope you found it helpful! 😊

  • @sandeepk3323
    @sandeepk3323 5 ปีที่แล้ว

    i am the big fan of Endureka

  • @AmirImam01
    @AmirImam01 4 ปีที่แล้ว +7

    Very helpful you are such an amazing instructor, thanks for this tutorial
    Best regards.

  • @shitalkd4766
    @shitalkd4766 2 ปีที่แล้ว +1

    Good explaination 👌👌

  • @AnushaS-pe1yw
    @AnushaS-pe1yw 2 ปีที่แล้ว +2

    thank you so much I understand very well

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      You're welcome 😊 Glad it was helpful!!

  • @aamirusmani9810
    @aamirusmani9810 5 ปีที่แล้ว +1

    very nice explanation for beginners

  • @kalavathiskitchen
    @kalavathiskitchen 4 ปีที่แล้ว +1

    Thank you and easy to understand

  • @desireehare2807
    @desireehare2807 2 ปีที่แล้ว +1

    Thank you for an excellent tutorial. Are all these versions still relevant 4 years later?

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      "Yes ! Good to know your learning with Edureka :) please share your mail id to share the data sheet! We'll Update you soon ! Do subscribe our channel for more such videos :)
      "

  • @RaizenPh
    @RaizenPh 2 ปีที่แล้ว +1

    Man thanks a lot! Keep it going!

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      Glad you liked it !!

  • @navamiravi2964
    @navamiravi2964 2 ปีที่แล้ว +1

    Thankyou so much for this

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      You are welcome :)

  • @naziyahaseen8770
    @naziyahaseen8770 2 ปีที่แล้ว

    Thanks for the clear session

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว +1

      Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )

  • @karishmashrestha5932
    @karishmashrestha5932 4 ปีที่แล้ว

    short and lucid explanation

  • @lorenzcobretti9862
    @lorenzcobretti9862 2 ปีที่แล้ว

    thank you! i'm transitioning from manual to automation testing. what a heads up!

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @missakaherath78
    @missakaherath78 4 ปีที่แล้ว +3

    Well explained, thankyou!

  • @mahesh215
    @mahesh215 2 ปีที่แล้ว

    Very nice tutorial with step by step clear explanation of everything... 👍

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      Hey:) Thank you so much for your sweet words :) Really means a lot ! Glad to know that our content/courses is making you learn better :) Our team is striving hard to give the best content. Keep learning with us -Team Edureka :) Don't forget to like the video and share it with maximum people:) Do subscribe the channel:)

  • @kutumb639
    @kutumb639 2 ปีที่แล้ว +1

    Really helpful

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      Glad it helped

  • @NatarajanAV
    @NatarajanAV 5 ปีที่แล้ว +3

    Great & simple video to understand basics of Selenium!

  • @abhilashabhalerao3204
    @abhilashabhalerao3204 5 ปีที่แล้ว +5

    Well Explained..
    Thanks a lot🙌

  • @dexterousfille5501
    @dexterousfille5501 3 ปีที่แล้ว

    You guys doing the best❤️

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @anantgoel4971
    @anantgoel4971 3 ปีที่แล้ว

    Well Explained. Good Video

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @satishuppin1482
    @satishuppin1482 4 ปีที่แล้ว +2

    Useful training..happy to learn.

  • @farrukhahmedsid
    @farrukhahmedsid 4 ปีที่แล้ว

    Very helpful to know Selenium and how it works..

  • @PradeepKumar-ps4cs
    @PradeepKumar-ps4cs 4 ปีที่แล้ว

    Best presenter and nice demo.

  • @prajjwaltalwaray
    @prajjwaltalwaray 5 ปีที่แล้ว +4

    Very helpful.....thanks a lot!🙌🏻

  • @aneuryperez
    @aneuryperez 5 ปีที่แล้ว +5

    thank you for the video, excellent, very helpful specially for beginners.

  • @yuvarajaa7532
    @yuvarajaa7532 3 ปีที่แล้ว

    well explained...Thank u soo much.

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      Happy to hear that!We are glad to have learners like you . Do subscribe our channel and hit that bell icon to never miss an video from our channel

  • @safrozeafroze5589
    @safrozeafroze5589 5 ปีที่แล้ว +1

    Very well explained...extremely helpful video..

  • @mitheep9497
    @mitheep9497 5 ปีที่แล้ว +6

    Awesome. This looks so interesting and fascinating. Thank you for such an excellent video.

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว +1

      Thanks for the compliment, Mithee. Don't forget to subscribe our channel bit.ly/edurekaTH-cam

  • @SmashedHatProject
    @SmashedHatProject 2 ปีที่แล้ว +1

    thank you for the curse!

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      You are welcome 😊 Keep learning with us!!

  • @zacharychow8485
    @zacharychow8485 4 ปีที่แล้ว +1

    Thank you very much!

  • @natashasamuel9346
    @natashasamuel9346 3 ปีที่แล้ว +1

    Great class.
    Keep up the good work.
    Thank You,
    Natasha Samuel

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      Great to see that our videos and contents are making you perform better and understand better :) We are glad that you've enjoyed your learning experience with us .Thank you for being a part of Edureka's team:) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @zakir7719
    @zakir7719 5 ปีที่แล้ว +7

    Useful demo session Happy to learn

  • @gabrielmayta2297
    @gabrielmayta2297 5 ปีที่แล้ว +4

    Great explanation, very detailed.

  • @sowmiyar2910
    @sowmiyar2910 5 ปีที่แล้ว +1

    Wow... Nice way ur teaching.. Thank you:)

  • @AminulSujon
    @AminulSujon 3 ปีที่แล้ว +1

    Nice tutorial

  • @testerhui1028
    @testerhui1028 5 ปีที่แล้ว +4

    Hello, when I click run, i get this error message :
    Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\Users\erichui\Desktop\Selenium setup\.exe files\chromedriver
    I have made sure that the chrome driver is there in that folder. Am i missing something?

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว +4

      Add .exe after you specify the path of ChromeDriver.

    • @DoorThief
      @DoorThief 5 ปีที่แล้ว +4

      You're missing the extension name for the file. It should be an executable (.exe). Also, when you do a backslash it is actually an escape character, so you may need to put two backslashes so that it is understood that you actually mean to put a backslash instead of escaping (not sure if that's the case for Java but it is for most the languages I use)

  • @kapilnassa3743
    @kapilnassa3743 4 ปีที่แล้ว

    Amazing!! tutorial 👏👏

  • @peterblom4766
    @peterblom4766 5 ปีที่แล้ว +1

    Thx very useful. Greetings from Holland

  • @bhuvanmishra13
    @bhuvanmishra13 3 ปีที่แล้ว

    Awesome Video! Thanks a lot! :)

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      Thanks a lot for the review .We look forward to continue to make informative content on our channel :)Thank you for visiting our channel , Do subscribe our channel and hit that bell icon to never miss an video from our channel .

  • @vwlover5450
    @vwlover5450 3 ปีที่แล้ว

    Thank you . I need a crash course.

    • @edurekaIN
      @edurekaIN  3 ปีที่แล้ว

      Hi Kumudu Thuyakontha, we have got your request covered. Kindly follow the link: bit.ly/2MK2YL7 to our Selenium Full Course tutorial to gain structured insights. Also, if you wish to pursue a certified course in Selenium, kindly visit: bit.ly/39IRUXz and avail exclusive discounts using the code "TH-cam20". Cheers :)

  • @TheAnnavincent
    @TheAnnavincent 6 ปีที่แล้ว +3

    Thanks for the video

  • @sarahrai7913
    @sarahrai7913 4 ปีที่แล้ว

    Very helpful tutorial thank you so much.

  • @CWNC
    @CWNC 4 ปีที่แล้ว

    Excellent tutorial.

  • @harish205
    @harish205 5 ปีที่แล้ว

    Good explanation

  • @deep1287
    @deep1287 4 ปีที่แล้ว +1

    Hands-on - 15:10

  • @hanzongtan4611
    @hanzongtan4611 5 ปีที่แล้ว +2

    Can I use Netbeans instead of Eclipse???

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว +1

      Hey! Yes, you can use it. There might be some changes though.

  • @Mbregs28
    @Mbregs28 5 ปีที่แล้ว +1

    WebDriver and ChromeDriver "can't be resolved to a type"
    I've done
    import org.openqa.selenium.chrome.*;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.chrome.ChromeDriver;
    and it's still saying they're not accessible any ideas?

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว

      ChromeDriver is one extra level nested in org.openqa.selenium package. Try with import statement
      org.openqa.selenium.chrome.*;
      OR
      import org.openqa.selenium.chrome.ChromeDriver;
      shareimprove this answer
      answered Feb 21 '18 at 3:50
      Shwetank Vashishtha
      15988 bronze badges
      add a comment
      1
      The error says it all :
      ""ChromeDriver can't be resolved to a type""
      While working with Selenium 3.x you have to mention the Key-Value pair through System.setProperty() line mandatory as follows :
      System.setProperty(""webdriver.chrome.driver"", ""/path/to/chromedriver"");
      Additionally, as per best practices instead of import org.openqa.selenium.*; you have to mention the individual packages for import as follows :
      import org.openqa.selenium.WebDriver;
      import org.openqa.selenium.chrome.ChromeDriver;

  • @nuranamirzaghayeva8730
    @nuranamirzaghayeva8730 5 ปีที่แล้ว +3

    Thanks a lot!

  • @kisanpakhreen
    @kisanpakhreen 4 ปีที่แล้ว +2

    I think it is easy to write script in python than java

  • @sridevi-jp3ic
    @sridevi-jp3ic 5 ปีที่แล้ว

    Thank you so much 🙏

  • @srinivasav1875
    @srinivasav1875 3 ปีที่แล้ว

    How to use grid and node and also record video using selenium grid?

  • @vasudeo007
    @vasudeo007 4 ปีที่แล้ว

    I want to know which programming language works good with Selenium? Is it Java or Python?

    • @edurekaIN
      @edurekaIN  4 ปีที่แล้ว +1

      Java is one of the most preferred language for web automation using selenium. However nowadays demand of other programming language is also gradually increasing due to which languages like Python and C# are also in demand.

  • @sehse100
    @sehse100 4 ปีที่แล้ว

    Thank you

  • @eerosiljander4622
    @eerosiljander4622 2 ปีที่แล้ว +1

    Great.

  • @nainalall4262
    @nainalall4262 4 ปีที่แล้ว

    I am trying to setup Selenium for Java on Mac OS X.
    When I am declaring "import org.openqa.selenium.WebDriver;". It's giving me error saying
    "The package import org.openqa.selenium is accessible from more than one module."
    Please help.

    • @edurekaIN
      @edurekaIN  4 ปีที่แล้ว +1

      This happens when you have added the external jars in the ModulePath. To solve this, Remove the external jars from the node ""Modulepath"" and select the node ""Classpath"" then add the external jars. Then review that all the jars are under the node ""Classpath""

  • @saikrishna.b736
    @saikrishna.b736 4 ปีที่แล้ว +1

    Thank you so much simple way of teaching and the way u told created more interest for me to learn selenium ...much appreciation for ur work... thank you so much for this video

    • @edurekaIN
      @edurekaIN  4 ปีที่แล้ว

      Hey, thanks for the wonderful feedback! We are glad we could help. Do subscribe to our channel to stay posted on upcoming tutorials.

  • @arturo7392
    @arturo7392 5 ปีที่แล้ว

    Thanks!

  • @toshinori2520
    @toshinori2520 5 ปีที่แล้ว +1

    whats the indication that the test was successful?

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว +1

      Hey Harvey, The console output will indicate and also if there are no errors in the execution, it will indicate a successful test case. Hope this helps! Cheers!

    • @toshinori2520
      @toshinori2520 5 ปีที่แล้ว

      so like in this case, if the gmail email matches the given email?

  • @HHHorea
    @HHHorea 11 หลายเดือนก่อน

    nice!

    • @edurekaIN
      @edurekaIN  11 หลายเดือนก่อน

      Thank you! Cheers!

  • @hidayathullakhan8605
    @hidayathullakhan8605 4 ปีที่แล้ว

    Its nice

  • @chandanacheemakurthi8575
    @chandanacheemakurthi8575 6 ปีที่แล้ว

    Sir it shows that webelement is not applicable for the arguments

  • @Usernameidk555
    @Usernameidk555 4 ปีที่แล้ว +1

    Good

  • @Yamaha0VMaX
    @Yamaha0VMaX 5 ปีที่แล้ว

    Is Android supported by Selenium ?

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว +1

      Yes, the Appium has got its roots from Selenium and it uses JSONWireProtocol to interact with iOS and Android apps using Selenium's web driver. Selendroid is based on the Android Instrumentation framework where tests are written using Selenium Webdriver client API, which is also called as Selenium 2 client. Hence, it can be fully integrated with existing Selenium frameworks.

    • @Yamaha0VMaX
      @Yamaha0VMaX 5 ปีที่แล้ว

      @@edurekaIN >> Thanks. I will definitely look into this as I am interested in mobile testing.

  • @pankajsaw3017
    @pankajsaw3017 2 ปีที่แล้ว

    W e have no gf but we have edureka love U Edureka

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว +1

      You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @shivarjunroy1394
    @shivarjunroy1394 4 ปีที่แล้ว +1

    Automating

  • @sheetaldheer5954
    @sheetaldheer5954 4 ปีที่แล้ว +1

    but helpful

  • @ValuedValue
    @ValuedValue 3 ปีที่แล้ว

    Indian accent, *yes*

  • @ranjithcheruku8130
    @ranjithcheruku8130 5 ปีที่แล้ว +2

    thank u

  • @uditagarwal8172
    @uditagarwal8172 5 ปีที่แล้ว

    my question here is
    what was this test for?? means what was it testing?? i was unable to understand.
    i anyone has the answer please reply?

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว

      In the example that is shown in the video, the script was testing the title of the gmail webpage. If the expected and the actual title match, then the test is successful else it is not.

  • @Swadeep411
    @Swadeep411 ปีที่แล้ว +1

    Nice explanation

    • @edurekaIN
      @edurekaIN  ปีที่แล้ว

      Thank you 😊 Glad it was helpful!!

  • @hellowhat999
    @hellowhat999 4 ปีที่แล้ว +1

    Thank You very much

  • @CDinuwan
    @CDinuwan 3 ปีที่แล้ว

    Thanks you for this!

  • @Eruton136
    @Eruton136 4 ปีที่แล้ว

    Excellent video!

  • @deepakvaid920
    @deepakvaid920 5 ปีที่แล้ว

    Thanks for the video

  • @wReeed
    @wReeed 5 ปีที่แล้ว

    Thanks a lot!

  • @zinaumrshatian5739
    @zinaumrshatian5739 3 ปีที่แล้ว

    Thanks a lot!