183 lines
11 KiB
HTML
183 lines
11 KiB
HTML
<html>
|
|
<head>
|
|
<title>TestNG: Default test</title>
|
|
<link href="../testng.css" rel="stylesheet" type="text/css" />
|
|
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
|
|
|
|
<style type="text/css">
|
|
.log { display: none;}
|
|
.stack-trace { display: none;}
|
|
</style>
|
|
<script type="text/javascript">
|
|
<!--
|
|
function flip(e) {
|
|
current = e.style.display;
|
|
if (current == 'block') {
|
|
e.style.display = 'none';
|
|
return 0;
|
|
}
|
|
else {
|
|
e.style.display = 'block';
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
function toggleBox(szDivId, elem, msg1, msg2)
|
|
{
|
|
var res = -1; if (document.getElementById) {
|
|
res = flip(document.getElementById(szDivId));
|
|
}
|
|
else if (document.all) {
|
|
// this is the way old msie versions work
|
|
res = flip(document.all[szDivId]);
|
|
}
|
|
if(elem) {
|
|
if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
|
|
}
|
|
|
|
}
|
|
|
|
function toggleAllBoxes() {
|
|
if (document.getElementsByTagName) {
|
|
d = document.getElementsByTagName('div');
|
|
for (i = 0; i < d.length; i++) {
|
|
if (d[i].className == 'log') {
|
|
flip(d[i]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// -->
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<h2 align='center'>Default test</h2><table border='1' align="center">
|
|
<tr>
|
|
<td>Tests passed/Failed/Skipped:</td><td>0/1/0</td>
|
|
</tr><tr>
|
|
<td>Started on:</td><td>Wed Oct 25 17:05:13 IST 2023</td>
|
|
</tr>
|
|
<tr><td>Total time:</td><td>90 seconds (90928 ms)</td>
|
|
</tr><tr>
|
|
<td>Included groups:</td><td></td>
|
|
</tr><tr>
|
|
<td>Excluded groups:</td><td></td>
|
|
</tr>
|
|
</table><p/>
|
|
<small><i>(Hover the method name to see the test class name)</i></small><p/>
|
|
<table width='100%' border='1' class='invocation-failed'>
|
|
<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
|
|
<tr><td><b>Test method</b></td>
|
|
<td width="30%"><b>Exception</b></td>
|
|
<td width="10%"><b>Time (seconds)</b></td>
|
|
<td><b>Instance</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td title='TestScripts.Contacts_Count.Contactscount()'><b>Contactscount</b><br>Test class: TestScripts.Contacts_Count</td>
|
|
<td><div><pre>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)
|
|
</pre></div><a href='#' onClick='toggleBox("stack-trace1119277260", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>
|
|
<div class='stack-trace' id='stack-trace1119277260'><pre>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)
|
|
</pre></div></td>
|
|
<td>90</td>
|
|
<td>TestScripts.Contacts_Count@338c99c8</td></tr>
|
|
</table><p>
|
|
</body>
|
|
</html> |