public class GroovyUtils extends Object
Modifier and Type | Field and Description |
---|---|
protected PropertyExpansionContext |
context |
Constructor and Description |
---|
GroovyUtils(PropertyExpansionContext context) |
Modifier and Type | Method and Description |
---|---|
String |
expand(String property) |
static String |
extractErrorLineNumber(Throwable t)
extracts error line number from groovy stact trace
|
String |
getProjectPath() |
String |
getXml(Node node) |
XmlHolder |
getXmlHolder(String xmlPropertyOrString) |
static void |
registerJdbcDriver(String name) |
void |
setPropertyValue(String testStep,
String property,
String value) |
protected final PropertyExpansionContext context
public GroovyUtils(PropertyExpansionContext context)
public final String getProjectPath()
public final XmlHolder getXmlHolder(String xmlPropertyOrString) throws Exception
Exception
public final void setPropertyValue(String testStep, String property, String value) throws Exception
Exception
public final String getXml(Node node) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static void registerJdbcDriver(String name)
Copyright © 2019. All Rights Reserved.