commit seventh

This commit is contained in:
aissel 2023-10-26 11:56:37 +05:30
parent fd5b27e8f4
commit ac40f88f00
12 changed files with 495 additions and 105 deletions

View File

@ -46,7 +46,7 @@
<ul id='nav-mobile' class='right hide-on-med-and-down nav-right'> <ul id='nav-mobile' class='right hide-on-med-and-down nav-right'>
<li> <li>
<a href='#!'> <a href='#!'>
<span class='label suite-start-time blue darken-3'>Oct 25, 2023 10:06:05 AM</span> <span class='label suite-start-time blue darken-3'>Oct 26, 2023 09:34:59 AM</span>
</a> </a>
</li> </li>
<li> <li>
@ -158,14 +158,14 @@
<li class='test displayed active pass' status='pass' bdd='false' test-id='1'> <li class='test displayed active pass' status='pass' bdd='false' test-id='1'>
<div class='test-heading'> <div class='test-heading'>
<span class='test-name'>Contacts_Count</span> <span class='test-name'>Contacts_Count</span>
<span class='test-time'>Oct 25, 2023 10:06:06 AM</span> <span class='test-time'>Oct 26, 2023 09:34:59 AM</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Oct 25, 2023 10:06:06 AM</span> <span class='label start-time'>Oct 26, 2023 09:34:59 AM</span>
<span class='label end-time'>Oct 25, 2023 10:10:59 AM</span> <span class='label end-time'>Oct 26, 2023 09:40:20 AM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 4m 53s+91ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 5m 20s+882ms</span>
</div> </div>
<div class='test-steps'> <div class='test-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
@ -179,7 +179,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>10:10:59 AM</td> <td class='timestamp'>9:40:20 AM</td>
<td class='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
@ -192,14 +192,14 @@
<li class='test displayed active pass' status='pass' bdd='false' test-id='2'> <li class='test displayed active pass' status='pass' bdd='false' test-id='2'>
<div class='test-heading'> <div class='test-heading'>
<span class='test-name'>Track_Medinsight_Count</span> <span class='test-name'>Track_Medinsight_Count</span>
<span class='test-time'>Oct 25, 2023 10:10:59 AM</span> <span class='test-time'>Oct 26, 2023 09:40:20 AM</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Oct 25, 2023 10:10:59 AM</span> <span class='label start-time'>Oct 26, 2023 09:40:20 AM</span>
<span class='label end-time'>Oct 25, 2023 10:15:52 AM</span> <span class='label end-time'>Oct 26, 2023 09:45:15 AM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 4m 53s+11ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 4m 54s+54ms</span>
</div> </div>
<div class='test-steps'> <div class='test-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
@ -213,7 +213,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>10:15:52 AM</td> <td class='timestamp'>9:45:15 AM</td>
<td class='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
@ -226,14 +226,14 @@
<li class='test displayed active pass' status='pass' bdd='false' test-id='3'> <li class='test displayed active pass' status='pass' bdd='false' test-id='3'>
<div class='test-heading'> <div class='test-heading'>
<span class='test-name'>Track_Medinsght_Export</span> <span class='test-name'>Track_Medinsght_Export</span>
<span class='test-time'>Oct 25, 2023 10:15:52 AM</span> <span class='test-time'>Oct 26, 2023 09:45:15 AM</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Oct 25, 2023 10:15:52 AM</span> <span class='label start-time'>Oct 26, 2023 09:45:15 AM</span>
<span class='label end-time'>Oct 25, 2023 10:20:53 AM</span> <span class='label end-time'>Oct 26, 2023 09:50:10 AM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 5m 0s+829ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 4m 55s+337ms</span>
</div> </div>
<div class='test-steps'> <div class='test-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
@ -247,7 +247,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>10:20:53 AM</td> <td class='timestamp'>9:50:10 AM</td>
<td class='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
@ -260,14 +260,14 @@
<li class='test displayed active pass' status='pass' bdd='false' test-id='4'> <li class='test displayed active pass' status='pass' bdd='false' test-id='4'>
<div class='test-heading'> <div class='test-heading'>
<span class='test-name'>Track_Interaction_Count</span> <span class='test-name'>Track_Interaction_Count</span>
<span class='test-time'>Oct 25, 2023 10:20:53 AM</span> <span class='test-time'>Oct 26, 2023 09:50:10 AM</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Oct 25, 2023 10:20:53 AM</span> <span class='label start-time'>Oct 26, 2023 09:50:10 AM</span>
<span class='label end-time'>Oct 25, 2023 10:25:02 AM</span> <span class='label end-time'>Oct 26, 2023 09:54:53 AM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 4m 9s+261ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 4m 43s+138ms</span>
</div> </div>
<div class='test-steps'> <div class='test-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
@ -281,7 +281,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>10:25:02 AM</td> <td class='timestamp'>9:54:53 AM</td>
<td class='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
@ -294,14 +294,14 @@
<li class='test displayed active pass' status='pass' bdd='false' test-id='5'> <li class='test displayed active pass' status='pass' bdd='false' test-id='5'>
<div class='test-heading'> <div class='test-heading'>
<span class='test-name'>Track_Interaction_Export</span> <span class='test-name'>Track_Interaction_Export</span>
<span class='test-time'>Oct 25, 2023 10:25:02 AM</span> <span class='test-time'>Oct 26, 2023 09:54:53 AM</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Oct 25, 2023 10:25:02 AM</span> <span class='label start-time'>Oct 26, 2023 09:54:53 AM</span>
<span class='label end-time'>Oct 25, 2023 10:29:55 AM</span> <span class='label end-time'>Oct 26, 2023 10:00:00 AM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 4m 52s+911ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 5m 6s+492ms</span>
</div> </div>
<div class='test-steps'> <div class='test-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
@ -315,7 +315,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>10:29:55 AM</td> <td class='timestamp'>10:00:00 AM</td>
<td class='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
@ -328,14 +328,14 @@
<li class='test displayed active pass' status='pass' bdd='false' test-id='6'> <li class='test displayed active pass' status='pass' bdd='false' test-id='6'>
<div class='test-heading'> <div class='test-heading'>
<span class='test-name'>Discover_Count</span> <span class='test-name'>Discover_Count</span>
<span class='test-time'>Oct 25, 2023 10:29:55 AM</span> <span class='test-time'>Oct 26, 2023 10:00:00 AM</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Oct 25, 2023 10:29:55 AM</span> <span class='label start-time'>Oct 26, 2023 10:00:00 AM</span>
<span class='label end-time'>Oct 25, 2023 10:34:09 AM</span> <span class='label end-time'>Oct 26, 2023 10:05:13 AM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 4m 13s+231ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 5m 13s+696ms</span>
</div> </div>
<div class='test-steps'> <div class='test-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
@ -349,7 +349,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>10:34:09 AM</td> <td class='timestamp'>10:05:13 AM</td>
<td class='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
@ -404,19 +404,19 @@
<div class='col s2'> <div class='col s2'>
<div class='card-panel r'> <div class='card-panel r'>
Start Start
<div class='panel-lead'>Oct 25, 2023 10:06:05 AM</div> <div class='panel-lead'>Oct 26, 2023 09:34:59 AM</div>
</div> </div>
</div> </div>
<div class='col s2'> <div class='col s2'>
<div class='card-panel r'> <div class='card-panel r'>
End End
<div class='panel-lead'>Oct 25, 2023 10:34:09 AM</div> <div class='panel-lead'>Oct 26, 2023 10:05:13 AM</div>
</div> </div>
</div> </div>
<div class='col s2'> <div class='col s2'>
<div class='card-panel r'> <div class='card-panel r'>
Time Taken Time Taken
<div class='panel-lead'>0h 28m 3s+139ms</div> <div class='panel-lead'>0h 30m 14s+402ms</div>
</div> </div>
</div> </div>
<div class='col s4'> <div class='col s4'>

