Simple Startup in Web Driver

Web driver is a java interface which is having lot of implementing classes and functions which we can refer from javadocs in selenium official site.

Download latest java client version from  http://seleniumhq.org/download/. Its a zip pack, Unzip and go to eclipse Create new java project and right click on java project and select Build Path ---> Configure build path Click "Add External Jars" and select all the jar under the unzipped folder. Then click OK.


Now Create New class and try the following sample code:

import org.openqa.selenium.firefox.FirefoxDriver;


Public class test {
Public static void main (String[] args) {
Webdriver v1 = new firefoxDriver();

// This will initiate firefox brower
v1.get("http://facebook.com");

It will open a firefox browser window and launch facebook site. Type
v1.quit - to quit the browser.

Try it out!!!

88 comments:

  1. Hi,

    How can I make use of the UI Map used in Selenium IDE in WebDriver/Selenium Server (in java or C#)?
    Because, the java doesn't recognize the UI Map elements..
    Thanks in advance.
    Sara S

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. hello sir how to handle the ajax control in selenium.. i didn't get answer. can u answer me for this it may useful for others also

    ReplyDelete
  6. Thanks for the great information in your blog Selenium

    ReplyDelete

  7. This information is impressive..I am inspired with your post writing style & how continuously you describe this topic. After reading your post,thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
    ios training in chennai

    ReplyDelete
  8. Thanks for the great information in your blog Selenium Training in Chennai

    ReplyDelete
  9. http://cheyat.com/qa/selenium-online-training-tutorials

    ReplyDelete
  10. Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium.
    Selenium

    ReplyDelete
  11. Learn Selenium WebDriver Training by Professional
    Selenium Training

    ReplyDelete
  12. It was very nice blog to learn about SAP HR.Thanks for sharing new things.SAP HR

    ReplyDelete
  13. This is very informative blog and useful article thank you for sharing with us keep posting more details aboutselenium training,selenium online training

    ReplyDelete
  14. Thanks for the information very helpful for more tutorials and content on selenium
    check this.

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. How will you verify simple selenium script as pass or fail - question asked in interview .
    Can any one help me with answer

    ReplyDelete
  17. Appium Training in chennai
    We provides Best Appium Training in Chennai with real time project assistance by our leading Appium mobile App Automation testing architect
    For Free Live Demo @ Call to 8122241286.
    Appium ,Selenium,Mobile Automation Testiing using Android and IOS
    www.thecreatingexperts.com 
    Appium training in chennai

    ReplyDelete
  18. Advanced Selenium Framework Training in Chennai by Vishwa

    Hi, Reach Mr.Vishwa for Best Selenium and Coded UI Training in Chennai with real time project assistance. This people will teach everything from the basics up to advanced level scenarios from frameworks.

    I learned from Mr.Vishwa and Raj they are very good automation people for Selenium Frameworks. After joined with them I learned many things and now I am writing automation scripts in own project. Vishwa 9003085882
    selenium training in chennai

    ReplyDelete

  19. Advanced Selenium Framework Training in Chennai by Vishwa

    Hi, Reach Mr.Vishwa for Best Selenium and Coded UI Training in Chennai with real time project assistance. This people will teach everything from the basics up to advanced level scenarios from frameworks.

    I learned from Mr.Vishwa and Raj they are very good automation people for Selenium Frameworks. After joined with them I learned many things and now I am writing automation scripts in own project. Vishwa 9003085882
    selenium training in chennai

    ReplyDelete
  20. thank for you information your blog isa excellent any problem sovle this movement
    once visit selenium free course online trainings

    ReplyDelete
  21. Hey friends, it was a great experience to learn from selenium.
    Talk to eight one two two two four one two eight six
    www.thecreatingexperts.com
    selenium training in chennai

    ReplyDelete
  22. Join them for the best selenium training in Chennai and placements.
    Call them at 8122241286.
    www.thecreatingexperts.com
    selenium training in chennai

    ReplyDelete
  23. Advanced Selenium Framework Training in Chennai by Vishwa

    Hi, Reach Mr.Vishwa for Best Selenium and Coded UI Training in Chennai with real time project assistance. This people will teach everything from the basics up to advanced level scenarios from frameworks.

    I learned from Mr.Vishwa and Raj they are very good automation people for Selenium Frameworks. After joined with them I learned many things and now I am writing automation scripts in own project. Vishwa 9003085882
    selenium training in chennai

    ReplyDelete
  24. As disussed above software testing is one of the important field in detecting the bugs. In Software testing selenium training institute in Chennai we are enabled to identify the errors with selenium course and can match the actual results with that of expected results.

    ReplyDelete
  25. Thanks for sharing this information and keep updating us. This is informatics and really useful to me.
    Selenium Training in Chennai | Selenium Training | Selenium Course in Chennai

    ReplyDelete
  26. Our development team is sharp and well-rounded and thorough process to creating android apps. Our main aim is to create apps that are innovative, engaging, and intuitive. Android Training in Chennai |
    Android Training in Sholinganganallur |
    Android Training in Tambaram |
    Android Training in Chennai |

    ReplyDelete
  27. Your Post is very useful, I am truly happy to post my note on this blog . It helped me with ocean of awareness i really appreciate it.
    control4 installer sydney

    ReplyDelete
  28. This post is really awesome and appreciate your efforts.People willing to get the indepth knowledge in getting framework such as TestNG,jenkins,Maven and POM should get properly get selenium training in chennai| best selenium training in chennai. All these training were dependent on java based training.

    ReplyDelete
  29. nice blog. Interesting topic. i planned to learn selenium Training.suggest me which is best training for selenium?????

    ReplyDelete
  30. Thanks for sharing useful information article to us keep sharing this info,
    Hi We at Colan Infotech Private Limited a
    Mobile application development company in chennai,
    is Situated in US and India, will provide you best service in
    enterprise mobile app development company .
    and Colan Infotech has a group of exceedingly dedicated, inventive and creative experts with an energy for delivering exciting , helpful and stylish Web and Mobile Applications, We work with customers in a wide variety of sectors.
    We design all of our websites and applications using the responsive web design approach. Our talented team can handle all the aspects of mobility so we are rated as best service provider in
    Mobile apps development companies in chennai.
    We solidly trust that our customers start things out and there is not a viable alternative for quality of service.
    We offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project, just as you would with your in-house team. we always desire to solicit our customer's fruitful experience with us, we are the top notch
    Mobile App Development Company in chennai
    and mobile app development companies in Bangalore. We can provide best
    mobile app development chennai .
    We can provide cutting edge technology services in
    Mobile application development in chennai.
    Reach us for mobile app development chennai or just call us for best
    mobile app developers in chennai .

    ReplyDelete
  31. Selenium Testing Real Time Hands on Training in Chennai…

    Don’t always Depend on Training Institute alone.Please aware of Best Trainers too..

    http://thecreatingexperts.com/selenium-training-in-chennai/

    If You need a Best Trainer in Selenium Testing??? Then be ready for a DEMO From the Trainer MR.Karthick
    CONTACT:8122241286

    Both Classroom/Online Training is Available!!!!!!

    ReplyDelete
  32. Selenium Testing Real Time Hands on Training in Chennai…

    Don’t always Depend on Training Institute alone.Please aware of Best Trainers too..

    http://thecreatingexperts.com/selenium-training-in-chennai/

    If You need a Best Trainer in Selenium Testing??? Then be ready for a DEMO From the Trainer MR.Karthick
    CONTACT:8122241286

    Both Classroom/Online Training is Available!!!!!!

    ReplyDelete
  33. Thanks for Sharing this blog, it is very helpful to us. A good information to learners and each and every topic is easy to understand ...... Selenium Online Training

    ReplyDelete
  34. This information is impressive; I am inspired by your post writing style & how continuously you describe this topic. Selenium Training in Chennai

    ReplyDelete
  35. This blog is really useful & it helped me out! Thank you very much for sharing this excellent publication. selenium openings in hyderabad

    ReplyDelete
  36. Great post! I am see the great contents and step by step read really nice information.I am gather this concepts and more information. It's helpful for me my friend. Also great blog here with all of the valuable information you have.
    PHP Training in Chennai

    ReplyDelete
  37. This comment has been removed by the author.

    ReplyDelete
  38. you made some good points there. I did a search on the topic and found most people will agree with your blog. Thanks for sharing..,


    Seleniium Training in Bangalore

    ReplyDelete
  39. Training by Leading Test-Automation Architects

    http://thecreatingexperts.com/selenium-training-in-chennai/

    ReplyDelete
  40. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.
    Selenium Training in Chennai

    ReplyDelete
  41. Thanks for give lot of information
    http://thecreatingexperts.com/selenium-training-in-chennai/

    ReplyDelete
  42. Thanks for sharing great information in your blog.

    Selenium training institute which provides Real Time Hands on Training…THE CREATING EXPERTS

    http://thecreatingexperts.com/selenium-training-in-chennai/


    contact-8122241286

    ReplyDelete
  43. nice blog...The leading training concern THE CREATING EXPERTS are providing SELENIUM training and here is the link

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact 8122241286

    ReplyDelete
  44. Croma Campus gives continuous selenium Training in Noida. Our selenium testing instrument course incorporates essential to cutting edge level and our selenium course is intended to get the position in great MNC organizations in India as fast as once you finish the Selenium instructional class.

    ReplyDelete
  45. THE CREATING EXPERTS is one of the leading training provider in SELENIUM they provide hands on training with real time scenario

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact +91-08122241286

    ReplyDelete
  46. The Creating Experts provides training in SELENIUM

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact +91-08122241286

    ReplyDelete
  47. The Creating Experts provides training in SELENIUM

    They provide hands on training with real time scenarios

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact +91-08122241286

    ReplyDelete
  48. The Creating Experts provides training in SELENIUM

    They provide hands on training with real time scenarios

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact +91-08122241286

    ReplyDelete
  49. nice blog...Selenium training is offered by THE CREATING EXPERTS in Chennai

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact 8122241286

    ReplyDelete
  50. SELENIUM training in Chennai by TE CREATING EXPERTS ,they provide you hands on training with real time scenarios

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact 8122241286

    ReplyDelete
  51. nice blog has been shared by you. before i read this blog i didn't have any knowledge about this but now i got some knowledge. so keep on sharing such kind of an interesting blogs.
    selenium training in chennai

    ReplyDelete
  52. selenium frameworks training by expert trainers and virtual lab support for live project click here
    Try it Yourself »

    ReplyDelete
  53. Besant Technologies offers five levels of General Pearson Vue Exam certification: Entry, Associate, Professional, Expert and Architect, the highest level of accreditation within the Person vue Career Certification program in different path. Pearson Vue Exam Center in Bangalore |
    Pearson Vue Exam Centers in Bangalore |

    ReplyDelete
  54. Thank you for sahring good information ,really i like this post, Best Selenium Training provided by "Seleniumlabs" at banglore you also find here best leasson for software testing service.Thank you

    ReplyDelete
  55. Very Nice...Contains A to Z concepts...Thanks a lot.. and looking for the best selenium training in Chennai with certification from us. we have experienced selenium experts offer selenium course training with industry exposure. Check Here https://goo.gl/VRNEXv

    ReplyDelete
  56. Online mba in India
    DEIEDU is the best online Institute in the world with high class course outline and up to date learning materials. DEIEDU is providing the online mba in india, online mba in india, Distance learning mba courses in india, Correspondence mba in India Mba from distance in India, Online Executive Mba in India, distance Mba from India, Online distance mba in India. Distance learning mba degree in India.
    Address:
    401, fourth floor sg alpha tower
    Vashundhra (up)
    Phone: 9811210788
    Email: info@deiedu.in
    Website: http://www.deiedu.in/
    online mba in india

    ReplyDelete
  57. Really, these quotes are the holistic approach toward mindfulness. In fact, all of your posts are. Proudly saying I’m getting fruitfulness out of what you write and share. Thank you so much


    Software Testing Training in Bangalore


    Software Testing Training in BTM Layout

    Software Testing Training in Marathahalli

    ReplyDelete
  58. Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  59. Those guidelines additionally worked to become a good way to
    recognize that other people online have the identical fervor like mine
    to grasp great deal more around this condition.



    Selenium Training in Chennai

    ReplyDelete
  60. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals

    Java Training in Bangalore|

    ReplyDelete
  61. Nice Article, Croma Campus is the pioneer of instruction giving the Selenium Training in Noida

    ReplyDelete
  62. Nice post. You provide useful information about the web driver. Please keep sharing like this information.
    selenium webdriver training

    ReplyDelete
  63. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts, have a nice weekend!
    <a href="http://www.traininginmarathahalli.in/selenium-training-in-bangalore/”> Selenium Training in Marathahalli </a>|

    ReplyDelete
  64. Thanks for the Information it was very helpfulSelenium

    ReplyDelete
  65. Hi,
    Thanks for sharing the great information... Its useful and helpful information…Keep Sharing.
    Thank you
    Selenium training in Hyderabad

    ReplyDelete
  66. Thanks to share.Selenium is an open source, portable, platform independent automation testing tool, built on Java, that can be used to automate the web application testing.
    Selenium training in Bangalore

    ReplyDelete
  67. This comment has been removed by the author.

    ReplyDelete
  68. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving. Most of ideas can be nice content. The people to give them a good shake to get your point and across the command.
    oracle training in chennai|| hadoop training in chennai

    ReplyDelete
  69. At Coepd - (Center of Excellence for Professional Development) Manual & Selenium testing training program is designed to give participants the skills & knowledge to gain a competitive advantage in starting/enhancing a career in software testing. We provide the attendee's software testing service which is required to ensure that tested applications meet all application requirements. Participants receive up-to-date training in multiple areas in Software Testing and a thorough understanding of real-world projects.

    http://www.coepd.com/TestingTraining.aspx

    ReplyDelete
  70. This comment has been removed by the author.

    ReplyDelete
  71. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating.
    oracle training in chennai|| hadoop training in chennai

    ReplyDelete
  72. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Regards,
    hadoop training in chennai || selenium training in chennai




    ReplyDelete
  73. Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information.
    The Best Selenium Training in Chennai Chennai | Selenium Training institutes in Chennai

    ReplyDelete
  74. The most popular destination for Hadoop Training in

    Noida
    in NOIDA is CIITNOIDA in Sector-2

    You can Master the various components of Hadoop ecosystem like Hadoop, MapReduce Architecture, Pig, Hive, HBase, Sqoop, Flume by their Senior Experts

    from Industry with good Industrial experience of handling big projects.

    You can even Get hands-on practice with live projects and ORACLE certification at CIITNOIDA.

    This Big Data Hadoop Training in Noida is best

    suited for CS & IT Engineering Students, professionals looking to gain expertise in Big Data and work for Fortune 500 Software Companies.

    Hadoop Training in Noida
    Big Data Hadoop Training in Noida

    ReplyDelete
  75. This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up selenium Online Training Bangalore

    ReplyDelete