110 likes | 142 Views
We will discuss, the introduction of cross-browser testing using the selenium web driver. Multi-browser testing in selenium webdriver with the test case makes it easy. And here we have mentioned few simple step procedure of cross-browser testing with selenium webdriver. Reference:https://www.pixelstech.net/article/1556712242-Cross-Browser-Testing-using-Selenium-WebDriver
E N D
Cross Browser Testing Using • Selenium WebDriver
Introduction • In this tutorial, we will be going through multi-browser testing and its implementation in Selenium. • Here, we will use Selenium with TestNG and apply @Parameter annotation of TestNG to parameterize the test script with diverse uses of browser. • Multi-browser testing can be conducted using Selenium Grid also. • But here, we will be doing TestNG and Selenium WebDriver only for performing multi-browser testing.
What is Cross- browser testing? • Cross-browser, testing leads to testing the application in various browsers like IE, Chrome, Safari, Firefox so that we can test our application completely. • Multi-browser testing or cross-browser testing is a kind of testing in which the application is tested with multiple supported browsers.
Why do we need Cross Browser Testing? Let go through a few reasons why we should do cross-browser testing:
Steps of Cross Browser Testing in Selenium • To implement test cases with various browsers in one system at the same time we can integrate TestNG framework with Selenium WebDriver. • testing.xml File:
Continue… • To testing.xml will map with the Test Case which will look like that
Continue… Run this xml file • So it’s a simple process steps of cross browser testing with Selenium WebDriver. • You can perform it easily on your machine now.
Cross-browser Testing is a way to test web application with various web browsers. • Selenium can support a different kind of browsers for automation. • Selenium can be applied with TestNG to do Cross-Browser Testing. • From parameters in testing.xml, we can pass a browser name, and in a test case, we can build WebDriver reference respectively.
References http://learn-automation.com/cross-browser-testing-using-selenium-webdriver/ https://www.guru99.com/cross-browser-testing-using-selenium.html https://artoftesting.com/automationTesting/multi-browser-testing-in-selenium.html https://www.pixelstech.net/article/1556712242-Cross-Browser-Testing-using-Selenium-WebDriver
info@nexsoftsys.com +1-646-971-0799 www.nexsoftsys.com