com.canoo.webtest.boundary
Class HtmlUnitBoundary

java.lang.Object
  extended by com.canoo.webtest.boundary.HtmlUnitBoundary

public final class HtmlUnitBoundary
extends Object

Boundary class for interacting with HtmlUnit.

Author:
Paul King, Marc Guillemot

Method Summary
static com.gargoylesoftware.htmlunit.Page tryGetPage(URL url, com.gargoylesoftware.htmlunit.WebClient webClient)
           
static com.gargoylesoftware.htmlunit.Page tryGetPageNoFail(URL url, com.gargoylesoftware.htmlunit.WebClient webClient)
           
static Object trySelectSingleNodeByXPath(String xpathStr, com.gargoylesoftware.htmlunit.Page currentResp, Step step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tryGetPage

public static com.gargoylesoftware.htmlunit.Page tryGetPage(URL url,
                                                            com.gargoylesoftware.htmlunit.WebClient webClient)

tryGetPageNoFail

public static com.gargoylesoftware.htmlunit.Page tryGetPageNoFail(URL url,
                                                                  com.gargoylesoftware.htmlunit.WebClient webClient)

trySelectSingleNodeByXPath

public static Object trySelectSingleNodeByXPath(String xpathStr,
                                                com.gargoylesoftware.htmlunit.Page currentResp,
                                                Step step)
                                         throws StepExecutionException
Throws:
StepExecutionException

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.