Package com.canoo.webtest.ant

Examples of com.canoo.webtest.ant.WebtestTask


  private Throwable fException;
 
  public RootStepResult(final TestStepSequence step)
  {
    super(step);
    final WebtestTask webtest = step.getContext().getWebtest();
    fWebtestName = webtest.getName();
    fWebtestDescription = webtest.getDescription();
    fWebtestLocation = webtest.getLocation();
    fConfiguration = step.getContext().getConfig();
  }
View Full Code Here


        appletPluginArguments.setAppletTag(extractAppletParameter(currentResponse.getWebResponse().getRequestUrl(), appletNode));
        return appletPluginArguments;
    }

    AppletPluginArguments createAppletPluginArguments() {
        final WebtestTask webtest = getContext().getWebtest();
        final AppletPluginArguments appletPluginArguments = new AppletPluginArguments();

        final StringBuffer sb = new StringBuffer(webtest.getName());
        sb.append(getDescription(" - ", ""));
        appletPluginArguments.setBaseWindowName(sb.toString());

        appletPluginArguments.setSaveResponse(webtest.getConfig().isSaveResponse());
        appletPluginArguments.setSaveDirectory(webtest.getConfig().getWebTestResultDir());
        appletPluginArguments.setOutputFile(createTempFile(".output"));
        appletPluginArguments.setScenarioLocation(convertPathToURL(fScenarioLocationPath));
        appletPluginArguments.setScenario(fScenario);
        for (Iterator iterator = getParameters(); iterator.hasNext();) {
            appletPluginArguments.addArgument((Parameter) iterator.next());
View Full Code Here

TOP

Related Classes of com.canoo.webtest.ant.WebtestTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.