Package er.selenium.io

Examples of er.selenium.io.SeleniumTestExporter


      return link;
    }
   
    public String testContents() {
      if (testPath != null && groupDir == null) {
        SeleniumTestExporter exporter = null;
        String format = context().request().stringFormValueForKey("format");
        if (format != null) {
          exporter = SeleniumImporterExporterFactory.instance().findExporterByName(format);
          if (exporter == null) {
            throw new RuntimeException("Unsupported output format specified ('" + format + "')");
          }
        } else {
          exporter = SeleniumImporterExporterFactory.instance().findExporterByName(DEFAULT_EXPORTER_NAME);
          assert(exporter != null);
        }
       
        try {
          SeleniumTest test = new SeleniumTestFileProcessor(testFile, context().request().formValueForKey("noFilters") == null ? testFilter() : null).process();
          return exporter.process(test);
        } catch (Exception e) {
          log.debug(ERXUtilities.stackTrace(e));
          throw new RuntimeException("Test export failed", e);
        }
      } else {
View Full Code Here

TOP

Related Classes of er.selenium.io.SeleniumTestExporter

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.