How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Training | Edureka
Вставка
- Опубліковано 17 тра 2018
- 🔥 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.”
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
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!!!
Thank you for this! It's concise, quick, and easy to follow.
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!!!❤❤❤❤❤❤
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 : )
Great tutorial for quick learning and kick start ..being a java guy now able to write the test cases.. many thanks
Very helpful you are such an amazing instructor, thanks for this tutorial
Best regards.
Great & simple video to understand basics of Selenium!
thank you for the video, excellent, very helpful specially for beginners.
Awesome. This looks so interesting and fascinating. Thank you for such an excellent video.
Thanks for the compliment, Mithee. Don't forget to subscribe our channel bit.ly/edurekaUA-cam
Very helpful.....thanks a lot!🙌🏻
Well Explained..
Thanks a lot🙌
extremely good tutorial for beginners
Wow... Nice way ur teaching.. Thank you:)
Useful training..happy to learn.
Useful demo session Happy to learn
Thx very useful. Greetings from Holland
Very well explained...extremely helpful video..
Well explained, thankyou!
Very helpful to know Selenium and how it works..
Great explanation, very detailed.
Very helpful tutorial thank you so much.
Thanks for the video
Thanks a lot!
Best presenter and nice demo.
Great class.
Keep up the good work.
Thank You,
Natasha Samuel
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 : )
Amazing!! tutorial 👏👏
very nice explanation for beginners
Thank you and easy to understand
Excellent tutorial.
Very nice tutorial with step by step clear explanation of everything... 👍
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:)
Thanks for the tutorial. Just that instead of webdriver I used chromedriver and it worked
You're Welcome 😊 Glad it was helpful!!
thank you! i'm transitioning from manual to automation testing. what a heads up!
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 : )
Very easy to understand... thank you...👍
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 .
Thank you very much!
Thanks you for this!
Excellent video!
Good explaination 👌👌
short and lucid explanation
You guys doing the best❤️
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 : )
Thank you so much 🙏
Awesome Video! Thanks a lot! :)
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 .
Thank you for an excellent tutorial. Are all these versions still relevant 4 years later?
"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 :)
"
well explained...Thank u soo much.
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
thank you so much I understand very well
You're welcome 😊 Glad it was helpful!!
Thanks for the clear session
Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )
Thank You very much
Thank you. Now I know selenium 😀
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 : )
Man thanks a lot! Keep it going!
Glad you liked it !!
Good explanation
i am the big fan of Endureka
Well Explained. Good Video
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 : )
Thank you master speedy.
Thank you 😊 Glad you liked it!!
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
Hey, thanks for the wonderful feedback! We are glad we could help. Do subscribe to our channel to stay posted on upcoming tutorials.
Thankyou so much for this
You are welcome :)
Nice tutorial
Thanks!
Really helpful
Glad it helped
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?
Add .exe after you specify the path of ChromeDriver.
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)
Its nice
Nice explanation
Thank you 😊 Glad it was helpful!!
Thank you
I want to know which programming language works good with Selenium? Is it Java or Python?
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.
Can I use Netbeans instead of Eclipse???
Hey! Yes, you can use it. There might be some changes though.
thank you for the curse!
You are welcome 😊 Keep learning with us!!
How to use grid and node and also record video using selenium grid?
Good
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?
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;
nice!
Thank you! Cheers!
thank u
Thank you . I need a crash course.
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 "UA-cam20". Cheers :)
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.
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""
whats the indication that the test was successful?
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!
so like in this case, if the gmail email matches the given email?
Automating
Hands-on - 15:10
I think it is easy to write script in python than java
Sir it shows that webelement is not applicable for the arguments
For using sendkeys
Is Android supported by Selenium ?
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.
@@edurekaIN >> Thanks. I will definitely look into this as I am interested in mobile testing.
but helpful
W e have no gf but we have edureka love U Edureka
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 : )
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?
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.
Indian accent, *yes*
Great.
Thanks a lot!
Thanks for the video
Thanks a lot!