Selenium Tutorial - Learn Selenium Webdriver Online Free Step By Step

Selenium Tutorial

Selenium tutorial is designed for basic to advanced level user. Selenium webdriver is widely used open source automation testing tool in software testing industry which automates browsers. It is very compact object-oriented API which drives browsers natively on local or remote machines just like user interacts with browsers. If you look at the top trending automation testing tools, Selenium Webdriver is on top spot from last 10 to 12 years. It is being used by small scale companies to giant MNCs. As you know, Manual testing takes lots of time and efforts when your web application testing task is repetitive. Selenium automation will reduce your testing time and cost as you need to write selenium script just once and you can use those selenium automation testing scripts again and again whenever required. You can use those scripts mainly for regression testing of web application.

I am suggesting you to first Learn Selenium IDE From This Page and then start bellow given selenium tutorial. 
Selenium Tutorial

Selenium is free and supports many different languages like selenium Java, Python, Pearl, Ruby, PHP and C#. Selenium with java and selenium with python needs special mention here as both these languages are more popular than the other languages in selenium automation. To learn selenium with java, You should have java coding basics knowledge. If you are fresher then you should start java for beginners tutorial and then you can move to selenium tutorial. I have prepared very good set of java beginners tutorials for selenium learners which can help you to boost your java basics. Once you learn java basics, You can start with java advanced tutorials set.

SELENIUM TUTORIAL PART ONE

Selenium Tutorial : Basic Java


selenium java tutorial for selenium automation testing

This section will helps you to learn selenium java tutorial. Before learning selenium testing, You must have knowledge of java. This section will clear your basic oops concept which you needs to use in selenium webdriver test scripts.

Java for Beginners Tutorials

  1. Tutorial -> Datatypes In Java
  2. Tutorial -> String Class In Java
  3. Tutorial -> if, if else and nested if else In Java
  4. Tutorial -> for loop In Java
  5. Tutorial -> while, do while loops In Java
  6. Tutorial -> One and two dimensional array In Java
  7. Tutorial -> Methods In Java
  8. Tutorial -> Access Modifiers In Java
  9. Tutorial -> Return Type Of Method In Java
  10. Tutorial -> Static, Non Static Methods, Variables In Java
  11. Tutorial -> Object In Java
  12. Tutorial -> Variable Types In Java
  13. Tutorial -> Constructor In Java
  14. Tutorial -> Inheritance In Java
  15. Tutorial -> Interface In Java
  16. Tutorial -> ArrayList In Java
  17. Tutorial -> Hashtable In Java
  18. Tutorial -> Read-Write Text File In Java
  19. Tutorial -> Exception handling, try-catch-finally, throw and throws In Java
  20. Tutorial -> Useful Eclipse Shortcuts To Use With Selenium WebDriver Automation

Selenium Tutorial : WebDriver Installation And Configuration Tutorial


Basic Selenium Tutorial

Bellow given selenium tutorial for beginner using java will brief you about selenium testing like what is selenium webdriver, difference between webdriver and selenium RC and running first selenium webdriver test script in different web browsers like Firefox, google chrome and internet explorer.

Configure JUnit With Selenium WebDriver


Junit Tutorial For Selenium

Junit is open source unit testing framework. We can use junit with selenium to configure, run and generate reports of selenium test easily. Bellow given section will show you how to create selenium test case, test suite, usage of different junit annotations in selenium tests and generating test execution reports.

Selenium Element Locators

Knowledge of element locator is necessary to work with selenium automation testing tool. When selenium test run, first it will locate element from page and then it will perform given action on it like click, type, select etc. Selenium support many different element locators like ID, ClassName, Name, Link or partial link, Css and XPath. Bellow given tutorials will help you to learn different element locators.

I hope, You have learned basic things about selenium testing and you are able to write basic tests for you web application. Click on NEXT button bellow to go one step forward in selenium tutorial for beginner learning series.

webdriver selenium, webdriver, selenium webdriver java, download selenium, selenium tutorial, selenium tutorials, selenium webdriver tutorial, selenium tutorial for beginner, learn selenium, selenium tutorials for beginners, webdriver tutorial, selenium download

