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();



28 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. Nice Blog, Thank you for sharing nice article. It's useful to us.

    Online Selenium Training

    ReplyDelete
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. Thanks a lot buddy for the informative updates. I really enjoyed reading your blog with thorough interest.
    seo services in lahore

    ReplyDelete
  13. 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
  14. web development lahore
    https://invictussolutions.co/

    ReplyDelete
  15. Learn Selenium Online

    https://www.h2kinfosys.com/

    ReplyDelete
  16. selenium online training

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

    ReplyDelete
  17. Selenium Online Courses, Selenium Online Classes

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

    ReplyDelete
  18. Selenium Online Courses | Selenium Online Classes

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

    ReplyDelete
  19. Selenium Testing Training Online Program

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

    ReplyDelete
  20. Selenium Testing Course Online Training in USA

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

    ReplyDelete
  21. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end. Software Testing Training in Chennai | Software Testing Training in Anna Nagar | Software Testing Training in OMR | Software Testing Training in Porur | Software Testing Training in Tambaram | Software Testing Training in Velachery

    ReplyDelete