- Mozilla Firefox
- Google Chrome
- Internet Explorer
- Safari
- Opera
Reason behind executing Selenium Automation scripts on different browsers:
As a software tester, we generally test the applications on different browsers, to check whether the application under test is working fine in all the supported browsers. All the supported browsers will be specified by the Clients / Owners / Business , based on the market usage. But in some cases, business wants their application to be executed in all the popular browsers in the market. In this case, we test the application under test on all the popular browsers like Firefox, Chrome, Internet Explorer, Safari and Opera.
As automation testing's main purpose is to automate the repeated manual tests, in order to reduce the testing time. Selenium is one of such tools, which is used to automate the manual tests and also can execute all the automated tests on all the popular browsers like Firefox, Chrome, Internet Explorer, Safari and Opera. Hence the reason behind, why we need to execute Selenium Automation scripts on different browsers, is to test whether the application under test is working fine in all the supported browsers.
Executing Selenium 2 automation scripts on different browsers
But there is a different way or approach for executing the Selenium automation scripts on different browsers. Selenium WebDriver and Selenium RC can execute the automation scripts on different browsers.
I am skipping Selenium RC, as it is outdated. And coming to Selenium WebDriver, it uses respective native drivers for executing the automation scripts directly on different browsers and there by removing the need of Selenium RC Server as a mediator between automation code & browser.
Go through the below posts, to find out how Selenium WebDriver executes the automation scripts on different browsers:
- Firefox Browser - Executing Selenium 2 Automation Scripts on Firefox Browser
- Chrome Browser - Executing Selenium 2 Automation Scripts on Chrome Browser
- Internet Explorer Browser - Executing Selenium 2 Automation Scripts on Internet Explorer Browser
- Safari Browser - Executing Selenium 2 Automation Scripts on Safari Browser
- Opera Browser - Executing Selenium 2 Automation Scripts on Opera Browser
Conclusion
Selenium WebDriver automation scripts can be executed on different browsers like Firefox, Chrome, Internet Explorer, Safari and Opera using the native drivers concept.
No comments:
Post a Comment