69 comments:

  1. This is brilliant training, so simple to follow. Thank you and can't wait to dig in after you update the remaining days too . Cheers!!!

    ReplyDelete
  2. Great, but please be fast, I am in need of it

    ReplyDelete
  3. This very helpful. Thank you for the details information.

    Could you please add managing different windows like popups, alert using selenium webdriver. It would be great if you can provide that information.

    Thank you.

    ReplyDelete
  4. I am working on it now and that article will be published very shortly.

    ReplyDelete
  5. This page is very helpful. Thank you.

    ReplyDelete
  6. Thank you for your wonderful job !!

    ReplyDelete
  7. Thank u for the wonderful post !!

    ReplyDelete
  8. You have published articles on WebDriver and IDE ...But why not RC???(I know Driver is most advanced than RC..But giving some information about RC/grid would make your blog complete..)

    ReplyDelete
  9. Will publish Grid tutorials very soon. :)

    ReplyDelete
  10. Very information very helpful for Selenium beginners

    ReplyDelete
  11. Excellent training and the information provided is very clear

    ReplyDelete
  12. Excellent training the information is very clear and useful

    ReplyDelete
  13. plss upload rest f java tutorials soon :-)

    ReplyDelete
  14. Awesome, God bless you :)

    ReplyDelete
  15. Wonderful!!! ...Excellent training..... God bless you :-)

    ReplyDelete
  16. very useful..................

    ReplyDelete
  17. Trust me, i have worked on selenium and used this page to refresh my basics and found this content to be simply awesome :)

    ReplyDelete
  18. Thanks. This is very useful.

    ReplyDelete
  19. This is just Awesome....... Can i expect Webdirver - Appium in this blog..

    ReplyDelete
  20. Thanks a lot,its very detail

    ReplyDelete
  21. Thanks a lot for these wonderful tutorials, easy to learn and helps a lot !!!

    ReplyDelete
  22. Please publish rest of JAVA tutorials.......

    ReplyDelete
  23. can you please update OOPS concepts and related tutorials?

    ReplyDelete
  24. Very easy Tutorial. Very simple for beginners and covers all the aspects.
    Thanks a Lot!!!

    ReplyDelete
  25. Appreciate all your efforts, thanks a lot

    ReplyDelete
  26. Thank you so much.your blog is very helpful.Could you please post any material on Web services testing too?

    ReplyDelete
  27. It was so nice article.I was really satisified by seeing this article and we are
    also giving QA online training.The QA online Training is one of the best QA online training institute in worldwide.

    ReplyDelete
  28. One of the best blogs I have ever read,I have completed Part 1 till now. Hats-off to your detailed explanation.

    I have a request, if possible please publish a sample project with any real-time examples.

    Thanks once again...

    ReplyDelete
  29. Hi
    It is really helping for Selenium Starter
    Regards,
    Amara

    ReplyDelete
  30. Hey Aravind I have seen your tutorials and believe me its a very easy & interesting way to learn Selenium Webdriver.

    ReplyDelete
  31. Awsome content about Selenium Webdriver and very easy to understand indeed > Thanks for posting.

    ReplyDelete
  32. as a fresher who all wanted to go to selenium it would be really helpful for aware of basics and as well as for interviews

    ReplyDelete
  33. It will be helpful if you post some topics on DEBUGGING in selenium...

    ReplyDelete
  34. Hello, I am new to Selenium and willing to learn it. I found your posts useful. Kindly let me know which website you have used in your example/screenshot.

    ReplyDelete
  35. Can any one help me in installing Java in my system. Installing java always gives me error 1602 and therefore eclipse also doesnt work in my system. Help me pls.

    ReplyDelete
  36. slenium course navyads good sugssion

    ReplyDelete
  37. How would be work with frame in page object model with TestNG Framework in selenium Webdriver?

    ReplyDelete
  38. Really great work!! much much appreciated.
    Very very helpful... Thank you so much!!!

    ReplyDelete
  39. Very helpful article, helped me clear all the necessary concepts.
    Thank you so much!

    ReplyDelete
  40. please provide the tutorial for selenium flash testing also

    ReplyDelete
  41. Great blog nice n useful information..

    ReplyDelete
  42. Very nice explanation I am a beginner and find you site today only .I am on the way of learning Data driven framework hope your articles will help me.Thanks

    ReplyDelete
  43. Hi,
    Thank You for such a great guidance.
    Can u mail me all Part1, part2 and part3.
    all three tutorials.
    Email ID: sanky1709@gmail.com
    Thank You,
    Sanky

    ReplyDelete
  44. This is Very GOOD tutorial for beginner and experience.

    Thanks

    ReplyDelete
  45. Very good tutorial for beginner and experience

    ReplyDelete
  46. Very Useful Info. Thanks a lot for sharing. Please continue to do this great work.

    ReplyDelete
  47. I really appreciate the amount of hard work you have put to explain Java and Selenium in this post and that too for free of cost. The contents are really useful. Thank You!!

    ReplyDelete
  48. I really Appreciate above work.But it full concept based on Core JAVA.

    ReplyDelete
  49. Awesome blog for selenium tutorials, thanks a lot

    ReplyDelete
  50. Awesome blog for selenium tutorials, thanks a lot!!

    ReplyDelete
  51. Great content. Thanks for sharing this information. Keep it up. This is great article. I like it very much.

    ReplyDelete
  52. ur all the articles are so helpful. so have explained the things in very easy way. and it so easy for beginners to understand

    ReplyDelete
  53. Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases



    pls help me to solve this problem

    ReplyDelete
    Replies
    1. Since WebDriver version 3 you need a separate executable, geckodriver.exe, in order to driver firefox. First, download geckodriver from that github link. Then, put it someplace where you store your project files. Then, in the beginning of your main method, put this:

      System.setProperty("webdriver.gecko.driver", "path to the folder you put it in\\geckodriver.exe");

      Afterwards you can go on to create new FirefoxDriver and all other stuff.

      Delete
    2. This comment has been removed by the author.

      Delete
  54. Really an excellent stuff on Java essentials for Selenium. Appreciate the above work. Thanks.

    ReplyDelete
  55. Very helpful tutorials. Straight to the point! Thank you.

    ReplyDelete
  56. Hi @kapil khedkar, please follow this link: https://github.com/eviltester/startUsingSeleniumWebDriver to solve your problem

    ReplyDelete
  57. such a greatful content about the JAVA Training ..

    Keep sharing

    ReplyDelete
  58. Hi sir,
    awesome tutorial sir,i learned a lot from this.
    I am new to java, is it enough to get the job as fresher java Developer?

    ReplyDelete
  59. Hi,
    is it enough to get place as java developer fresher?
    please replay anyone

    ReplyDelete
  60. wow, very Nice information about web driver, Really I like this Article, Recently I was finished my Webservices training in Bangalore and achieve my success through online Seleniumlabs, this training center was very helpful to make a bright your future.
    Thank you
    Keep Blogging

    ReplyDelete
  61. It's very usefull information about about selenium webdriver.

    ReplyDelete