We need to capture some errors messages from the website we are testing. Here is our test case: 2.3 Check for validation 2 - Sign in 2.3.1: Launch hope page -http://automationpractice.com/index.php 2.2 .2: Click on link ‘Sign in’ 2.3.3 Under “Create Account” subheading, under ’Email address’ Enter email address that is already registered in text field 2.34 Click on Create an account button. 2.3.5 Capture error message ————————————————————— package com.automationpractice.AutomationPractice; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; /** * */ public class LaunchCloseApp { WebDriver driver ; @BeforeClass public void launchApp() { //instantiate Chrome Browser driver System.setProperty( "webdriver.chrome.driver" , "/Users/tester/Documents/webDrivers/chrome/chromedriver" ); driver ...