In this blog, I am going to explain about "How to set a string to clipboard data using java?". We will learn the automated way of copy-paste concept in this blog and later in future you can…
This class is the abstract superclass of all actual implementations of the Abstract Window Toolkit. Subclasses of the Toolkit class are used to bind the various components to particular native t…
This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed. The pr…
In this blog, I am going to explain about "How to open executable (.exe) application using java?". We will learn to open .exe file using Java and later you can use this to run any .exe file…
We can send email with attachment using Java Mail API library from Gmail.
We can send email using Java Mail API library from Gmail.
Java Mail API Library: The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. This is basically used to send email in selenium a…
We can also write data to excel file using Apache POI library .
We can read data from excel file using Apache POI library .
Thread.sleep() method is used to pause the for defined time. Time is defined in milliseconds for this method.
We can also write data to excel file using Apache POI library .
We can read data from excel file using Apache POI library .
We can perform data driven in selenium webdriver using properties file.
Following tools are needed before to start the selenium Webdriver scripting:
Here is the very basic program to take screenshot of the current page using Selenium Webdriver script. Java Source code: package com.helloselenium.selenium.test; import java.io.File; import jav…
Go through the following steps to start with the Selenium Webdriver: