How to Click a Link by Text in Selenium WebDriver Java

JAVA

< 1 minute readHere is how to click a link by text with Selenium WebDriver in Java using the built in WebDriver helper methods or by XPath: Click link by full text using Selenium WebDriver WebElement linkByText = driver.findElement(By.linkText(“My Link”)); linkByText.click();

How to Debug ES6 in WebStorm with Babel

NodeJS

< 1 minute readHere are the steps you need to follow in order to debug ES6 code in the WebStorm IDE. After this, you’ll be able to take advantage of all debugging advantages, like setting breakpoints, moving away from console logs and faster understanding of the code of your application. Prerequisites for Debugging ES6 in WebStorm IDE  … Read more »

How to Use the DataProvider in TestNG with a JAVA Example

JAVA TestNG

2 minutes readWe are going to show how to use the DataProvider in your test cases created with the TestNG unit testing framework. DataProvider are used in order to create data-driven tests. Basically, it will help you to run the same test case, but with different data sets. Examples of DataProviders We are going to use the… Read more »

How to use the Overview, Home and Back buttons in Appium for Android

Native Device Testing

< 1 minute readUsing the Overview, Home and Back native buttons is pretty straight forward using WebDriver and Appium. Below there are the code examples for all the 3 buttons:   How to click the Back Button on Android with Selenium WebDriver and Appium public void clickBackButton(){ ((AndroidDriver)driver).pressKeyCode(AndroidKeyCode.BACK); } How to click the Overview Button on Android with… Read more »