コード例 #1
0
 public static void afterFeature()
 {
     DownloadReportiumReportLink();
     Console.WriteLine("Report-Url: " + reportingClient.getReportUrl());
     driver.Close();
     driver.Quit();
 }
コード例 #2
0
        public void PerfectoCloseConnection()
        {
            driver.Close();

            driver.Quit();
            // retrieve the STR URL
            String reportLoc = reportClient.getReportUrl();

            Trace.WriteLine("Find your execution report at: " + reportLoc);
        }
コード例 #3
0
        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
        }
コード例 #4
0
        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);
        }
コード例 #5
0
        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();
        }