October 30, 2015

Run selenium tests in Chrome and IE browser

How to run the selenium test scripts in Chrome/IE browser ?

To run the selenium test cases in Chrome/IE browser is necessary and need of today's web world as Chrome being the one of the best and most widely used web browser.

Selenium by default supports only Mozilla Firefox . 

To run your tests in Chrome browser please do the following set-up.

1. Download chrome browser related jar file from here.

2. Set the System configuration by adding the following code.

System.setProperty("webdriver.chrome.driver", "Path to chrome related jar file downloaded in step 1");
WebDriver driver = new ChromeDriver();

To run the test in Internet explorer.

1. Download IE browser related jar file from here.

2. Set the System configuration by adding the following code.

System.setProperty("webdriver.ie.driver", "C:\\Users\\ajain5\\Downloads\\IEDriverServer.exe");
WebDriver driver = new InternetExplorerDriver();



45 comments:

  1. Thanks for sharing this information.It was very nice blog to learn about Selenium

    ReplyDelete
  2. Thanks for sharing this information, it helped me a lot in finding valuable resources for my career
    SEO Training in Chennai

    ReplyDelete
  3. Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.
    Regards,
    Camellia
    SAP Training in Chennai

    ReplyDelete

  4. 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

    ReplyDelete
  5. Interest to learn Selenium Online Training by Real Time Software Testing Professional Trainer having 10+ Years of Expert.
    Selenium Training in Hyderabad

    ReplyDelete
  6. Nice Blog, Thank you for sharing nice article. It's useful to us.

    Online Selenium Training

    ReplyDelete
  7. ERPTREE is a leading oracle fuison HCM Training Institute. we offer this course through online we have great experience in succeeding students through online courses. we can calculate our performance through their honest comments in our sites in supporting our services. we have referral program so candidates can earn money through referral. you can share your live xperience with other can generate you some money


    Oracle Fusion HCM Training

    ReplyDelete
  8. really informative post you have been posted. keep on sharing such kind of useful posts. thank you for this useful blog.
    selenium training in chennai

    ReplyDelete
  9. you have shared really a nice article. it will be really helpful to the peoples who are all learning this technology. thank you for sharing this blog. keep on sharing this kind of interesting blogs.
    android training in chennai

    ReplyDelete
  10. Thank you so much for sharing this worth able content with us. The concept taken here will be useful for my future programs and i will surely implement them in my study. Keep blogging article like this.

    selenium training in bangalore|

    ReplyDelete
  11. Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks.

    Hadoop online Training \ Informatica Online Training \ ETL Testing Online Training

    ReplyDelete

  12. Thanks for the useful information of software testing courses, give more updates on software testing development, First time I visit your blog really nice, I bookmark your blog here after a daily visit. Learn software testing course in Chennai

    ReplyDelete
  13. I have read your blog and i got a very useful and knowledgeable information from your blog.You have done a great job .Please visit our page Selenium Training in Chennai | Selenium Training institutes in Chennai

    ReplyDelete
  14. Thanks a lot buddy for the informative updates. I really enjoyed reading your blog with thorough interest.
    seo services in lahore

    ReplyDelete

  15. نقل عفش الكويت نقل عفش
    فني صحي الكويت فني صحي

    ReplyDelete



  16. افضل خدمات نقل العفش فى الكويت مقدمة من افضل شركة الرشيد لجميع خدمات النقل
    شركة نقل عفش الكويت


    فني صحي





    ReplyDelete
  17. Great Post,really it was very helpful for us.
    Thanks a lot for sharing!
    I found this blog to be very useful!!
    Software testing training in Bangalore

    ReplyDelete
  18. Great Article. Thank you for sharing! Really an awesome post for every one.

    IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

    Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
    Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

    ReplyDelete
  19. web development lahore
    https://invictussolutions.co/

    ReplyDelete
  20. Learn Selenium Online

    https://www.h2kinfosys.com/

    ReplyDelete
  21. selenium online training

    https://www.scoop.it/topic/business-analyst-course/p/4113647246/2019/12/18/selenium-online-training-with-live-projects

    ReplyDelete
  22. Selenium Online Courses, Selenium Online Classes

    https://mix.com/!cOVNFRIo:selenium-online-training-%7C-selenium-webdriver-training-online

    ReplyDelete
  23. Selenium Online Courses | Selenium Online Classes

    http://advpr.net/read-blog/3271

    ReplyDelete
  24. Selenium Testing Training Online Program

    https://www.plurk.com/p/nm5j4i

    ReplyDelete
  25. Selenium Testing Course Online Training in USA

    https://list.ly/list/3iw7-selenium-testing-course-online-training-in-usa

    ReplyDelete