@Test public void testJSONFile() throws IOException, URISyntaxException { File file = new File(getClass().getResource("/actions/websymbolactions/CheckTextTestData.json").toURI()); SymbolAction obj = mapper.readValue(file, SymbolAction.class); assertTrue(obj instanceof CheckTextWebAction); CheckTextWebAction c = (CheckTextWebAction) obj; assertEquals("Lorem Ipsum", c.getValue()); }
public String getValue() { return value; }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } CheckTextWebAction(); }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } CheckTextWebAction(); @Override ExecuteResult execute(WebSiteConnector connector); String getValue(); @JsonIgnore @Transient String getValueWithVariableValues(); void setValue(String value); boolean isRegexp(); void setRegexp(boolean regexp); WebElementLocator getNode(); void setNode(WebElementLocator node); }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } CheckTextWebAction(); @Override ExecuteResult execute(WebSiteConnector connector); String getValue(); @JsonIgnore @Transient String getValueWithVariableValues(); void setValue(String value); boolean isRegexp(); void setRegexp(boolean regexp); WebElementLocator getNode(); void setNode(WebElementLocator node);  }