Third commit

This commit is contained in:
aissel 2023-10-09 12:53:14 +05:30
parent 961b82bb86
commit 1afedc73c0
41 changed files with 1312 additions and 46 deletions

42
pom.xml
View File

@ -5,7 +5,7 @@
<groupId>DCIM_Counts_Check</groupId> <groupId>DCIM_Counts_Check</groupId>
<artifactId>DCIM_Counts_Check</artifactId> <artifactId>DCIM_Counts_Check</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>DCIM_Counts_Check</name> <name>DCIM_Counts_Check</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
@ -27,13 +27,13 @@
</repositories> </repositories>
<dependencies> <dependencies>
<!-- Other dependencies --> <!-- Other dependencies -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.12</version> <version>4.12</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.cucumber</groupId> <groupId>io.cucumber</groupId>
@ -129,7 +129,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- <!--
https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java --> https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency> <dependency>
@ -177,33 +177,13 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<fork>true</fork>
<executable>C:\Program Files\Java\jdk1.8.0_202\bin\javac</executable>
<compilerVersion>1.3</compilerVersion>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version> <version>3.0.0-M5</version> <!-- Use the appropriate version -->
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>2.18.1</version>
</dependency>
</dependencies>
<inherited>true</inherited>
<configuration> <configuration>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>/home/aissel/git4/testng.xml</suiteXmlFile> <suiteXmlFile>testng.xml</suiteXmlFile>
</suiteXmlFiles> </suiteXmlFiles>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -1,5 +1,6 @@
package TestScripts; package TestScripts;
import org.testng.annotations.Test;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By; import org.openqa.selenium.By;
@ -13,7 +14,7 @@ import io.github.bonigarcia.wdm.WebDriverManager;
public class Contacts_Count public class Contacts_Count
{ {
@Test @Test
public static void main(String[] args) throws InterruptedException public void Contactscount() throws InterruptedException
{ {
WebDriverManager.chromedriver().setup(); WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver(); WebDriver driver = new ChromeDriver();

View File

@ -1,5 +1,6 @@
package TestScripts; package TestScripts;
import org.testng.annotations.Test;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -19,7 +20,7 @@ import io.github.bonigarcia.wdm.WebDriverManager;
public class Discover_Count public class Discover_Count
{ {
@Test @Test
public static void main(String[] args) throws InterruptedException public void Discovercount() throws InterruptedException
{ {
WebDriverManager.chromedriver().setup(); WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver(); WebDriver driver = new ChromeDriver();

View File

@ -1,5 +1,6 @@
package TestScripts; package TestScripts;
import org.testng.annotations.Test;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By; import org.openqa.selenium.By;
@ -24,7 +25,7 @@ import io.github.bonigarcia.wdm.WebDriverManager;
public class Track_Interaction_Count public class Track_Interaction_Count
{ {
@Test @Test
public static void main(String[] args) throws InterruptedException public void Interactioncount() throws InterruptedException
{ {
WebDriverManager.chromedriver().setup(); WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver(); WebDriver driver = new ChromeDriver();

View File

@ -1,5 +1,6 @@
package TestScripts; package TestScripts;
import org.testng.annotations.Test;
import java.io.File; import java.io.File;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -22,7 +23,7 @@ import io.github.bonigarcia.wdm.WebDriverManager;
public class Track_Interaction_Export public class Track_Interaction_Export
{ {
@Test @Test
public static void main(String[] args) throws InterruptedException public void Interactionexport() throws InterruptedException
{ {
ChromeOptions options = new ChromeOptions(); ChromeOptions options = new ChromeOptions();
// Set the download directory // Set the download directory
@ -69,9 +70,9 @@ public class Track_Interaction_Export
//File downloadedFile = new File("/home/aissel/git4/exported_file.xlsx"); //File downloadedFile = new File("/home/aissel/git4/exported_file.xlsx");
File downloadedFile = new File(System.getProperty("user.dir")+"/exported_file.xlsx"); File downloadedFile = new File(System.getProperty("user.dir")+"/exported_file.xlsx");
if (downloadedFile.exists()) { if (downloadedFile.exists()) {
System.out.println("Downloaded file exists."); System.out.println("Int_Export Downloaded file exists.");
} else { } else {
System.out.println("Downloaded file does not exist."); System.out.println("Int_Export Downloaded file does not exist.");
} }
} catch (NoSuchElementException e) { } catch (NoSuchElementException e) {

View File

@ -1,5 +1,6 @@
package TestScripts; package TestScripts;
import org.testng.annotations.Test;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -22,7 +23,7 @@ import io.github.bonigarcia.wdm.WebDriverManager;
public class Track_Medinsght_Export public class Track_Medinsght_Export
{ {
@Test @Test
public static void main(String[] args) throws InterruptedException public void Medinsightexport() throws InterruptedException
{ {
ChromeOptions options = new ChromeOptions(); ChromeOptions options = new ChromeOptions();
@ -71,9 +72,9 @@ public class Track_Medinsght_Export
File downloadedFile = new File(System.getProperty("user.dir")+"/exported_file.xlsx"); File downloadedFile = new File(System.getProperty("user.dir")+"/exported_file.xlsx");
if (downloadedFile.exists()) { if (downloadedFile.exists()) {
System.out.println("Downloaded file exists."); System.out.println("Med_Export Downloaded file exists.");
} else { } else {
System.out.println("Downloaded file does not exist."); System.out.println("Med_Export Downloaded file does not exist.");
} }
} catch (NoSuchElementException e) { } catch (NoSuchElementException e) {

View File

@ -1,5 +1,6 @@
package TestScripts; package TestScripts;
import org.testng.annotations.Test;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -19,7 +20,7 @@ import io.github.bonigarcia.wdm.WebDriverManager;
public class Track_Medinsight_Count public class Track_Medinsight_Count
{ {
@Test @Test
public static void main(String[] args) throws InterruptedException public void Medsightcount() throws InterruptedException
{ {
WebDriverManager.chromedriver().setup(); WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver(); WebDriver driver = new ChromeDriver();

View File

@ -0,0 +1,109 @@
<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>6/0/0</td>
</tr><tr>
<td>Started on:</td><td>Mon Oct 09 11:47:35 IST 2023</td>
</tr>
<tr><td>Total time:</td><td>1628 seconds (1628317 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-passed'>
<tr><td colspan='4' align='center'><b>PASSED 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></td>
<td>286</td>
<td>TestScripts.Contacts_Count@5be46f9d</td></tr>
<tr>
<td title='TestScripts.Discover_Count.Discovercount()'><b>Discovercount</b><br>Test class: TestScripts.Discover_Count</td>
<td></td>
<td>235</td>
<td>TestScripts.Discover_Count@7164ca4c</td></tr>
<tr>
<td title='TestScripts.Track_Interaction_Count.Interactioncount()'><b>Interactioncount</b><br>Test class: TestScripts.Track_Interaction_Count</td>
<td></td>
<td>245</td>
<td>TestScripts.Track_Interaction_Count@3f91b517</td></tr>
<tr>
<td title='TestScripts.Track_Interaction_Export.Interactionexport()'><b>Interactionexport</b><br>Test class: TestScripts.Track_Interaction_Export</td>
<td></td>
<td>289</td>
<td>TestScripts.Track_Interaction_Export@479460a6</td></tr>
<tr>
<td title='TestScripts.Track_Medinsght_Export.Medinsightexport()'><b>Medinsightexport</b><br>Test class: TestScripts.Track_Medinsght_Export</td>
<td></td>
<td>297</td>
<td>TestScripts.Track_Medinsght_Export@4f3bbf68</td></tr>
<tr>
<td title='TestScripts.Track_Medinsight_Count.Medsightcount()'><b>Medsightcount</b><br>Test class: TestScripts.Track_Medinsight_Count</td>
<td></td>
<td>274</td>
<td>TestScripts.Track_Medinsight_Count@68df9280</td></tr>
</table><p>
</body>
</html>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite ignored="0" hostname="Shashikumar" failures="0" tests="6" name="Default test" time="1628.317" errors="0" timestamp="09 Oct 2023 06:44:44 GMT">
<testcase classname="TestScripts.Track_Medinsight_Count" name="Medsightcount" time="274.37"/>
<testcase classname="TestScripts.Track_Interaction_Export" name="Interactionexport" time="289.134"/>
<testcase classname="TestScripts.Discover_Count" name="Discovercount" time="235.009"/>
<testcase classname="TestScripts.Track_Medinsght_Export" name="Medinsightexport" time="297.183"/>
<testcase classname="TestScripts.Contacts_Count" name="Contactscount" time="286.754"/>
<testcase classname="TestScripts.Track_Interaction_Count" name="Interactioncount" time="245.835"/>
</testsuite> <!-- Default test -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

BIN
test-output/collapseall.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

View File

@ -0,0 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>TestNG Report</title>
<style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}.invisible {display:none}</style>
</head>
<body>
<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 colspan="7">Default suite</th></tr>
<tr><td><a href="#t0">Default test</a></td><td class="num">6</td><td class="num">0</td><td class="num">0</td><td class="num">1,628,317</td><td></td><td></td></tr>
</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">1696833351614</td><td rowspan="1">286754</td></tr><tr class="passedodd"><td rowspan="1">TestScripts.Discover_Count</td><td><a href="#m1">Discovercount</a></td><td rowspan="1">1696832819420</td><td rowspan="1">235009</td></tr><tr class="passedeven"><td rowspan="1">TestScripts.Track_Interaction_Count</td><td><a href="#m2">Interactioncount</a></td><td rowspan="1">1696833638370</td><td rowspan="1">245835</td></tr><tr class="passedodd"><td rowspan="1">TestScripts.Track_Interaction_Export</td><td><a href="#m3">Interactionexport</a></td><td rowspan="1">1696832530283</td><td rowspan="1">289134</td></tr><tr class="passedeven"><td rowspan="1">TestScripts.Track_Medinsght_Export</td><td><a href="#m4">Medinsightexport</a></td><td rowspan="1">1696833054430</td><td rowspan="1">297183</td></tr><tr class="passedodd"><td rowspan="1">TestScripts.Track_Medinsight_Count</td><td><a href="#m5">Medsightcount</a></td><td rowspan="1">1696832255911</td><td rowspan="1">274370</td></tr></tbody>
</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>
<h3 id="m1">TestScripts.Discover_Count#Discovercount</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
<h3 id="m2">TestScripts.Track_Interaction_Count#Interactioncount</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
<h3 id="m3">TestScripts.Track_Interaction_Export#Interactionexport</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
<h3 id="m4">TestScripts.Track_Medinsght_Export#Medinsightexport</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
<h3 id="m5">TestScripts.Track_Medinsight_Count#Medsightcount</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
</body>
</html>

BIN
test-output/failed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

394
test-output/index.html Normal file
View File

@ -0,0 +1,394 @@
<!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</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-passed">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">6 methods, 6 passed</span>
</li>
<li>
<span class="method-list-title passed">Passed methods</span>
<span class="show-or-hide-methods passed">
<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="show-methods passed suite-Default_suite"> (show)</a> <!-- show-methods passed suite-Default_suite -->
</span>
<div class="method-list-content passed suite-Default_suite">
<span>
<img src="passed.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/>
<span>
<img src="passed.png" width="3%"/>
<a href="#" panel-name="suite-Default_suite" title="TestScripts.Discover_Count" class="method navigator-link" hash-for-method="Discovercount">Discovercount</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img src="passed.png" width="3%"/>
<a href="#" panel-name="suite-Default_suite" title="TestScripts.Track_Interaction_Count" class="method navigator-link" hash-for-method="Interactioncount">Interactioncount</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img src="passed.png" width="3%"/>
<a href="#" panel-name="suite-Default_suite" title="TestScripts.Track_Interaction_Export" class="method navigator-link" hash-for-method="Interactionexport">Interactionexport</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img src="passed.png" width="3%"/>
<a href="#" panel-name="suite-Default_suite" title="TestScripts.Track_Medinsght_Export" class="method navigator-link" hash-for-method="Medinsightexport">Medinsightexport</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img src="passed.png" width="3%"/>
<a href="#" panel-name="suite-Default_suite" title="TestScripts.Track_Medinsight_Count" class="method navigator-link" hash-for-method="Medsightcount">Medsightcount</a> <!-- method navigator-link -->
</span>
<br/>
</div> <!-- method-list-content passed 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-passed">
<div class="main-panel-header rounded-window-top">
<img src="passed.png"/>
<span class="class-name">TestScripts.Track_Interaction_Export</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="Interactionexport">
</a> <!-- Interactionexport -->
<span class="method-name">Interactionexport</span>
</div> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed -->
<div class="suite-Default_suite-class-passed">
<div class="main-panel-header rounded-window-top">
<img src="passed.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> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed -->
<div class="suite-Default_suite-class-passed">
<div class="main-panel-header rounded-window-top">
<img src="passed.png"/>
<span class="class-name">TestScripts.Discover_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="Discovercount">
</a> <!-- Discovercount -->
<span class="method-name">Discovercount</span>
</div> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed -->
<div class="suite-Default_suite-class-passed">
<div class="main-panel-header rounded-window-top">
<img src="passed.png"/>
<span class="class-name">TestScripts.Track_Medinsght_Export</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="Medinsightexport">
</a> <!-- Medinsightexport -->
<span class="method-name">Medinsightexport</span>
</div> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed -->
<div class="suite-Default_suite-class-passed">
<div class="main-panel-header rounded-window-top">
<img src="passed.png"/>
<span class="class-name">TestScripts.Track_Medinsight_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="Medsightcount">
</a> <!-- Medsightcount -->
<span class="method-name">Medsightcount</span>
</div> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed -->
<div class="suite-Default_suite-class-passed">
<div class="main-panel-header rounded-window-top">
<img src="passed.png"/>
<span class="class-name">TestScripts.Track_Interaction_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="Interactioncount">
</a> <!-- Interactioncount -->
<span class="method-name">Interactioncount</span>
</div> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-Default_suite-class-passed -->
</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--287265599/testng-customsuite.xml</span>
</div> <!-- main-panel-header rounded-window-top -->
<div class="main-panel-content rounded-window-bottom">
<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE suite SYSTEM &quot;http://testng.org/testng-1.0.dtd&quot;&gt;
&lt;suite name=&quot;Default suite&quot; guice-stage=&quot;DEVELOPMENT&quot;&gt;
&lt;test thread-count=&quot;5&quot; name=&quot;Default test&quot; verbose=&quot;2&quot;&gt;
&lt;classes&gt;
&lt;class name=&quot;Utilities.readConfigFile&quot;/&gt;
&lt;class name=&quot;TestScripts.Track_Medinsight_Count&quot;/&gt;
&lt;class name=&quot;Utilities.ConfigReader&quot;/&gt;
&lt;class name=&quot;TestScripts.Track_Interaction_Export&quot;/&gt;
&lt;class name=&quot;TestScripts.Discover_Count&quot;/&gt;
&lt;class name=&quot;TestScripts.Track_Medinsght_Export&quot;/&gt;
&lt;class name=&quot;TestScripts.Contacts_Count&quot;/&gt;
&lt;class name=&quot;TestScripts.Track_Interaction_Count&quot;/&gt;
&lt;/classes&gt;
&lt;/test&gt; &lt;!-- Default test --&gt;
&lt;/suite&gt; &lt;!-- Default suite --&gt;
</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 (8 classes)</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(6);
data.setCell(0, 0, 0)
data.setCell(0, 1, 'Medinsightexport')
data.setCell(0, 2, 'TestScripts.Track_Medinsght_Export')
data.setCell(0, 3, 297183);
data.setCell(1, 0, 1)
data.setCell(1, 1, 'Interactionexport')
data.setCell(1, 2, 'TestScripts.Track_Interaction_Export')
data.setCell(1, 3, 289134);
data.setCell(2, 0, 2)
data.setCell(2, 1, 'Contactscount')
data.setCell(2, 2, 'TestScripts.Contacts_Count')
data.setCell(2, 3, 286754);
data.setCell(3, 0, 3)
data.setCell(3, 1, 'Medsightcount')
data.setCell(3, 2, 'TestScripts.Track_Medinsight_Count')
data.setCell(3, 3, 274370);
data.setCell(4, 0, 4)
data.setCell(4, 1, 'Interactioncount')
data.setCell(4, 2, 'TestScripts.Track_Interaction_Count')
data.setCell(4, 3, 245835);
data.setCell(5, 0, 5)
data.setCell(5, 1, 'Discovercount')
data.setCell(5, 2, 'TestScripts.Discover_Count')
data.setCell(5, 3, 235009);
window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
return data;
}
</script>
<span class="suite-total-time">Total running time: 27 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.Track_Medinsight_Count</div> <!-- chronological-class-name -->
<div class="test-method">
<span class="method-name">Medsightcount</span>
<span class="method-start">0 ms</span>
</div> <!-- test-method -->
</div> <!-- chronological-class -->
<div class="chronological-class">
<div class="chronological-class-name">TestScripts.Track_Interaction_Export</div> <!-- chronological-class-name -->
<div class="test-method">
<span class="method-name">Interactionexport</span>
<span class="method-start">274372 ms</span>
</div> <!-- test-method -->
</div> <!-- chronological-class -->
<div class="chronological-class">
<div class="chronological-class-name">TestScripts.Discover_Count</div> <!-- chronological-class-name -->
<div class="test-method">
<span class="method-name">Discovercount</span>
<span class="method-start">563509 ms</span>
</div> <!-- test-method -->
</div> <!-- chronological-class -->
<div class="chronological-class">
<div class="chronological-class-name">TestScripts.Track_Medinsght_Export</div> <!-- chronological-class-name -->
<div class="test-method">
<span class="method-name">Medinsightexport</span>
<span class="method-start">798519 ms</span>
</div> <!-- test-method -->
</div> <!-- chronological-class -->
<div class="chronological-class">
<div class="chronological-class-name">TestScripts.Contacts_Count</div> <!-- chronological-class-name -->
<div class="test-method">
<span class="method-name">Contactscount</span>
<span class="method-start">1095703 ms</span>
</div> <!-- test-method -->
</div> <!-- chronological-class -->
<div class="chronological-class">
<div class="chronological-class-name">TestScripts.Track_Interaction_Count</div> <!-- chronological-class-name -->
<div class="test-method">
<span class="method-name">Interactioncount</span>
<span class="method-start">1382459 ms</span>
</div> <!-- test-method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- panel -->
</div> <!-- main-panel-root -->
</div> <!-- wrapper -->
</body>
</html>

4
test-output/jquery-1.7.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Contacts_Count" time="286.754" errors="0" timestamp="09 Oct 2023 06:44:44 GMT" skipped="0">
<testcase classname="TestScripts.Contacts_Count" name="Contactscount" time="286.754"/>
</testsuite> <!-- TestScripts.Contacts_Count -->

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Discover_Count" time="235.009" errors="0" timestamp="09 Oct 2023 06:44:44 GMT" skipped="0">
<testcase classname="TestScripts.Discover_Count" name="Discovercount" time="235.009"/>
</testsuite> <!-- TestScripts.Discover_Count -->

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Track_Interaction_Count" time="245.835" errors="0" timestamp="09 Oct 2023 06:44:44 GMT" skipped="0">
<testcase classname="TestScripts.Track_Interaction_Count" name="Interactioncount" time="245.835"/>
</testsuite> <!-- TestScripts.Track_Interaction_Count -->

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Track_Interaction_Export" time="289.134" errors="0" timestamp="09 Oct 2023 06:44:44 GMT" skipped="0">
<testcase classname="TestScripts.Track_Interaction_Export" name="Interactionexport" time="289.134"/>
</testsuite> <!-- TestScripts.Track_Interaction_Export -->

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Track_Medinsght_Export" time="297.183" errors="0" timestamp="09 Oct 2023 06:44:44 GMT" skipped="0">
<testcase classname="TestScripts.Track_Medinsght_Export" name="Medinsightexport" time="297.183"/>
</testsuite> <!-- TestScripts.Track_Medinsght_Export -->

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="Shashikumar" failures="0" tests="1" name="TestScripts.Track_Medinsight_Count" time="274.370" errors="0" timestamp="09 Oct 2023 06:44:44 GMT" skipped="0">
<testcase classname="TestScripts.Track_Medinsight_Count" name="Medsightcount" time="274.370"/>
</testsuite> <!-- TestScripts.Track_Medinsight_Count -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

View File

@ -0,0 +1 @@
[SuiteResult context=Default test]

View File

@ -0,0 +1,138 @@
<table border='1'>
<tr>
<th>Class name</th>
<th>Method name</th>
<th>Groups</th>
</tr><tr>
<td>TestScripts.Track_Medinsight_Count</td>
<td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Medsightcount</td>
<td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr>
<td align='center' colspan='3'>@BeforeMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterClass</td>
</tr>
<tr>
<td>TestScripts.Track_Interaction_Export</td>
<td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Interactionexport</td>
<td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr>
<td align='center' colspan='3'>@BeforeMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterClass</td>
</tr>
<tr>
<td>TestScripts.Discover_Count</td>
<td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Discovercount</td>
<td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr>
<td align='center' colspan='3'>@BeforeMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterClass</td>
</tr>
<tr>
<td>TestScripts.Contacts_Count</td>
<td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Contactscount</td>
<td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr>
<td align='center' colspan='3'>@BeforeMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterClass</td>
</tr>
<tr>
<td>TestScripts.Track_Medinsght_Export</td>
<td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Medinsightexport</td>
<td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr>
<td align='center' colspan='3'>@BeforeMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterClass</td>
</tr>
<tr>
<td>TestScripts.Track_Interaction_Count</td>
<td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Interactioncount</td>
<td>&nbsp;</td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr>
<td align='center' colspan='3'>@BeforeMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterMethod</td>
</tr>
<tr>
<td align='center' colspan='3'>@AfterClass</td>
</tr>
</table>

View File

@ -0,0 +1 @@
<h2>Groups used for this test run</h2>

View File

@ -0,0 +1,6 @@
<html><head><title>Results for Default suite</title></head>
<frameset cols="26%,74%">
<frame src="toc.html" name="navFrame">
<frame src="main.html" name="mainFrame">
</frameset>
</html>

View File

@ -0,0 +1,2 @@
<html><head><title>Results for Default suite</title></head>
<body>Select a result on the left-hand pane.</body></html>

View File

@ -0,0 +1,16 @@
<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">
<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="72fe87"> <td>23/10/09 12:05:51</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@5be46f9d]">Contactscount</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="76f6a0"> <td>23/10/09 11:56:59</td> <td>-532194</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Discover_Count.Discovercount()[pri:0, instance:TestScripts.Discover_Count@7164ca4c]">Discovercount</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="8673bc"> <td>23/10/09 12:10:38</td> <td>286756</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Interaction_Count.Interactioncount()[pri:0, instance:TestScripts.Track_Interaction_Count@3f91b517]">Interactioncount</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="7abd68"> <td>23/10/09 11:52:10</td> <td>-821331</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Interaction_Export.Interactionexport()[pri:0, instance:TestScripts.Track_Interaction_Export@479460a6]">Interactionexport</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="bd9d84"> <td>23/10/09 12:00:54</td> <td>-297184</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Medinsght_Export.Medinsightexport()[pri:0, instance:TestScripts.Track_Medinsght_Export@4f3bbf68]">Medinsightexport</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="e6c6ec"> <td>23/10/09 11:47:35</td> <td>-1095704</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Medinsight_Count.Medsightcount()[pri:0, instance:TestScripts.Track_Medinsight_Count@68df9280]">Medsightcount</td>
<td>main@2131597042</td> <td></td> </tr>
</table>

View File

@ -0,0 +1,2 @@
<h2>Methods that were not run</h2><table>
</table>

View File

@ -0,0 +1,16 @@
<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">
<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="e6c6ec"> <td>23/10/09 11:47:35</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Medinsight_Count.Medsightcount()[pri:0, instance:TestScripts.Track_Medinsight_Count@68df9280]">Medsightcount</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="7abd68"> <td>23/10/09 11:52:10</td> <td>274373</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Interaction_Export.Interactionexport()[pri:0, instance:TestScripts.Track_Interaction_Export@479460a6]">Interactionexport</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="76f6a0"> <td>23/10/09 11:56:59</td> <td>563510</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Discover_Count.Discovercount()[pri:0, instance:TestScripts.Discover_Count@7164ca4c]">Discovercount</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="bd9d84"> <td>23/10/09 12:00:54</td> <td>798520</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Medinsght_Export.Medinsightexport()[pri:0, instance:TestScripts.Track_Medinsght_Export@4f3bbf68]">Medinsightexport</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="72fe87"> <td>23/10/09 12:05:51</td> <td>1095704</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@5be46f9d]">Contactscount</td>
<td>main@2131597042</td> <td></td> </tr>
<tr bgcolor="8673bc"> <td>23/10/09 12:10:38</td> <td>1382460</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Track_Interaction_Count.Interactioncount()[pri:0, instance:TestScripts.Track_Interaction_Count@3f91b517]">Interactioncount</td>
<td>main@2131597042</td> <td></td> </tr>
</table>

View File

@ -0,0 +1 @@
<h2>Reporter output</h2><table></table>

View File

@ -0,0 +1 @@
<html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;name="Default&nbsp;suite"&nbsp;guice-stage="DEVELOPMENT"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="Default&nbsp;test"&nbsp;verbose="2"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="Utilities.readConfigFile"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestScripts.Track_Medinsight_Count"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="Utilities.ConfigReader"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestScripts.Track_Interaction_Export"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestScripts.Discover_Count"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestScripts.Track_Medinsght_Export"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestScripts.Contacts_Count"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestScripts.Track_Interaction_Count"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;suite&nbsp;--&gt;<br/></tt></body></html>

View File

@ -0,0 +1,30 @@
<html>
<head>
<title>Results for Default suite</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h3><p align="center">Results for<br/><em>Default suite</em></p></h3>
<table border='1' width='100%'>
<tr valign='top'>
<td>1 test</td>
<td><a target='mainFrame' href='classes.html'>6 classes</a></td>
<td>6 methods:<br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
</tr>
<tr>
<td><a target='mainFrame' href='groups.html'>0 group</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>
</tr></table>
<table width='100%' class='test-passed'>
<tr><td>
<table style='width: 100%'><tr><td valign='top'>Default test (6/0/0)</td><td valign='top' align='right'>
<a href='Default test.html' target='mainFrame'>Results</a>
</td></tr></table>
</td></tr><p/>
</table>
</body></html>

View File

@ -0,0 +1,9 @@
<html>
<head><title></title><link href="./testng.css" rel="stylesheet" type="text/css" />
<link href="./my-testng.css" rel="stylesheet" type="text/css" />
</head><body>
<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>
<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>6</em></td><td><em>0</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>
<td>6</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>

BIN
test-output/passed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

BIN
test-output/skipped.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

View File

@ -0,0 +1,309 @@
body {
margin: 0px 0px 5px 5px;
}
ul {
margin: 0px;
}
li {
list-style-type: none;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.navigator-selected {
background: #ffa500;
}
.wrapper {
position: absolute;
top: 60px;
bottom: 0;
left: 400px;
right: 0;
overflow: auto;
}
.navigator-root {
position: absolute;
top: 60px;
bottom: 0;
left: 0;
width: 400px;
overflow-y: auto;
}
.suite {
margin: 0px 10px 10px 0px;
background-color: #fff8dc;
}
.suite-name {
padding-left: 10px;
font-size: 25px;
font-family: Times;
}
.main-panel-header {
padding: 5px;
background-color: #9FB4D9; //afeeee;
font-family: monospace;
font-size: 18px;
}
.main-panel-content {
padding: 5px;
margin-bottom: 10px;
background-color: #DEE8FC; //d0ffff;
}
.rounded-window {
border-radius: 10px;
border-style: solid;
border-width: 1px;
}
.rounded-window-top {
border-top-right-radius: 10px 10px;
border-top-left-radius: 10px 10px;
border-style: solid;
border-width: 1px;
overflow: auto;
}
.light-rounded-window-top {
border-top-right-radius: 10px 10px;
border-top-left-radius: 10px 10px;
}
.rounded-window-bottom {
border-style: solid;
border-width: 0px 1px 1px 1px;
border-bottom-right-radius: 10px 10px;
border-bottom-left-radius: 10px 10px;
overflow: auto;
}
.method-name {
font-size: 12px;
font-family: monospace;
}
.method-content {
border-style: solid;
border-width: 0px 0px 1px 0px;
margin-bottom: 10;
padding-bottom: 5px;
width: 80%;
}
.parameters {
font-size: 14px;
font-family: monospace;
}
.stack-trace {
white-space: pre;
font-family: monospace;
font-size: 12px;
font-weight: bold;
margin-top: 0px;
margin-left: 20px;
}
.testng-xml {
font-family: monospace;
}
.method-list-content {
margin-left: 10px;
}
.navigator-suite-content {
margin-left: 10px;
font: 12px 'Lucida Grande';
}
.suite-section-title {
margin-top: 10px;
width: 80%;
border-style: solid;
border-width: 1px 0px 0px 0px;
font-family: Times;
font-size: 18px;
font-weight: bold;
}
.suite-section-content {
list-style-image: url(bullet_point.png);
}
.top-banner-root {
position: absolute;
top: 0;
height: 45px;
left: 0;
right: 0;
padding: 5px;
margin: 0px 0px 5px 0px;
background-color: #0066ff;
font-family: Times;
color: #fff;
text-align: center;
}
.top-banner-title-font {
font-size: 25px;
}
.test-name {
font-family: 'Lucida Grande';
font-size: 16px;
}
.suite-icon {
padding: 5px;
float: right;
height: 20;
}
.test-group {
font: 20px 'Lucida Grande';
margin: 5px 5px 10px 5px;
border-width: 0px 0px 1px 0px;
border-style: solid;
padding: 5px;
}
.test-group-name {
font-weight: bold;
}
.method-in-group {
font-size: 16px;
margin-left: 80px;
}
table.google-visualization-table-table {
width: 100%;
}
.reporter-method-name {
font-size: 14px;
font-family: monospace;
}
.reporter-method-output-div {
padding: 5px;
margin: 0px 0px 5px 20px;
font-size: 12px;
font-family: monospace;
border-width: 0px 0px 0px 1px;
border-style: solid;
}
.ignored-class-div {
font-size: 14px;
font-family: monospace;
}
.ignored-methods-div {
padding: 5px;
margin: 0px 0px 5px 20px;
font-size: 12px;
font-family: monospace;
border-width: 0px 0px 0px 1px;
border-style: solid;
}
.border-failed {
border-top-left-radius: 10px 10px;
border-bottom-left-radius: 10px 10px;
border-style: solid;
border-width: 0px 0px 0px 10px;
border-color: #f00;
}
.border-skipped {
border-top-left-radius: 10px 10px;
border-bottom-left-radius: 10px 10px;
border-style: solid;
border-width: 0px 0px 0px 10px;
border-color: #edc600;
}
.border-passed {
border-top-left-radius: 10px 10px;
border-bottom-left-radius: 10px 10px;
border-style: solid;
border-width: 0px 0px 0px 10px;
border-color: #19f52d;
}
.times-div {
text-align: center;
padding: 5px;
}
.suite-total-time {
font: 16px 'Lucida Grande';
}
.configuration-suite {
margin-left: 20px;
}
.configuration-test {
margin-left: 40px;
}
.configuration-class {
margin-left: 60px;
}
.configuration-method {
margin-left: 80px;
}
.test-method {
margin-left: 100px;
}
.chronological-class {
background-color: #0ccff;
border-style: solid;
border-width: 0px 0px 1px 1px;
}
.method-start {
float: right;
}
.chronological-class-name {
padding: 0px 0px 0px 5px;
color: #008;
}
.after, .before, .test-method {
font-family: monospace;
font-size: 14px;
}
.navigator-suite-header {
font-size: 22px;
margin: 0px 10px 5px 0px;
background-color: #deb887;
text-align: center;
}
.collapse-all-icon {
padding: 5px;
float: right;
}

View File

@ -0,0 +1,122 @@
$(document).ready(function() {
$('a.navigator-link').click(function() {
// Extract the panel for this link
var panel = getPanelName($(this));
// Mark this link as currently selected
$('.navigator-link').parent().removeClass('navigator-selected');
$(this).parent().addClass('navigator-selected');
showPanel(panel);
});
installMethodHandlers('failed');
installMethodHandlers('skipped');
installMethodHandlers('passed', true); // hide passed methods by default
$('a.method').click(function() {
showMethod($(this));
return false;
});
// Hide all the panels and display the first one (do this last
// to make sure the click() will invoke the listeners)
$('.panel').hide();
$('.navigator-link').first().click();
// Collapse/expand the suites
$('a.collapse-all-link').click(function() {
var contents = $('.navigator-suite-content');
if (contents.css('display') == 'none') {
contents.show();
} else {
contents.hide();
}
});
});
// The handlers that take care of showing/hiding the methods
function installMethodHandlers(name, hide) {
function getContent(t) {
return $('.method-list-content.' + name + "." + t.attr('panel-name'));
}
function getHideLink(t, name) {
var s = 'a.hide-methods.' + name + "." + t.attr('panel-name');
return $(s);
}
function getShowLink(t, name) {
return $('a.show-methods.' + name + "." + t.attr('panel-name'));
}
function getMethodPanelClassSel(element, name) {
var panelName = getPanelName(element);
var sel = '.' + panelName + "-class-" + name;
return $(sel);
}
$('a.hide-methods.' + name).click(function() {
var w = getContent($(this));
w.hide();
getHideLink($(this), name).hide();
getShowLink($(this), name).show();
getMethodPanelClassSel($(this), name).hide();
});
$('a.show-methods.' + name).click(function() {
var w = getContent($(this));
w.show();
getHideLink($(this), name).show();
getShowLink($(this), name).hide();
showPanel(getPanelName($(this)));
getMethodPanelClassSel($(this), name).show();
});
if (hide) {
$('a.hide-methods.' + name).click();
} else {
$('a.show-methods.' + name).click();
}
}
function getHashForMethod(element) {
return element.attr('hash-for-method');
}
function getPanelName(element) {
return element.attr('panel-name');
}
function showPanel(panelName) {
$('.panel').hide();
var panel = $('.panel[panel-name="' + panelName + '"]');
panel.show();
}
function showMethod(element) {
var hashTag = getHashForMethod(element);
var panelName = getPanelName(element);
showPanel(panelName);
var current = document.location.href;
var base = current.substring(0, current.indexOf('#'))
document.location.href = base + '#' + hashTag;
var newPosition = $(document).scrollTop() - 65;
$(document).scrollTop(newPosition);
}
function drawTable() {
for (var i = 0; i < suiteTableInitFunctions.length; i++) {
window[suiteTableInitFunctions[i]]();
}
for (var k in window.suiteTableData) {
var v = window.suiteTableData[k];
var div = v.tableDiv;
var data = v.tableData
var table = new google.visualization.Table(document.getElementById(div));
table.draw(data, {
showRowNumber : false
});
}
}

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<testng-results ignored="0" total="6" passed="6" failed="0" skipped="0">
<reporter-output>
</reporter-output>
<suite started-at="2023-10-09T06:17:35Z" name="Default suite" finished-at="2023-10-09T06:44:44Z" duration-ms="1628317">
<groups>
</groups>
<test started-at="2023-10-09T06:17:35Z" name="Default test" finished-at="2023-10-09T06:44:44Z" duration-ms="1628317">
<class name="TestScripts.Track_Medinsight_Count">
<test-method signature="Medsightcount()[pri:0, instance:TestScripts.Track_Medinsight_Count@68df9280]" started-at="2023-10-09T06:17:35Z" name="Medsightcount" finished-at="2023-10-09T06:22:10Z" duration-ms="274370" status="PASS">
<reporter-output>
</reporter-output>
</test-method> <!-- Medsightcount -->
</class> <!-- TestScripts.Track_Medinsight_Count -->
<class name="TestScripts.Track_Interaction_Export">
<test-method signature="Interactionexport()[pri:0, instance:TestScripts.Track_Interaction_Export@479460a6]" started-at="2023-10-09T06:22:10Z" name="Interactionexport" finished-at="2023-10-09T06:26:59Z" duration-ms="289134" status="PASS">
<reporter-output>
</reporter-output>
</test-method> <!-- Interactionexport -->
</class> <!-- TestScripts.Track_Interaction_Export -->
<class name="TestScripts.Discover_Count">
<test-method signature="Discovercount()[pri:0, instance:TestScripts.Discover_Count@7164ca4c]" started-at="2023-10-09T06:26:59Z" name="Discovercount" finished-at="2023-10-09T06:30:54Z" duration-ms="235009" status="PASS">
<reporter-output>
</reporter-output>
</test-method> <!-- Discovercount -->
</class> <!-- TestScripts.Discover_Count -->
<class name="TestScripts.Contacts_Count">
<test-method signature="Contactscount()[pri:0, instance:TestScripts.Contacts_Count@5be46f9d]" started-at="2023-10-09T06:35:51Z" name="Contactscount" finished-at="2023-10-09T06:40:38Z" duration-ms="286754" status="PASS">
<reporter-output>
</reporter-output>
</test-method> <!-- Contactscount -->
</class> <!-- TestScripts.Contacts_Count -->
<class name="TestScripts.Track_Medinsght_Export">
<test-method signature="Medinsightexport()[pri:0, instance:TestScripts.Track_Medinsght_Export@4f3bbf68]" started-at="2023-10-09T06:30:54Z" name="Medinsightexport" finished-at="2023-10-09T06:35:51Z" duration-ms="297183" status="PASS">
<reporter-output>
</reporter-output>
</test-method> <!-- Medinsightexport -->
</class> <!-- TestScripts.Track_Medinsght_Export -->
<class name="TestScripts.Track_Interaction_Count">
<test-method signature="Interactioncount()[pri:0, instance:TestScripts.Track_Interaction_Count@3f91b517]" started-at="2023-10-09T06:40:38Z" name="Interactioncount" finished-at="2023-10-09T06:44:44Z" duration-ms="245835" status="PASS">
<reporter-output>
</reporter-output>
</test-method> <!-- Interactioncount -->
</class> <!-- TestScripts.Track_Interaction_Count -->
</test> <!-- Default test -->
</suite> <!-- Default suite -->
</testng-results>

9
test-output/testng.css Normal file
View File

@ -0,0 +1,9 @@
.invocation-failed, .test-failed { background-color: #DD0000; }
.invocation-percent, .test-percent { background-color: #006600; }
.invocation-passed, .test-passed { background-color: #00AA00; }
.invocation-skipped, .test-skipped { background-color: #CCCC00; }
.main-page {
font-size: x-large;
}

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Suite"> <suite name="Suite">
<test thread-count="5" name="Test" junit="true"> <test thread-count="5" name="Test">
<classes> <packages>
<class name="test.Contacts_Count"/> <package name="TestScripts"/>
</classes> </packages>
</test> <!-- Test --> </test> <!-- Test -->
</suite> <!-- Suite --> </suite> <!-- Suite -->