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

  Рет қаралды 1,133,431

edureka!

edureka!

6 жыл бұрын

🔥 Edureka Selenium Training (Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎") : www.edureka.co/selenium-certi...
This Edureka Selenium tutorial video (Selenium Blog Series: goo.gl/VGBJHx) on "How to Write & Run a Test Case in Selenium" will give you an introduction to automated software testing tool - Selenium. Watch the video till the end, this selenium tutorial will help you in writing and running your first Test Case using Selenium.
For doubts & queries on Selenium, post the same on Edureka Community: www.edureka.co/community/sele...
Introduction to Selenium blog: goo.gl/b523IO
Check our complete Selenium playlist here: goo.gl/NmuzXE
Facebook: / edurekain
Twitter: / edurekain
LinkedIn: / edureka
#Selenium #SeleniumAutomation #SeleniumTesting #SeleniumTutorial #SeleniumTraining
🔴 𝐋𝐞𝐚𝐫𝐧 𝐓𝐫𝐞𝐧𝐝𝐢𝐧𝐠 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐢𝐞𝐬 𝐅𝐨𝐫 𝐅𝐫𝐞𝐞! 𝐒𝐮𝐛𝐬𝐜𝐫𝐢𝐛𝐞 𝐭𝐨 𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐘𝐨𝐮𝐓𝐮𝐛𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥: edrk.in/DKQQ4Py
- - - - - - - - - - - - - -
How it Works?
1. This is a 5 Week Instructor led Online Course, 20 hours of assignment and 30 hours of project work
2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.
3. At the end of the training you will have to undergo a 2-hour LIVE Practical Exam based on which we will provide you a Grade and a Verifiable Certificate!
- - - - - - - - - - - - - -
About the Course:
Selenium is the most popular tool used to automate the testing of web applications. In this Course, you will learn about Selenium 3.0 and its various components such as Selenium IDE, Selenium WebDriver, and Selenium GRID. You learn to set up your environment so that you are ready to start using Selenium for testing your web applications. Browsers such as Chrome, Firefox, and IE are used to test the web applications. In addition, you will experience to work with Selenium IDE, Selenium WebDriver, Selenium GRID, different frameworks such as Data Driven, Keyword Driven, Hybrid and Cross browser testing.
Page Object Model (POM) is a design pattern that enables you to maintain reusability and readability of the automation scripts. This course introduces you to the concept of POM, and how to implement Page Classes and Page Factory to optimize the execution of automated scripts. In addition, you learn about various third-party tools such as Jenkins, TestNG, Sikuli, and AutoIT to optimally use them for performing various tasks in our browsers such as working with flash applications or Windows-based UI elements. Finally, you get introduced to Appium, an open source mobile application UI testing framework, and UIautomatorviewer.
- - - - - - - - - - - - - -
Who should go for this course?
Selenium is a new and booming Technology in Software Industry that helps you automate the testing of your applications. Professionals with basic knowledge of Object Oriented Programming can easily take up this course.
- - - - - - - - - - - - - -
Why learn Selenium?
For any project, Companies are rapidly inclining towards open source automated testing tools that will enable them to cut down the cost and effort that manual testing involves. Selenium is one such open source automated testing tool for websites. Performance, execution speed, and browser interaction of Selenium is too fast than any other automation tool. The test packages, the Modes of Selenium available for unattended execution, and the fact that the text script can be developed in any of the language that Selenium supports; makes Selenium the most desired automation testing tool. In addition, Selenium supports different operating systems along with support for different programming languages such as Python, Pearl, Ruby, PHP, .NET, C#, and Java; and various browsers, thereby making Selenium ahead of any other Automation tool.
- - - - - - - - - - - - - -
For more information, Please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).
- - - - - - - - - - - - - -
Customer Review:
Tom Tully says, “I wanted to learn Selenium Webdriver in a live, real course, not self-paced, so there would be pressure on me to finish. Edureka accomplished this at a price far lower than an in-person class, and as far as I know they are the only internet class that has live lectures on this subject. Teacher was very knowledgeable. I learned basic use of Selenium. No problem with me being in US and teacher in India. They have US 800 number.”

