public static void afterFeature() { DownloadReportiumReportLink(); Console.WriteLine("Report-Url: " + reportingClient.getReportUrl()); driver.Close(); driver.Quit(); }
public void PerfectoCloseConnection() { driver.Close(); driver.Quit(); // retrieve the STR URL String reportLoc = reportClient.getReportUrl(); Trace.WriteLine("Find your execution report at: " + reportLoc); }
public void PerfectoCloseConnection() { driver.Quit(); // Retrieve the URL of the Single Test Report, can be saved to your execution summary and used to download the report at a later point String reportURL = reportiumClient.getReportUrl(); // For documentation on how to export reporting PDF, see https://github.com/PerfectoCode/Reporting-Samples String reportPdfUrl = (String)(driver.Capabilities.GetCapability("reportPdfUrl")); // For detailed documentation on how to export the Execution Summary PDF Report, the Single Test report and other attachments such as // video, images, device logs, vitals and network files - see http://developers.perfectomobile.com/display/PD/Exporting+the+Reports }
public void PerfectoCloseConnection() { // Retrieve the URL of the Single Test Report, can be saved to your execution summary and used to download the report at a later point string reportUrl = (string)(driver.Capabilities.GetCapability(WindTunnelUtils.SINGLE_TEST_REPORT_URL_CAPABILITY)); driver.Close(); driver.Quit(); // retrieve the STR URL String reportLoc = reportClient.getReportUrl(); Trace.WriteLine("Find your execution report at: " + reportLoc); }
public static void tearDown() { //retrieve the test report try { driver.Close(); var url = reportiumClient.getReportUrl(); Console.WriteLine(url); //Optional open browser after test finished: System.Diagnostics.Process.Start(url.ToString()); } catch (Exception ex) { Console.WriteLine(ex.StackTrace); } //Close connection and ends the test driver.Quit(); }