View File

@ -76,13 +76,15 @@
<version>3.4</version> <version>3.4</version>
</dependency> </dependency>
<!--
https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
<dependency> <dependency>
<groupId>io.github.bonigarcia</groupId> <groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId> <artifactId>webdrivermanager</artifactId>
<version>5.5.3</version> <version>5.5.3</version>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.sun.mail</groupId> <groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId> <artifactId>javax.mail</artifactId>

View File

@ -55,11 +55,11 @@ function toggleAllBoxes() {
<body> <body>
<h2 align='center'>Default test</h2><table border='1' align="center"> <h2 align='center'>Default test</h2><table border='1' align="center">
<tr> <tr>
<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td> <td>Tests passed/Failed/Skipped:</td><td>0/1/0</td>
</tr><tr> </tr><tr>
<td>Started on:</td><td>Wed Oct 25 09:44:52 IST 2023</td> <td>Started on:</td><td>Wed Oct 25 17:05:13 IST 2023</td>
</tr> </tr>
<tr><td>Total time:</td><td>659 seconds (659989 ms)</td> <tr><td>Total time:</td><td>90 seconds (90928 ms)</td>
</tr><tr> </tr><tr>
<td>Included groups:</td><td></td> <td>Included groups:</td><td></td>
</tr><tr> </tr><tr>
@ -67,8 +67,8 @@ function toggleAllBoxes() {
</tr> </tr>
</table><p/> </table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/> <small><i>(Hover the method name to see the test class name)</i></small><p/>
<table width='100%' border='1' class='invocation-passed'> <table width='100%' border='1' class='invocation-failed'>
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> <tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
<tr><td><b>Test method</b></td> <tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td> <td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td> <td width="10%"><b>Time (seconds)</b></td>
@ -76,9 +76,108 @@ function toggleAllBoxes() {
</tr> </tr>
<tr> <tr>
<td title='TestScripts.Contacts_Count.Contactscount()'><b>Contactscount</b><br>Test class: TestScripts.Contacts_Count</td> <td title='TestScripts.Contacts_Count.Contactscount()'><b>Contactscount</b><br>Test class: TestScripts.Contacts_Count</td>
<td></td> <td><div><pre>org.openqa.selenium.NoSuchWindowException: no such window: target window already closed
<td>659</td> from unknown error: web view not found
<td>TestScripts.Contacts_Count@58ce9668</td></tr> (Session info: chrome=118.0.5993.117)
Build info: version: &apos;3.141.59&apos;, revision: &apos;e82be7d358&apos;, time: &apos;2018-11-14T08:17:03&apos;
System info: host: &apos;Shashikumar&apos;, ip: &apos;127.0.1.1&apos;, os.name: &apos;Linux&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;5.15.0-87-generic&apos;, java.version: &apos;11.0.20&apos;
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=&apos;username&apos;]}
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: &apos;3.141.59&apos;, revision: &apos;e82be7d358&apos;, time: &apos;2018-11-14T08:17:03&apos;
System info: host: &apos;Shashikumar&apos;, ip: &apos;127.0.1.1&apos;, os.name: &apos;Linux&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;5.15.0-87-generic&apos;, java.version: &apos;11.0.20&apos;
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=&apos;username&apos;]}
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> </table><p>
</body> </body>
</html> </html>

