How to write your first automation script using selenium web driver and chrome web driver. In this tutorial, we are going to cover the initial requirement to start automation with selenium web driver using java…
In this tutorial, we are going to set up Java for automation using selenium web driver. The basic requirement to start automation using selenium web driver with java is JDK. Let’s see step by step…
Automate a complete application by using the script or source code is called Automation testing. Now a day there is lots of automation testing tool are already available in the market. Here we are going…
Read Data from excel in Java. public static XSSFSheet readExcel(String Path, String SheetName) { try { System.out.println(Path); // Open the Excel file FileInputStream ExcelFile = new FileInputStream(Path); // Access the required test data sheet ExcelWBook = new XSSFWorkbook(ExcelFile); ExcelWSheet = ExcelWBook.getSheet(SheetName); } catch (Exception…
To perform automation with chrome browser’s tools selenium provide the ChromeOptions class in selenium lib. A class which contains the method to perform the operation like Proxy setting in the browser, enable popup, disable notification etc.…
KeyPoints for the task Create an object of Actions class. Actions action = new Actions(driver); Call the method to perform an action. action.contextClick(“Name of the element”).perform(); Task Scenario: Open browser. Load the URL “http://www.seleniumeasy.com/test/”. Right click on…
Automate drag and drop event in selenium web driver using java, To perform drag and drop operation in selenium. We need to use Actions class and its method. Key Points for the task Create an…
Automate mouseover events in selenium web driver, To perform mouseover operation in selenium web driver we will use the Actions class. Actions class in selenium. Testcase scenario Open URL “codebun.com”. Perform mouseover operation on “Automation” in the menu.…
Automate login form using multiple users in the selenium web driver Task. Data-driven automation using selenium web driver. Here is the automation example using selenium web driver where we are going to automate login form…
How to automate a simple registration page using selenium web driver with Java. It contains all the common HTML fields like Input field, Radio buttons, Checkbox, and the dropdown. Below is the scenario that we…