Package com.canoo.webtest.engine

Examples of com.canoo.webtest.engine.StepFailedException.addDetail()


        msg.append("In " + form + ":\n");
        msg.append(getButtonsDescription(form));
      }
    }
   
    e.addDetail("available buttons", msg.toString());
    return e;
  }

  private String getButtonsDescription(final HtmlForm _form) {
    final List buttons = new ArrayList();
View Full Code Here


        sb.append("- label \"").append(webLink.asText());
        sb.append("\" with url \"").append(webLink.getHrefAttribute());
        sb.append("\" and id \"").append(webLink.getIdAttribute());
        sb.append("\"\n");
      }
      e.addDetail("available links", sb.toString());
      throw e;
    }
    LOG.debug("Clicking on link with href: " + link.getHrefAttribute());

    return link.click();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.