View File

@ -1,5 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter --> <!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite ignored="0" hostname="Shashikumar" failures="0" tests="1" name="Default test" time="659.989" errors="0" timestamp="25 Oct 2023 04:25:52 GMT"> <testsuite ignored="0" hostname="Shashikumar" failures="1" tests="1" name="Default test" time="90.928" errors="0" timestamp="25 Oct 2023 11:36:44 GMT">
<testcase classname="TestScripts.Contacts_Count" name="Contactscount" time="659.537"/> <testcase classname="TestScripts.Contacts_Count" name="Contactscount" time="90.392">
<failure type="org.openqa.selenium.NoSuchWindowException" message="no such window: target window already closed
from unknown error: web view not found
(Session info: chrome=118.0.5993.117)
Build info: version: &amp;apos;3.141.59&amp;apos;, revision: &amp;apos;e82be7d358&amp;apos;, time: &amp;apos;2018-11-14T08:17:03&amp;apos;
System info: host: &amp;apos;Shashikumar&amp;apos;, ip: &amp;apos;127.0.1.1&amp;apos;, os.name: &amp;apos;Linux&amp;apos;, os.arch: &amp;apos;amd64&amp;apos;, os.version: &amp;apos;5.15.0-87-generic&amp;apos;, java.version: &amp;apos;11.0.20&amp;apos;
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=&amp;apos;username&amp;apos;]}">
<![CDATA[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)
]]>
</failure>
</testcase> <!-- Contactscount -->
</testsuite> <!-- Default test --> </testsuite> <!-- Default test -->

