INNER CODE UNIT · Java

addTestState

AppiumTestDistribution/AppiumTestDistribution · src/main/java/com/context/TestExecutionContext.java:26

    public void addTestState(String key, Object details) {
        testExecutionState.put(key, details);
    }

    public Object getTestState(String key) {
        return testExecutionState.get(key);
    }

    public String getTestStateAsString(String key) {
        return (String) testExecutionState.get(key);
    }

    public HashMap<String, Object> getAllTestState() {
        return testExecutionState;
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…