302 lines
17 KiB
HTML
302 lines
17 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>TestNG reports</title>
|
|
|
|
<link type="text/css" href="testng-reports.css" rel="stylesheet" />
|
|
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
|
|
<script type="text/javascript" src="testng-reports.js"></script>
|
|
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
|
<script type='text/javascript'>
|
|
google.load('visualization', '1', {packages:['table']});
|
|
google.setOnLoadCallback(drawTable);
|
|
var suiteTableInitFunctions = new Array();
|
|
var suiteTableData = new Array();
|
|
</script>
|
|
<!--
|
|
<script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
|
|
-->
|
|
</head>
|
|
|
|
<body>
|
|
<div class="top-banner-root">
|
|
<span class="top-banner-title-font">Test results</span>
|
|
<br/>
|
|
<span class="top-banner-font-1">1 suite, 1 failed test</span>
|
|
</div> <!-- top-banner-root -->
|
|
<div class="navigator-root">
|
|
<div class="navigator-suite-header">
|
|
<span>All suites</span>
|
|
<a href="#" title="Collapse/expand all the suites" class="collapse-all-link">
|
|
<img src="collapseall.gif" class="collapse-all-icon">
|
|
</img> <!-- collapse-all-icon -->
|
|
</a> <!-- collapse-all-link -->
|
|
</div> <!-- navigator-suite-header -->
|
|
<div class="suite">
|
|
<div class="rounded-window">
|
|
<div class="suite-header light-rounded-window-top">
|
|
<a href="#" panel-name="suite-Default_suite" class="navigator-link">
|
|
<span class="suite-name border-failed">Default suite</span>
|
|
</a> <!-- navigator-link -->
|
|
</div> <!-- suite-header light-rounded-window-top -->
|
|
<div class="navigator-suite-content">
|
|
<div class="suite-section-title">
|
|
<span>Info</span>
|
|
</div> <!-- suite-section-title -->
|
|
<div class="suite-section-content">
|
|
<ul>
|
|
<li>
|
|
<a href="#" panel-name="test-xml-Default_suite" class="navigator-link ">
|
|
<span>testng-customsuite.xml</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
<li>
|
|
<a href="#" panel-name="testlist-Default_suite" class="navigator-link ">
|
|
<span class="test-stats">1 test</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
<li>
|
|
<a href="#" panel-name="group-Default_suite" class="navigator-link ">
|
|
<span>0 groups</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
<li>
|
|
<a href="#" panel-name="times-Default_suite" class="navigator-link ">
|
|
<span>Times</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
<li>
|
|
<a href="#" panel-name="reporter-Default_suite" class="navigator-link ">
|
|
<span>Reporter output</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
<li>
|
|
<a href="#" panel-name="ignored-methods-Default_suite" class="navigator-link ">
|
|
<span>Ignored methods</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
<li>
|
|
<a href="#" panel-name="chronological-Default_suite" class="navigator-link ">
|
|
<span>Chronological view</span>
|
|
</a> <!-- navigator-link -->
|
|
</li>
|
|
</ul>
|
|
</div> <!-- suite-section-content -->
|
|
<div class="result-section">
|
|
<div class="suite-section-title">
|
|
<span>Results</span>
|
|
</div> <!-- suite-section-title -->
|
|
<div class="suite-section-content">
|
|
<ul>
|
|
<li>
|
|
<span class="method-stats">1 method, 1 failed, </span>
|
|
</li>
|
|
<li>
|
|
<span class="method-list-title failed">Failed methods</span>
|
|
<span class="show-or-hide-methods failed">
|
|
<a href="#" panel-name="suite-Default_suite" class="hide-methods failed suite-Default_suite"> (hide)</a> <!-- hide-methods failed suite-Default_suite -->
|
|
<a href="#" panel-name="suite-Default_suite" class="show-methods failed suite-Default_suite"> (show)</a> <!-- show-methods failed suite-Default_suite -->
|
|
</span>
|
|
<div class="method-list-content failed suite-Default_suite">
|
|
<span>
|
|
<img src="failed.png" width="3%"/>
|
|
<a href="#" panel-name="suite-Default_suite" title="TestScripts.Contacts_Count" class="method navigator-link" hash-for-method="Contactscount">Contactscount</a> <!-- method navigator-link -->
|
|
</span>
|
|
<br/>
|
|
</div> <!-- method-list-content failed suite-Default_suite -->
|
|
</li>
|
|
</ul>
|
|
</div> <!-- suite-section-content -->
|
|
</div> <!-- result-section -->
|
|
</div> <!-- navigator-suite-content -->
|
|
</div> <!-- rounded-window -->
|
|
</div> <!-- suite -->
|
|
</div> <!-- navigator-root -->
|
|
<div class="wrapper">
|
|
<div class="main-panel-root">
|
|
<div panel-name="suite-Default_suite" class="panel Default_suite">
|
|
<div class="suite-Default_suite-class-failed">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<img src="failed.png"/>
|
|
<span class="class-name">TestScripts.Contacts_Count</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
<div class="method">
|
|
<div class="method-content">
|
|
<a name="Contactscount">
|
|
</a> <!-- Contactscount -->
|
|
<span class="method-name">Contactscount</span>
|
|
<div class="stack-trace">org.openqa.selenium.NoSuchWindowException: no such window: target window already closed
|
|
from unknown error: web view not found
|
|
(Session info: chrome=118.0.5993.117)
|
|
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
|
|
System info: host: 'Shashikumar', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-87-generic', java.version: '11.0.20'
|
|
Driver info: org.openqa.selenium.chrome.ChromeDriver
|
|
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 118.0.5993.117, chrome: {chromedriverVersion: 118.0.5993.70 (e52f33f30b91..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:32873}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
|
|
Session ID: 0639143e22177aff835aa02c3e9d8f64
|
|
*** Element info: {Using=xpath, value=//input[@id='username']}
|
|
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
|
|
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
|
|
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
|
|
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
|
|
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
|
|
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
|
|
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
|
|
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
|
|
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
|
|
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
|
|
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
|
|
at TestScripts.Contacts_Count.Contactscount(Contacts_Count.java:40)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
|
|
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
|
|
at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
|
|
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
|
|
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
|
|
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
|
|
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
|
|
at org.testng.TestRunner.privateRun(TestRunner.java:648)
|
|
at org.testng.TestRunner.run(TestRunner.java:505)
|
|
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
|
|
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
|
|
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
|
|
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
|
|
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
|
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
|
|
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
|
|
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
|
|
at org.testng.TestNG.runSuites(TestNG.java:1049)
|
|
at org.testng.TestNG.run(TestNG.java:1017)
|
|
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
|
|
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
|
|
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
|
|
|
|
</div> <!-- stack-trace -->
|
|
</div> <!-- method-content -->
|
|
</div> <!-- method -->
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- suite-Default_suite-class-failed -->
|
|
</div> <!-- panel Default_suite -->
|
|
<div panel-name="test-xml-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">/tmp/testng-eclipse-413741866/testng-customsuite.xml</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
<pre>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
|
<suite name="Default suite" guice-stage="DEVELOPMENT">
|
|
<test thread-count="5" name="Default test" verbose="2">
|
|
<classes>
|
|
<class name="TestScripts.Contacts_Count"/>
|
|
</classes>
|
|
</test> <!-- Default test -->
|
|
</suite> <!-- Default suite -->
|
|
</pre>
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
<div panel-name="testlist-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">Tests for Default suite</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
<ul>
|
|
<li>
|
|
<span class="test-name">Default test (1 class)</span>
|
|
</li>
|
|
</ul>
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
<div panel-name="group-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">Groups for Default suite</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
<div panel-name="times-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">Times for Default suite</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
<div class="times-div">
|
|
<script type="text/javascript">
|
|
suiteTableInitFunctions.push('tableData_Default_suite');
|
|
function tableData_Default_suite() {
|
|
var data = new google.visualization.DataTable();
|
|
data.addColumn('number', 'Number');
|
|
data.addColumn('string', 'Method');
|
|
data.addColumn('string', 'Class');
|
|
data.addColumn('number', 'Time (ms)');
|
|
data.addRows(1);
|
|
data.setCell(0, 0, 0)
|
|
data.setCell(0, 1, 'Contactscount')
|
|
data.setCell(0, 2, 'TestScripts.Contacts_Count')
|
|
data.setCell(0, 3, 90392);
|
|
window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
|
|
return data;
|
|
}
|
|
</script>
|
|
<span class="suite-total-time">Total running time: 1 minutes</span>
|
|
<div id="times-div-Default_suite">
|
|
</div> <!-- times-div-Default_suite -->
|
|
</div> <!-- times-div -->
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
<div panel-name="reporter-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">Reporter output for Default suite</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
<div panel-name="ignored-methods-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">0 ignored methods</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
<div panel-name="chronological-Default_suite" class="panel">
|
|
<div class="main-panel-header rounded-window-top">
|
|
<span class="header-content">Methods in chronological order</span>
|
|
</div> <!-- main-panel-header rounded-window-top -->
|
|
<div class="main-panel-content rounded-window-bottom">
|
|
<div class="chronological-class">
|
|
<div class="chronological-class-name">TestScripts.Contacts_Count</div> <!-- chronological-class-name -->
|
|
<div class="configuration-suite before">
|
|
<span class="method-name">beforeSuite</span>
|
|
<span class="method-start">0 ms</span>
|
|
</div> <!-- configuration-suite before -->
|
|
<div class="configuration-method before">
|
|
<span class="method-name">beforeMethod</span>
|
|
<span class="method-start">521 ms</span>
|
|
</div> <!-- configuration-method before -->
|
|
<div class="test-method">
|
|
<img src="failed.png">
|
|
</img>
|
|
<span class="method-name">Contactscount</span>
|
|
<span class="method-start">528 ms</span>
|
|
</div> <!-- test-method -->
|
|
<div class="configuration-method after">
|
|
<span class="method-name">afterMethod([TestResult name=Contactscount status=FAILURE method=Contacts_Count.Contactscount()[pri:0, instance:...)</span>
|
|
<span class="method-start">90932 ms</span>
|
|
</div> <!-- configuration-method after -->
|
|
<div class="configuration-suite after">
|
|
<span class="method-name">afterSuite</span>
|
|
<span class="method-start">91517 ms</span>
|
|
</div> <!-- configuration-suite after -->
|
|
</div> <!-- main-panel-content rounded-window-bottom -->
|
|
</div> <!-- panel -->
|
|
</div> <!-- main-panel-root -->
|
|
</div> <!-- wrapper -->
|
|
</body>
|
|
</html>
|