-
Clicking Check Box & Radio buttons
In all the example we have tried in the tutorial so far, we have not performed any action on “Checkbox” or “Radio Buttons”, Well in this tutorial we’ll see them all. Ideally “Checkbox” or “Radio Buttons” can be identified by simple “ID attributes”. But while doing actual automation that’s not the only thing we want.…
-
Different operations or commands used on the WebElement
Let’s start with the basic question. What is WebElement? In a simple language WebElement is “Value” enclosed in HTML tags. Eg: for <p> HTML paragraph. </p> The webelement is everything within <P>… </P>. In Selenium We are using “findElement” or “findElements” command to find WebElement and perform an action on them. Below is the syntax: WebElement element = driver.findElement(By.id(“Username“)); This WebElement can…