View File

@ -9,10 +9,59 @@
<table> <table>
<tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr> <tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr>
<tr><th colspan="7">Default suite</th></tr> <tr><th colspan="7">Default suite</th></tr>
<tr><td><a href="#t0">Default test</a></td><td class="num">1</td><td class="num">0</td><td class="num">0</td><td class="num">659,989</td><td></td><td></td></tr> <tr><td><a href="#t0">Default test</a></td><td class="num">0</td><td class="num">0</td><td class="num attn">1</td><td class="num">90,928</td><td></td><td></td></tr>
</table> </table>
<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test &#8212; passed</th></tr><tr class="passedeven"><td rowspan="1">TestScripts.Contacts_Count</td><td><a href="#m0">Contactscount</a></td><td rowspan="1">1698207292890</td><td rowspan="1">659537</td></tr></tbody> <table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test &#8212; failed</th></tr><tr class="failedeven"><td rowspan="1">TestScripts.Contacts_Count</td><td><a href="#m0">Contactscount</a></td><td rowspan="1">1698233713202</td><td rowspan="1">90392</td></tr></tbody>
</table> </table>
<h2>Default test</h2><h3 id="m0">TestScripts.Contacts_Count#Contactscount</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p> <h2>Default test</h2><h3 id="m0">TestScripts.Contacts_Count#Contactscount</h3><table class="result"><tr><th>Exception</th></tr><tr><td><div class="stacktrace">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: &apos;3.141.59&apos;, revision: &apos;e82be7d358&apos;, time: &apos;2018-11-14T08:17:03&apos;
System info: host: &apos;Shashikumar&apos;, ip: &apos;127.0.1.1&apos;, os.name: &apos;Linux&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;5.15.0-87-generic&apos;, java.version: &apos;11.0.20&apos;
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=&apos;username&apos;]}
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></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
</body> </body>
</html> </html>

View File

