PassionTeaCoTest.java

The following code is for the PassionTeaCoTest.java class:

import com.framework.ux.utils.chapter10.PassionTeaCoWelcomePO.WELCOME_PAGE_IMG;import com.framework.ux.utils.chapter10.PassionTeaCoWelcomePO.MENU_LINKS;import org.json.simple.JSONObject;import org.openqa,selenium.WebDriver;import org.openqa.selenium.WebElement;import org.testng.ITestContext;import org.testng.ITestResult;import org.testng.annotations.*;import org.testng.annotations.Optional;/** * @author Carl Cocchiaro * * Passion Tea Co Test Class * */public class PassionTeaCoTest {    // local vars    private PassionTeaCoWelcomePO<WebElement> welcome = null;    private static final String DATA_FILE =    "src/main/java/com/framework/ux/utils/chapter10/PassionTeaCo.json" ...

Get Selenium Framework Design in Data-Driven Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.