Пікірлер: 122
@edurekaIN
@edurekaIN 6 жыл бұрын
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
@wordherder
@wordherder 5 жыл бұрын
Thank you for this! It's concise, quick, and easy to follow.
@jayasheelapanthagani8908
@jayasheelapanthagani8908 4 жыл бұрын
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!!!
@winwinindiamyindia9980
@winwinindiamyindia9980 3 жыл бұрын
Great tutorial for quick learning and kick start ..being a java guy now able to write the test cases.. many thanks
@hivasoofieh6921
@hivasoofieh6921 2 жыл бұрын
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 жыл бұрын
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 : )
@NatarajanAV
@NatarajanAV 5 жыл бұрын
Great & simple video to understand basics of Selenium!
@AmirImam01
@AmirImam01 4 жыл бұрын
Very helpful you are such an amazing instructor, thanks for this tutorial Best regards.
@aneuryperez
@aneuryperez 4 жыл бұрын
thank you for the video, excellent, very helpful specially for beginners.
@abassiahmed9008
@abassiahmed9008 4 жыл бұрын
extremely good tutorial for beginners
@prajjwaltalwaray
@prajjwaltalwaray 4 жыл бұрын
Very helpful.....thanks a lot!🙌🏻
@abhilashabhalerao3204
@abhilashabhalerao3204 4 жыл бұрын
Well Explained.. Thanks a lot🙌
@mitheep9497
@mitheep9497 4 жыл бұрын
Awesome. This looks so interesting and fascinating. Thank you for such an excellent video.
@edurekaIN
@edurekaIN 4 жыл бұрын
Thanks for the compliment, Mithee. Don't forget to subscribe our channel bit.ly/edurekaKZbin
@satishuppin1482
@satishuppin1482 3 жыл бұрын
Useful training..happy to learn.
@sowmiyar2910
@sowmiyar2910 4 жыл бұрын
Wow... Nice way ur teaching.. Thank you:)
@zakir7719
@zakir7719 5 жыл бұрын
Useful demo session Happy to learn
@peterblom4766
@peterblom4766 5 жыл бұрын
Thx very useful. Greetings from Holland
@farrukhahmedsid
@farrukhahmedsid 3 жыл бұрын
Very helpful to know Selenium and how it works..
@safrozeafroze5589
@safrozeafroze5589 4 жыл бұрын
Very well explained...extremely helpful video..
@missakaherath78
@missakaherath78 4 жыл бұрын
Well explained, thankyou!
@sarahrai7913
@sarahrai7913 3 жыл бұрын
Very helpful tutorial thank you so much.
@gabrielmayta2297
@gabrielmayta2297 4 жыл бұрын
Great explanation, very detailed.
@PradeepKumar-ps4cs
@PradeepKumar-ps4cs 3 жыл бұрын
Best presenter and nice demo.
@kalavathiskitchen
@kalavathiskitchen 3 жыл бұрын
Thank you and easy to understand
@aamirusmani9810
@aamirusmani9810 4 жыл бұрын
very nice explanation for beginners
@TheAnnavincent
@TheAnnavincent 5 жыл бұрын
Thanks for the video
@karishmashrestha5932
@karishmashrestha5932 4 жыл бұрын
short and lucid explanation
@natashasamuel9346
@natashasamuel9346 2 жыл бұрын
Great class. Keep up the good work. Thank You, Natasha Samuel
@edurekaIN
@edurekaIN 2 жыл бұрын
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 : )
@nuranamirzaghayeva8730
@nuranamirzaghayeva8730 5 жыл бұрын
Thanks a lot!
@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:)
@shwetapatil269
@shwetapatil269 3 жыл бұрын
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 .
@kapilnassa3743
@kapilnassa3743 3 жыл бұрын
Amazing!! tutorial 👏👏
@CWNC
@CWNC 4 жыл бұрын
Excellent tutorial.
@zacharychow8485
@zacharychow8485 3 жыл бұрын
Thank you very much!
@CDinuwan
@CDinuwan 3 жыл бұрын
Thanks you for this!
@lorenzcobretti9862
@lorenzcobretti9862 Жыл бұрын
thank you! i'm transitioning from manual to automation testing. what a heads up!
@edurekaIN
@edurekaIN Жыл бұрын
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 : )
@ramatalwadker
@ramatalwadker Жыл бұрын
Thanks for the tutorial. Just that instead of webdriver I used chromedriver and it worked
@edurekaIN
@edurekaIN Жыл бұрын
You're Welcome 😊 Glad it was helpful!!
@AnushaS-pe1yw
@AnushaS-pe1yw Жыл бұрын
thank you so much I understand very well
@edurekaIN
@edurekaIN Жыл бұрын
You're welcome 😊 Glad it was helpful!!
@Eruton136
@Eruton136 3 жыл бұрын
Excellent video!
@sridevi-jp3ic
@sridevi-jp3ic 4 жыл бұрын
Thank you so much 🙏
@naziyahaseen8770
@naziyahaseen8770 2 жыл бұрын
Thanks for the clear session
@edurekaIN
@edurekaIN 2 жыл бұрын
Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )
@desireehare2807
@desireehare2807 Жыл бұрын
Thank you for an excellent tutorial. Are all these versions still relevant 4 years later?
@edurekaIN
@edurekaIN Жыл бұрын
"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 :) "
@shitalkd4766
@shitalkd4766 2 жыл бұрын
Good explaination 👌👌
@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
@hellowhat999
@hellowhat999 3 жыл бұрын
Thank You very much
@dexterousfille5501
@dexterousfille5501 2 жыл бұрын
You guys doing the best❤️
@edurekaIN
@edurekaIN 2 жыл бұрын
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 : )
@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 .
@maheshBasavaraju
@maheshBasavaraju 2 жыл бұрын
Thank you. Now I know selenium 😀
@edurekaIN
@edurekaIN 2 жыл бұрын
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 : )
@sandeepk3323
@sandeepk3323 4 жыл бұрын
i am the big fan of Endureka
@RaizenPh
@RaizenPh Жыл бұрын
Man thanks a lot! Keep it going!
@edurekaIN
@edurekaIN Жыл бұрын
Glad you liked it !!
@mohamedelfadli3125
@mohamedelfadli3125 Жыл бұрын
Thank you master speedy.
@edurekaIN
@edurekaIN Жыл бұрын
Thank you 😊 Glad you liked it!!
@anantgoel4971
@anantgoel4971 2 жыл бұрын
Well Explained. Good Video
@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 : )
@navamiravi2964
@navamiravi2964 Жыл бұрын
Thankyou so much for this
@edurekaIN
@edurekaIN Жыл бұрын
You are welcome :)
@harish205
@harish205 4 жыл бұрын
Good explanation
@saikrishna.b736
@saikrishna.b736 4 жыл бұрын
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 4 жыл бұрын
Thanks!
@testerhui1028
@testerhui1028 5 жыл бұрын
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 4 жыл бұрын
Add .exe after you specify the path of ChromeDriver.
@DoorThief
@DoorThief 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)
@AminulSujon
@AminulSujon 3 жыл бұрын
Nice tutorial
@kutumb639
@kutumb639 Жыл бұрын
Really helpful
@edurekaIN
@edurekaIN Жыл бұрын
Glad it helped
@sehse100
@sehse100 3 жыл бұрын
Thank you
@Swadeep411
@Swadeep411 Жыл бұрын
Nice explanation
@edurekaIN
@edurekaIN Жыл бұрын
Thank you 😊 Glad it was helpful!!
@hidayathullakhan8605
@hidayathullakhan8605 4 жыл бұрын
Its nice
@srinivasav1875
@srinivasav1875 2 жыл бұрын
How to use grid and node and also record video using selenium grid?
@SmashedHatProject
@SmashedHatProject Жыл бұрын
thank you for the curse!
@edurekaIN
@edurekaIN Жыл бұрын
You are welcome 😊 Keep learning with us!!
@ranjithcheruku8130
@ranjithcheruku8130 5 жыл бұрын
thank u
@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 "KZbin20". Cheers :)
@Mbregs28
@Mbregs28 4 жыл бұрын
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 4 жыл бұрын
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;
@Usernameidk555
@Usernameidk555 3 жыл бұрын
Good
@hanzongtan4611
@hanzongtan4611 5 жыл бұрын
Can I use Netbeans instead of Eclipse???
@edurekaIN
@edurekaIN 5 жыл бұрын
Hey! Yes, you can use it. There might be some changes though.
@HHHorea
@HHHorea 5 ай бұрын
nice!
@edurekaIN
@edurekaIN 5 ай бұрын
Thank you! Cheers!
@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 жыл бұрын
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""
@vasudeo007
@vasudeo007 4 жыл бұрын
I want to know which programming language works good with Selenium? Is it Java or Python?
@edurekaIN
@edurekaIN 3 жыл бұрын
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.
@deep1287
@deep1287 3 жыл бұрын
Hands-on - 15:10
@shivarjunroy1394
@shivarjunroy1394 4 жыл бұрын
Automating
@kisanpakhreen
@kisanpakhreen 4 жыл бұрын
I think it is easy to write script in python than java
@sheetaldheer5954
@sheetaldheer5954 4 жыл бұрын
but helpful
@chandanacheemakurthi8575
@chandanacheemakurthi8575 5 жыл бұрын
Sir it shows that webelement is not applicable for the arguments
@chandanacheemakurthi8575
@chandanacheemakurthi8575 5 жыл бұрын
For using sendkeys
@toshinori2520
@toshinori2520 5 жыл бұрын
whats the indication that the test was successful?
@edurekaIN
@edurekaIN 5 жыл бұрын
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?
@Yamaha0VMaX
@Yamaha0VMaX 4 жыл бұрын
Is Android supported by Selenium ?
@edurekaIN
@edurekaIN 4 жыл бұрын
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 4 жыл бұрын
@@edurekaIN >> Thanks. I will definitely look into this as I am interested in mobile testing.
@ValuedValue
@ValuedValue 3 жыл бұрын
Indian accent, *yes*
@pankajsaw3017
@pankajsaw3017 2 жыл бұрын
W e have no gf but we have edureka love U Edureka
@edurekaIN
@edurekaIN 2 жыл бұрын
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 : )
@uditagarwal8172
@uditagarwal8172 4 жыл бұрын
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 4 жыл бұрын
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.
@eerosiljander4622
@eerosiljander4622 Жыл бұрын
Great.
@wReeed
@wReeed 4 жыл бұрын
Thanks a lot!
@deepakvaid920
@deepakvaid920 4 жыл бұрын
Thanks for the video
@zinaumrshatian5739
@zinaumrshatian5739 2 жыл бұрын
Thanks a lot!
What is automated testing? Beginner intro & automation demo
15:47
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 22 МЛН
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 38 МЛН
Selenium WebDriver Tutorial #10 - How to Write First TestCase in Selenium
15:42
Software Testing Mentor
Рет қаралды 179 М.
How To Write TEST CASES In Manual Testing | Software Testing
23:53
Software Testing Material
Рет қаралды 2 МЛН
How to write Script in Selenium Webdriver (First Testcase in Selenium)
18:39
How To Explain Test Automation Framework In Interviews For Selenium
13:42
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 22 МЛН