@ -24,7 +24,7 @@
<div class="top-banner-root"> <div class="top-banner-root">
<span class="top-banner-title-font">Test results</span> <span class="top-banner-title-font">Test results</span>
<br/> <br/>
<span class="top-banner-font-1">1 suite</span> <span class="top-banner-font-1">1 suite, 1 failed test</span>
</div> <!-- top-banner-root --> </div> <!-- top-banner-root -->
<div class="navigator-root"> <div class="navigator-root">
<div class="navigator-suite-header"> <div class="navigator-suite-header">
@ -38,7 +38,7 @@
<div class="rounded-window"> <div class="rounded-window">
<div class="suite-header light-rounded-window-top"> <div class="suite-header light-rounded-window-top">
<a href="#" panel-name="suite-Default_suite" class="navigator-link"> <a href="#" panel-name="suite-Default_suite" class="navigator-link">
<span class="suite-name border-passed">Default suite</span> <span class="suite-name border-failed">Default suite</span>
</a> <!-- navigator-link --> </a> <!-- navigator-link -->
</div> <!-- suite-header light-rounded-window-top --> </div> <!-- suite-header light-rounded-window-top -->
<div class="navigator-suite-content"> <div class="navigator-suite-content">
@ -91,21 +91,21 @@
<div class="suite-section-content"> <div class="suite-section-content">
<ul> <ul>
<li> <li>
<span class="method-stats">1 method, 1 passed</span> <span class="method-stats">1 method, 1 failed, </span>
</li> </li>
<li> <li>
<span class="method-list-title passed">Passed methods</span> <span class="method-list-title failed">Failed methods</span>
<span class="show-or-hide-methods passed"> <span class="show-or-hide-methods failed">
<a href="#" panel-name="suite-Default_suite" class="hide-methods passed suite-Default_suite"> (hide)</a> <!-- hide-methods passed suite-Default_suite --> <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 passed suite-Default_suite"> (show)</a> <!-- show-methods passed 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> </span>
<div class="method-list-content passed suite-Default_suite"> <div class="method-list-content failed suite-Default_suite">
<span> <span>
<img src="passed.png" width="3%"/> <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 --> <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> </span>
<br/> <br/>
</div> <!-- method-list-content passed suite-Default_suite --> </div> <!-- method-list-content failed suite-Default_suite -->
</li> </li>
</ul> </ul>
</div> <!-- suite-section-content --> </div> <!-- suite-section-content -->
@ -117,9 +117,9 @@
<div class="wrapper"> <div class="wrapper">
<div class="main-panel-root"> <div class="main-panel-root">
<div panel-name="suite-Default_suite" class="panel Default_suite"> <div panel-name="suite-Default_suite" class="panel Default_suite">
<div class="suite-Default_suite-class-passed"> <div class="suite-Default_suite-class-failed">
<div class="main-panel-header rounded-window-top"> <div class="main-panel-header rounded-window-top">
<img src="passed.png"/> <img src="failed.png"/>
<span class="class-name">TestScripts.Contacts_Count</span> <span class="class-name">TestScripts.Contacts_Count</span>
</div> <!-- main-panel-header rounded-window-top --> </div> <!-- main-panel-header rounded-window-top -->
<div class="main-panel-content rounded-window-bottom"> <div class="main-panel-content rounded-window-bottom">
@ -128,14 +128,65 @@
<a name="Contactscount"> <a name="Contactscount">
</a> <!-- Contactscount --> </a> <!-- Contactscount -->
<span class="method-name">Contactscount</span> <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: &apos;3.141.59&apos;, revision: &apos;e82be7d358&apos;, time: &apos;2018-11-14T08:17:03&apos;
System info: host: &apos;Shashikumar&apos;, ip: &apos;127.0.1.1&apos;, os.name: &apos;Linux&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;5.15.0-87-generic&apos;, java.version: &apos;11.0.20&apos;
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=&apos;username&apos;]}
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-content -->
</div> <!-- method --> </div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed --> </div> <!-- suite-Default_suite-class-failed -->
</div> <!-- panel Default_suite --> </div> <!-- panel Default_suite -->
<div panel-name="test-xml-Default_suite" class="panel"> <div panel-name="test-xml-Default_suite" class="panel">
<div class="main-panel-header rounded-window-top"> <div class="main-panel-header rounded-window-top">
<span class="header-content">/tmp/testng-eclipse--1344557327/testng-customsuite.xml</span> <span class="header-content">/tmp/testng-eclipse-413741866/testng-customsuite.xml</span>
</div> <!-- main-panel-header rounded-window-top --> </div> <!-- main-panel-header rounded-window-top -->
<div class="main-panel-content rounded-window-bottom"> <div class="main-panel-content rounded-window-bottom">
<pre> <pre>
@ -188,12 +239,12 @@ data.addRows(1);
data.setCell(0, 0, 0) data.setCell(0, 0, 0)
data.setCell(0, 1, 'Contactscount') data.setCell(0, 1, 'Contactscount')
data.setCell(0, 2, 'TestScripts.Contacts_Count') data.setCell(0, 2, 'TestScripts.Contacts_Count')
data.setCell(0, 3, 659537); data.setCell(0, 3, 90392);
window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'} window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
return data; return data;
} }
</script> </script>
<span class="suite-total-time">Total running time: 10 minutes</span> <span class="suite-total-time">Total running time: 1 minutes</span>
<div id="times-div-Default_suite"> <div id="times-div-Default_suite">
</div> <!-- times-div-Default_suite --> </div> <!-- times-div-Default_suite -->
</div> <!-- times-div --> </div> <!-- times-div -->
@ -226,19 +277,21 @@ return data;
</div> <!-- configuration-suite before --> </div> <!-- configuration-suite before -->
<div class="configuration-method before"> <div class="configuration-method before">
<span class="method-name">beforeMethod</span> <span class="method-name">beforeMethod</span>
<span class="method-start">220 ms</span> <span class="method-start">521 ms</span>
</div> <!-- configuration-method before --> </div> <!-- configuration-method before -->
<div class="test-method"> <div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">Contactscount</span> <span class="method-name">Contactscount</span>
<span class="method-start">226 ms</span> <span class="method-start">528 ms</span>
</div> <!-- test-method --> </div> <!-- test-method -->
<div class="configuration-method after"> <div class="configuration-method after">
<span class="method-name">afterMethod([TestResult name=Contactscount status=SUCCESS method=Contacts_Count.Contactscount()[pri:0, instance:...)</span> <span class="method-name">afterMethod([TestResult name=Contactscount status=FAILURE method=Contacts_Count.Contactscount()[pri:0, instance:...)</span>
<span class="method-start">659765 ms</span> <span class="method-start">90932 ms</span>
</div> <!-- configuration-method after --> </div> <!-- configuration-method after -->
<div class="configuration-suite after"> <div class="configuration-suite after">
<span class="method-name">afterSuite</span> <span class="method-name">afterSuite</span>
<span class="method-start">660218 ms</span> <span class="method-start">91517 ms</span>
</div> <!-- configuration-suite after --> </div> <!-- configuration-suite after -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- panel --> </div> <!-- panel -->

View File

@ -1,5 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter --> <!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Contacts_Count" time="659.969" errors="0" timestamp="25 Oct 2023 04:25:52 GMT" skipped="0"> <testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Contacts_Count" time="90.902" errors="1" timestamp="25 Oct 2023 11:36:44 GMT" skipped="0">
<testcase classname="TestScripts.Contacts_Count" name="Contactscount" time="659.969"/> <testcase classname="TestScripts.Contacts_Count" name="Contactscount" time="90.902">
<error message="no such window: target window already closed
from unknown error: web view not found
(Session info: chrome=118.0.5993.117)
Build info: version: &#039;3.141.59&#039;, revision: &#039;e82be7d358&#039;, time: &#039;2018-11-14T08:17:03&#039;
System info: host: &#039;Shashikumar&#039;, ip: &#039;127.0.1.1&#039;, os.name: &#039;Linux&#039;, os.arch: &#039;amd64&#039;, os.version: &#039;5.15.0-87-generic&#039;, java.version: &#039;11.0.20&#039;
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=&#039;username&#039;]}" type="org.openqa.selenium.NoSuchWindowException">
<![CDATA[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)
]]>
</error>
</testcase> <!-- Contactscount -->
</testsuite> <!-- TestScripts.Contacts_Count --> </testsuite> <!-- TestScripts.Contacts_Count -->

View File

@ -1,14 +1,14 @@
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> <h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1"> <table border="1">
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> <tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
<tr bgcolor="bd9d84"> <td>23/10/25 09:44:52</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Contacts_Count.Contactscount()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">Contactscount</td> <tr bgcolor="7abd68"> <td>23/10/25 17:05:13</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Contacts_Count.Contactscount()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">Contactscount</td>
<td>main@820537534</td> <td></td> </tr> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:55:52</td> <td>659541</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;BaseTest.afterMethod(org.testng.ITestResult)[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&lt;&lt;afterMethod</td> <tr bgcolor="d4998d"> <td>23/10/25 17:06:43</td> <td>90406</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;BaseTest.afterMethod(org.testng.ITestResult)[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&lt;&lt;afterMethod</td>
<td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:55:52</td> <td>659992</td> <td title="&lt;&lt;BaseTest.afterSuite()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&lt;&lt;afterSuite</td> <tr bgcolor="d4998d"> <td>23/10/25 17:06:44</td> <td>90990</td> <td title="&lt;&lt;BaseTest.afterSuite()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&lt;&lt;afterSuite</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:44:52</td> <td>-6</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;BaseTest.beforeMethod()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&gt;&gt;beforeMethod</td> <tr bgcolor="d4998d"> <td>23/10/25 17:05:13</td> <td>-7</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;BaseTest.beforeMethod()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&gt;&gt;beforeMethod</td>
<td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:44:52</td> <td>-223</td> <td title="&gt;&gt;BaseTest.beforeSuite()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&gt;&gt;beforeSuite</td> <tr bgcolor="d4998d"> <td>23/10/25 17:05:12</td> <td>-518</td> <td title="&gt;&gt;BaseTest.beforeSuite()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&gt;&gt;beforeSuite</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
</table> </table>

View File

@ -1,14 +1,14 @@
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> <h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1"> <table border="1">
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> <tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:44:52</td> <td>0</td> <td title="&gt;&gt;BaseTest.beforeSuite()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&gt;&gt;beforeSuite</td> <tr bgcolor="d4998d"> <td>23/10/25 17:05:12</td> <td>0</td> <td title="&gt;&gt;BaseTest.beforeSuite()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&gt;&gt;beforeSuite</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:44:52</td> <td>217</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;BaseTest.beforeMethod()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&gt;&gt;beforeMethod</td> <tr bgcolor="d4998d"> <td>23/10/25 17:05:13</td> <td>511</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;BaseTest.beforeMethod()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&gt;&gt;beforeMethod</td>
<td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="bd9d84"> <td>23/10/25 09:44:52</td> <td>223</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Contacts_Count.Contactscount()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">Contactscount</td> <tr bgcolor="7abd68"> <td>23/10/25 17:05:13</td> <td>518</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Contacts_Count.Contactscount()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">Contactscount</td>
<td>main@820537534</td> <td></td> </tr> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:55:52</td> <td>659764</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;BaseTest.afterMethod(org.testng.ITestResult)[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&lt;&lt;afterMethod</td> <tr bgcolor="d4998d"> <td>23/10/25 17:06:43</td> <td>90924</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;BaseTest.afterMethod(org.testng.ITestResult)[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&lt;&lt;afterMethod</td>
<td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
<tr bgcolor="8789ad"> <td>23/10/25 09:55:52</td> <td>660215</td> <td title="&lt;&lt;BaseTest.afterSuite()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]">&lt;&lt;afterSuite</td> <tr bgcolor="d4998d"> <td>23/10/25 17:06:44</td> <td>91508</td> <td title="&lt;&lt;BaseTest.afterSuite()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]">&lt;&lt;afterSuite</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@820537534</td> <td></td> </tr> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1260634890</td> <td></td> </tr>
</table> </table>

View File

@ -20,9 +20,9 @@
<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> <td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> <td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
</tr></table> </tr></table>
<table width='100%' class='test-passed'> <table width='100%' class='test-failed'>
<tr><td> <tr><td>
<table style='width: 100%'><tr><td valign='top'>Default test (1/0/0)</td><td valign='top' align='right'> <table style='width: 100%'><tr><td valign='top'>Default test (0/1/0)</td><td valign='top' align='right'>
<a href='Default test.html' target='mainFrame'>Results</a> <a href='Default test.html' target='mainFrame'>Results</a>
</td></tr></table> </td></tr></table>
</td></tr><p/> </td></tr><p/>

View File

@ -4,6 +4,6 @@
</head><body> </head><body>
<h2><p align='center'>Test results</p></h2> <h2><p align='center'>Test results</p></h2>
<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr> <table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>1</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr> <tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>0</em></td><td><em>1</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td> <tr align='center' class='invocation-failed'><td><a href='Default suite/index.html'>Default suite</a></td>
<td>1</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html> <td>0</td><td>1</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>

View File

@ -1,36 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<testng-results ignored="0" total="1" passed="1" failed="0" skipped="0"> <testng-results ignored="0" total="1" passed="0" failed="1" skipped="0">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
<suite started-at="2023-10-25T04:14:52Z" name="Default suite" finished-at="2023-10-25T04:25:52Z" duration-ms="659989"> <suite started-at="2023-10-25T11:35:13Z" name="Default suite" finished-at="2023-10-25T11:36:44Z" duration-ms="90928">
<groups> <groups>
</groups> </groups>
<test started-at="2023-10-25T04:14:52Z" name="Default test" finished-at="2023-10-25T04:25:52Z" duration-ms="659989"> <test started-at="2023-10-25T11:35:13Z" name="Default test" finished-at="2023-10-25T11:36:44Z" duration-ms="90928">
<class name="TestScripts.Contacts_Count"> <class name="TestScripts.Contacts_Count">
<test-method is-config="true" signature="beforeSuite()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]" started-at="2023-10-25T04:14:52Z" name="beforeSuite" finished-at="2023-10-25T04:14:52Z" duration-ms="205" status="PASS"> <test-method is-config="true" signature="beforeSuite()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]" started-at="2023-10-25T11:35:12Z" name="beforeSuite" finished-at="2023-10-25T11:35:13Z" duration-ms="507" status="PASS">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- beforeSuite --> </test-method> <!-- beforeSuite -->
<test-method is-config="true" signature="beforeMethod()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]" started-at="2023-10-25T04:14:52Z" name="beforeMethod" finished-at="2023-10-25T04:14:52Z" duration-ms="5" status="PASS"> <test-method is-config="true" signature="beforeMethod()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]" started-at="2023-10-25T11:35:13Z" name="beforeMethod" finished-at="2023-10-25T11:35:13Z" duration-ms="7" status="PASS">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- beforeMethod --> </test-method> <!-- beforeMethod -->
<test-method signature="Contactscount()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]" started-at="2023-10-25T04:14:52Z" name="Contactscount" finished-at="2023-10-25T04:25:52Z" duration-ms="659537" status="PASS"> <test-method signature="Contactscount()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]" started-at="2023-10-25T11:35:13Z" name="Contactscount" finished-at="2023-10-25T11:36:43Z" duration-ms="90392" status="FAIL">
<exception class="org.openqa.selenium.NoSuchWindowException">
<message>
<![CDATA[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']}]]>
</message>
<full-stacktrace>
<![CDATA[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)
]]>
</full-stacktrace>
</exception> <!-- org.openqa.selenium.NoSuchWindowException -->
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- Contactscount --> </test-method> <!-- Contactscount -->
<test-method is-config="true" signature="afterMethod(org.testng.ITestResult)[pri:0, instance:TestScripts.Contacts_Count@58ce9668]" started-at="2023-10-25T04:25:52Z" name="afterMethod" finished-at="2023-10-25T04:25:52Z" duration-ms="427" status="PASS"> <test-method is-config="true" signature="afterMethod(org.testng.ITestResult)[pri:0, instance:TestScripts.Contacts_Count@338c99c8]" started-at="2023-10-25T11:36:43Z" name="afterMethod" finished-at="2023-10-25T11:36:44Z" duration-ms="503" status="PASS">
<params> <params>
<param index="0"> <param index="0">
<value> <value>
<![CDATA[[TestResult name=Contactscount status=SUCCESS method=Contacts_Count.Contactscount()[pri:0, instance:TestScripts.Contacts_Count@58ce9668] output={null}]]]> <![CDATA[[TestResult name=Contactscount status=FAILURE method=Contacts_Count.Contactscount()[pri:0, instance:TestScripts.Contacts_Count@338c99c8] output={null}]]]>
</value> </value>
</param> </param>
</params> </params>
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- afterMethod --> </test-method> <!-- afterMethod -->
<test-method is-config="true" signature="afterSuite()[pri:0, instance:TestScripts.Contacts_Count@58ce9668]" started-at="2023-10-25T04:25:52Z" name="afterSuite" finished-at="2023-10-25T04:25:52Z" duration-ms="0" status="PASS"> <test-method is-config="true" signature="afterSuite()[pri:0, instance:TestScripts.Contacts_Count@338c99c8]" started-at="2023-10-25T11:36:44Z" name="afterSuite" finished-at="2023-10-25T11:36:44Z" duration-ms="1" status="PASS">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- afterSuite --> </test-method> <!-- afterSuite -->