com.pushtotest.testmaker.XSTest.client
Class TestGenForWeb

java.lang.Object
  extended by com.pushtotest.testmaker.XSTest.client.TestGenForWeb

public class TestGenForWeb
extends java.lang.Object


Constructor Summary
TestGenForWeb()
           
 
Method Summary
static com.spike.tg4w.common.file.Actions getActions(java.lang.String file)
          Depricated and no longer used since TestMaker 5.1
 java.lang.String normalizeXpath(java.lang.String xPath)
          Used to normalize the XPath-like expressions
 void runActionsHTML(com.spike.tg4w.common.file.Actions fullActions)
          Operate the TestGen4Web recorded unit test
 void runTestGen4WebInterpreter(java.lang.String testfilename, java.lang.String debuglevel, java.lang.String debugdir, long thinktime, java.lang.String datasetmap)
          Use the TestGen4Web HTMLUnit-Interpreter to run a test
 void test(java.lang.String file)
          Depricated and no longer used since TestMaker 5.1
static boolean toJython(java.lang.String tg4wSource, java.lang.String jythonFile)
          Transform TestGen4Web recorded unit test into a Jython unit test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestGenForWeb

public TestGenForWeb()
Method Detail

runTestGen4WebInterpreter

public void runTestGen4WebInterpreter(java.lang.String testfilename,
                                      java.lang.String debuglevel,
                                      java.lang.String debugdir,
                                      long thinktime,
                                      java.lang.String datasetmap)
Use the TestGen4Web HTMLUnit-Interpreter to run a test

Parameters:
Test - file name
Debug - level: 'ERROR', 'WARNING', 'INFO', 'DEBUG', 'CONSOLE', 'CRAZY'
Debug - output directory
thinktime - = Time between each step (should be -1 by default)
Comma - separated value (CSV) file and expression to provide operational data at runtime

getActions

public static com.spike.tg4w.common.file.Actions getActions(java.lang.String file)
                                                     throws java.lang.Exception
Depricated and no longer used since TestMaker 5.1

Throws:
java.lang.Exception

test

public void test(java.lang.String file)
          throws java.lang.Exception
Depricated and no longer used since TestMaker 5.1

Throws:
java.lang.Exception

runActionsHTML

public void runActionsHTML(com.spike.tg4w.common.file.Actions fullActions)
                    throws java.lang.Exception
Operate the TestGen4Web recorded unit test

Throws:
java.lang.Exception

normalizeXpath

public java.lang.String normalizeXpath(java.lang.String xPath)
Used to normalize the XPath-like expressions


toJython

public static boolean toJython(java.lang.String tg4wSource,
                               java.lang.String jythonFile)
Transform TestGen4Web recorded unit test into a Jython unit test