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
Exceptionpublic final void setPropertyValue(String testStep, String property, String value) throws Exception
Exceptionpublic final String getXml(Node node) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static void registerJdbcDriver(String name)
Copyright © 2019. All Rights Reserved.