Commit d9ec9cf5 authored by Long's avatar Long
Browse files

keep ultis and delete some unused component
parent d159e1f1
No related merge requests found
Showing with 67 additions and 64 deletions
+67 -64
......@@ -17,8 +17,7 @@ public class TestApp extends DriverFactory{
ExtentTest test;
@BeforeTest
public void Initial () throws MalformedURLException,InterruptedException {
Thread.sleep(2000);
public void Initial () throws MalformedURLException {
DriverFactory.Android_LaunchApp();
}
......
......@@ -46,13 +46,8 @@ public class loginActionChain extends DriverFactory {
}
public void loginFail(){
test = extent.createTest("Login fail", "Sample description");
userName();
test.log(Status.INFO, "This step shows usage of log(status, details)");
passWord();
test.log(Status.INFO, "This step shows usage of log(status, details)");
submitClick();
test.log(Status.INFO, "This step shows usage of log(status, details)");
}
}
......@@ -57,9 +57,9 @@ function toggleAllBoxes() {
<tr>
<td>Tests passed/Failed/Skipped:</td><td>0/1/0</td>
</tr><tr>
<td>Started on:</td><td>Tue Oct 29 17:54:49 ICT 2019</td>
<td>Started on:</td><td>Thu Oct 31 12:01:36 ICT 2019</td>
</tr>
<tr><td>Total time:</td><td>16 seconds (16264 ms)</td>
<tr><td>Total time:</td><td>29 seconds (29157 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
......@@ -77,12 +77,14 @@ function toggleAllBoxes() {
<tr>
<td title='androidTest.TestApp.testOne()'><b>testOne</b><br>Test class: androidTest.TestApp</td>
<td><div><pre>java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
... Removed 29 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1439632660", 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-trace1439632660'><pre>java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
... Removed 29 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1305486145", 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-trace1305486145'><pre>java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -113,7 +115,7 @@ function toggleAllBoxes() {
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
</pre></div></td>
<td>0</td>
<td>5</td>
<td>androidTest.TestApp@68c4039c</td></tr>
</table><p>
</body>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite hostname="DESKTOP-MSU26LA" ignored="0" name="TestApps" tests="1" failures="1" timestamp="29 Oct 2019 10:55:05 GMT" time="16.264" errors="0">
<testcase name="testOne" time="0.001" classname="androidTest.TestApp">
<testsuite hostname="DESKTOP-MSU26LA" ignored="0" name="TestApps" tests="1" failures="1" timestamp="31 Oct 2019 05:02:05 GMT" time="29.157" errors="0">
<testcase name="testOne" time="5.008" classname="androidTest.TestApp">
<failure type="java.lang.NullPointerException">
<![CDATA[java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
... Removed 29 stack frames]]>
</failure>
</testcase> <!-- testOne -->
......
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="TestSuite" time="17.129" tests="1" errors="0" skipped="0" failures="1">
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="TestSuite" time="30.399" tests="1" errors="0" skipped="0" failures="1">
<properties>
<property name="sun.desktop" value="windows"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
......@@ -18,7 +18,7 @@
<property name="user.country" value="US"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_221\jre\bin"/>
<property name="sun.java.command" value="C:\Users\ACER\AppData\Local\Temp\surefire572665214868434504\surefirebooter2436879422149574241.jar C:\Users\ACER\AppData\Local\Temp\surefire572665214868434504 2019-10-29T17-54-48_326-jvmRun1 surefire8771998730004903852tmp surefire_06180633115621546797tmp"/>
<property name="sun.java.command" value="C:\Users\ACER\AppData\Local\Temp\surefire431687299872458708\surefirebooter4539916865364924946.jar C:\Users\ACER\AppData\Local\Temp\surefire431687299872458708 2019-10-31T12-01-34_265-jvmRun1 surefire3232604213062029186tmp surefire_01169501374981829745tmp"/>
<property name="surefire.test.class.path" value="E:\projects\long\fromlabs-test\target\test-classes;E:\projects\long\fromlabs-test\target\classes;C:\Users\ACER\.m2\repository\org\testng\testng\6.14.3\testng-6.14.3.jar;C:\Users\ACER\.m2\repository\com\beust\jcommander\1.72\jcommander-1.72.jar;C:\Users\ACER\.m2\repository\org\apache-extras\beanshell\bsh\2.0b6\bsh-2.0b6.jar;C:\Users\ACER\.m2\repository\io\appium\java-client\6.1.0\java-client-6.1.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-java\3.12.0\selenium-java-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.12.0\selenium-chrome-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.12.0\selenium-edge-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.12.0\selenium-firefox-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.12.0\selenium-ie-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.12.0\selenium-opera-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.12.0\selenium-remote-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.12.0\selenium-safari-driver-3.12.0.jar;C:\Users\ACER\.m2\repository\net\bytebuddy\byte-buddy\1.8.3\byte-buddy-1.8.3.jar;C:\Users\ACER\.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\ACER\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ACER\.m2\repository\com\google\guava\guava\23.6-jre\guava-23.6-jre.jar;C:\Users\ACER\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\ACER\.m2\repository\org\checkerframework\checker-compat-qual\2.0.0\checker-compat-qual-2.0.0.jar;C:\Users\ACER\.m2\repository\com\google\errorprone\error_prone_annotations\2.1.3\error_prone_annotations-2.1.3.jar;C:\Users\ACER\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\ACER\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;C:\Users\ACER\.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\ACER\.m2\repository\com\squareup\okhttp3\okhttp\3.9.1\okhttp-3.9.1.jar;C:\Users\ACER\.m2\repository\com\squareup\okio\okio\1.13.0\okio-1.13.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-support\3.12.0\selenium-support-3.12.0.jar;C:\Users\ACER\.m2\repository\org\seleniumhq\selenium\selenium-api\3.12.0\selenium-api-3.12.0.jar;C:\Users\ACER\.m2\repository\com\google\code\gson\gson\2.8.4\gson-2.8.4.jar;C:\Users\ACER\.m2\repository\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;C:\Users\ACER\.m2\repository\cglib\cglib\3.2.6\cglib-3.2.6.jar;C:\Users\ACER\.m2\repository\org\ow2\asm\asm\6.0\asm-6.0.jar;C:\Users\ACER\.m2\repository\org\apache\ant\ant\1.9.6\ant-1.9.6.jar;C:\Users\ACER\.m2\repository\org\apache\ant\ant-launcher\1.9.6\ant-launcher-1.9.6.jar;C:\Users\ACER\.m2\repository\commons-validator\commons-validator\1.6\commons-validator-1.6.jar;C:\Users\ACER\.m2\repository\commons-beanutils\commons-beanutils\1.9.2\commons-beanutils-1.9.2.jar;C:\Users\ACER\.m2\repository\commons-digester\commons-digester\1.8.1\commons-digester-1.8.1.jar;C:\Users\ACER\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ACER\.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\ACER\.m2\repository\commons-io\commons-io\2.6\commons-io-2.6.jar;C:\Users\ACER\.m2\repository\org\springframework\spring-context\5.0.5.RELEASE\spring-context-5.0.5.RELEASE.jar;C:\Users\ACER\.m2\repository\org\springframework\spring-aop\5.0.5.RELEASE\spring-aop-5.0.5.RELEASE.jar;C:\Users\ACER\.m2\repository\org\springframework\spring-beans\5.0.5.RELEASE\spring-beans-5.0.5.RELEASE.jar;C:\Users\ACER\.m2\repository\org\springframework\spring-core\5.0.5.RELEASE\spring-core-5.0.5.RELEASE.jar;C:\Users\ACER\.m2\repository\org\springframework\spring-jcl\5.0.5.RELEASE\spring-jcl-5.0.5.RELEASE.jar;C:\Users\ACER\.m2\repository\org\springframework\spring-expression\5.0.5.RELEASE\spring-expression-5.0.5.RELEASE.jar;C:\Users\ACER\.m2\repository\org\aspectj\aspectjweaver\1.9.1\aspectjweaver-1.9.1.jar;C:\Users\ACER\.m2\repository\org\openpnp\opencv\3.2.0-1\opencv-3.2.0-1.jar;C:\Users\ACER\.m2\repository\org\apache\poi\poi\3.16\poi-3.16.jar;C:\Users\ACER\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\ACER\.m2\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;C:\Users\ACER\.m2\repository\org\codehaus\plexus\plexus-interactivity-api\1.0-alpha-6\plexus-interactivity-api-1.0-alpha-6.jar;C:\Users\ACER\.m2\repository\org\codehaus\plexus\plexus-utils\1.4\plexus-utils-1.4.jar;C:\Users\ACER\.m2\repository\org\codehaus\plexus\plexus-component-api\1.0-alpha-16\plexus-component-api-1.0-alpha-16.jar;C:\Users\ACER\.m2\repository\org\codehaus\plexus\plexus-classworlds\1.2-alpha-7\plexus-classworlds-1.2-alpha-7.jar;C:\Users\ACER\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Users\ACER\.m2\repository\com\aventstack\extentreports\4.0.9\extentreports-4.0.9.jar;C:\Users\ACER\.m2\repository\org\freemarker\freemarker\2.3.23\freemarker-2.3.23.jar;C:\Users\ACER\.m2\repository\org\mongodb\mongodb-driver\3.3.0\mongodb-driver-3.3.0.jar;C:\Users\ACER\.m2\repository\org\mongodb\mongodb-driver-core\3.3.0\mongodb-driver-core-3.3.0.jar;C:\Users\ACER\.m2\repository\org\mongodb\bson\3.3.0\bson-3.3.0.jar;C:\Users\ACER\.m2\repository\org\apache\httpcomponents\httpmime\4.5.2\httpmime-4.5.2.jar;C:\Users\ACER\.m2\repository\org\apache\maven\surefire\surefire-testng-utils\2.21.0\surefire-testng-utils-2.21.0.jar;C:\Users\ACER\.m2\repository\org\apache\maven\surefire\surefire-grouper\2.21.0\surefire-grouper-2.21.0.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\ACER"/>
......@@ -32,7 +32,7 @@
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="surefire.real.class.path" value="C:\Users\ACER\AppData\Local\Temp\surefire572665214868434504\surefirebooter2436879422149574241.jar"/>
<property name="surefire.real.class.path" value="C:\Users\ACER\AppData\Local\Temp\surefire431687299872458708\surefirebooter4539916865364924946.jar"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_221\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_221\jre\classes"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
......@@ -61,11 +61,13 @@
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="52.0"/>
</properties>
<testcase name="testOne" classname="androidTest.TestApp" time="0.012">
<testcase name="testOne" classname="androidTest.TestApp" time="5.019">
<failure type="java.lang.NullPointerException">java.lang.NullPointerException
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.TestApp.testOne(TestApp.java:27)
</failure>
<system-err><![CDATA[Oct 29, 2019 5:55:04 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
<system-out><![CDATA[Test System Error feedback Cannot find user nameelement is: com.fromlabs.prEPAred:id/btn_login_account
]]></system-out>
<system-err><![CDATA[Oct 31, 2019 12:01:59 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: W3C
]]></system-err>
</testcase>
......
-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.129 s <<< FAILURE! - in TestSuite
testOne(androidTest.TestApp) Time elapsed: 0.012 s <<< FAILURE!
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.399 s <<< FAILURE! - in TestSuite
testOne(androidTest.TestApp) Time elapsed: 5.019 s <<< FAILURE!
java.lang.NullPointerException
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.TestApp.testOne(TestApp.java:27)
......@@ -9,13 +9,14 @@
<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">Suite1</th></tr>
<tr><td><a href="#t0">TestApps</a></td><td class="num">0</td><td class="num">0</td><td class="num attn">1</td><td class="num">16,264</td><td></td><td></td></tr>
<tr><td><a href="#t0">TestApps</a></td><td class="num">0</td><td class="num">0</td><td class="num attn">1</td><td class="num">29,157</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">Suite1</th></tr></tbody><tbody id="t0"><tr><th colspan="4">TestApps &#8212; failed</th></tr><tr class="failedeven"><td rowspan="1">androidTest.TestApp</td><td><a href="#m0">testOne</a></td><td rowspan="1">1572346504463</td><td rowspan="1">1</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">Suite1</th></tr></tbody><tbody id="t0"><tr><th colspan="4">TestApps &#8212; failed</th></tr><tr class="failedeven"><td rowspan="1">androidTest.TestApp</td><td><a href="#m0">testOne</a></td><td rowspan="1">1572498119295</td><td rowspan="1">5008</td></tr></tbody>
</table>
<h2>TestApps</h2><h3 id="m0">androidTest.TestApp#testOne</h3><table class="result"><tr><th>Exception</th></tr><tr><td><div class="stacktrace">java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
... Removed 29 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
</body>
</html>
......@@ -129,8 +129,9 @@
</a> <!-- testOne -->
<span class="method-name">testOne</span>
<div class="stack-trace">java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
... Removed 29 stack frames
</div> <!-- stack-trace -->
</div> <!-- method-content -->
......@@ -193,12 +194,12 @@ data.addRows(1);
data.setCell(0, 0, 0)
data.setCell(0, 1, 'testOne')
data.setCell(0, 2, 'androidTest.TestApp')
data.setCell(0, 3, 1);
data.setCell(0, 3, 5008);
window.suiteTableData['Suite1']= { tableData: data, tableDiv: 'times-div-Suite1'}
return data;
}
</script>
<span class="suite-total-time">Total running time: 1 ms</span>
<span class="suite-total-time">Total running time: 5 seconds</span>
<div id="times-div-Suite1">
</div> <!-- times-div-Suite1 -->
</div> <!-- times-div -->
......@@ -231,21 +232,21 @@ return data;
</div> <!-- configuration-suite before -->
<div class="configuration-test before">
<span class="method-name">Initial</span>
<span class="method-start">140 ms</span>
<span class="method-start">322 ms</span>
</div> <!-- configuration-test before -->
<div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">testOne</span>
<span class="method-start">15004 ms</span>
<span class="method-start">23244 ms</span>
</div> <!-- test-method -->
<div class="configuration-test after">
<span class="method-name">TearDown</span>
<span class="method-start">15017 ms</span>
<span class="method-start">28262 ms</span>
</div> <!-- configuration-test after -->
<div class="configuration-suite after">
<span class="method-name">reportTeardown</span>
<span class="method-start">16431 ms</span>
<span class="method-start">29505 ms</span>
</div> <!-- configuration-suite after -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- panel -->
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite skipped="0" hostname="DESKTOP-MSU26LA" name="androidTest.TestApp" tests="1" failures="0" timestamp="29 Oct 2019 10:55:05 GMT" time="0.001" errors="1">
<testcase name="testOne" time="0.001" classname="androidTest.TestApp">
<testsuite skipped="0" hostname="DESKTOP-MSU26LA" name="androidTest.TestApp" tests="1" failures="0" timestamp="31 Oct 2019 05:02:05 GMT" time="5.008" errors="1">
<testcase name="testOne" time="5.008" classname="androidTest.TestApp">
<error type="java.lang.NullPointerException">
<![CDATA[java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Suite1</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="75828b"> <td>19/10/29 17:54:49</td> <td>0</td> <td>&nbsp;</td><td title="&gt;&gt;TestApp.Initial()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;Initial</td>
<tr bgcolor="75828b"> <td>19/10/31 12:01:36</td> <td>0</td> <td>&nbsp;</td><td title="&gt;&gt;TestApp.Initial()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;Initial</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="75828b"> <td>19/10/29 17:55:04</td> <td>14877</td> <td>&nbsp;</td><td title="&lt;&lt;TestApp.TearDown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;TearDown</td>
<tr bgcolor="75828b"> <td>19/10/31 12:02:04</td> <td>27940</td> <td>&nbsp;</td><td title="&lt;&lt;TestApp.TearDown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;TearDown</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="7d6578"> <td>19/10/29 17:54:49</td> <td>-136</td> <td title="&gt;&gt;ExtentReportsSetup.reportSetup()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;reportSetup</td>
<tr bgcolor="7d6578"> <td>19/10/31 12:01:36</td> <td>-316</td> <td title="&gt;&gt;ExtentReportsSetup.reportSetup()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;reportSetup</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="7d6578"> <td>19/10/29 17:55:05</td> <td>16292</td> <td title="&lt;&lt;ExtentReportsSetup.reportTeardown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;reportTeardown</td>
<tr bgcolor="7d6578"> <td>19/10/31 12:02:05</td> <td>29183</td> <td title="&lt;&lt;ExtentReportsSetup.reportTeardown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;reportTeardown</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="75828b"> <td>19/10/29 17:55:04</td> <td>14864</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestApp.testOne()[pri:0, instance:androidTest.TestApp@68c4039c]">testOne</td>
<tr bgcolor="75828b"> <td>19/10/31 12:01:59</td> <td>22922</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestApp.testOne()[pri:0, instance:androidTest.TestApp@68c4039c]">testOne</td>
<td>main@1860944798</td> <td></td> </tr>
</table>
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Suite1</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="7d6578"> <td>19/10/29 17:54:49</td> <td>0</td> <td title="&gt;&gt;ExtentReportsSetup.reportSetup()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;reportSetup</td>
<tr bgcolor="7d6578"> <td>19/10/31 12:01:36</td> <td>0</td> <td title="&gt;&gt;ExtentReportsSetup.reportSetup()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;reportSetup</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="75828b"> <td>19/10/29 17:54:49</td> <td>136</td> <td>&nbsp;</td><td title="&gt;&gt;TestApp.Initial()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;Initial</td>
<tr bgcolor="75828b"> <td>19/10/31 12:01:36</td> <td>316</td> <td>&nbsp;</td><td title="&gt;&gt;TestApp.Initial()[pri:0, instance:androidTest.TestApp@68c4039c]">&gt;&gt;Initial</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="75828b"> <td>19/10/29 17:55:04</td> <td>15000</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestApp.testOne()[pri:0, instance:androidTest.TestApp@68c4039c]">testOne</td>
<tr bgcolor="75828b"> <td>19/10/31 12:01:59</td> <td>23238</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestApp.testOne()[pri:0, instance:androidTest.TestApp@68c4039c]">testOne</td>
<td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="75828b"> <td>19/10/29 17:55:04</td> <td>15013</td> <td>&nbsp;</td><td title="&lt;&lt;TestApp.TearDown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;TearDown</td>
<tr bgcolor="75828b"> <td>19/10/31 12:02:04</td> <td>28256</td> <td>&nbsp;</td><td title="&lt;&lt;TestApp.TearDown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;TearDown</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
<tr bgcolor="7d6578"> <td>19/10/29 17:55:05</td> <td>16428</td> <td title="&lt;&lt;ExtentReportsSetup.reportTeardown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;reportTeardown</td>
<tr bgcolor="7d6578"> <td>19/10/31 12:02:05</td> <td>29499</td> <td title="&lt;&lt;ExtentReportsSetup.reportTeardown()[pri:0, instance:androidTest.TestApp@68c4039c]">&lt;&lt;reportTeardown</td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1860944798</td> <td></td> </tr>
</table>
......@@ -2,25 +2,26 @@
<testng-results skipped="0" failed="1" ignored="0" total="1" passed="0">
<reporter-output>
</reporter-output>
<suite name="Suite1" duration-ms="16264" started-at="2019-10-29T10:54:49Z" finished-at="2019-10-29T10:55:05Z">
<suite name="Suite1" duration-ms="29157" started-at="2019-10-31T05:01:36Z" finished-at="2019-10-31T05:02:05Z">
<groups>
</groups>
<test name="TestApps" duration-ms="16264" started-at="2019-10-29T10:54:49Z" finished-at="2019-10-29T10:55:05Z">
<test name="TestApps" duration-ms="29157" started-at="2019-10-31T05:01:36Z" finished-at="2019-10-31T05:02:05Z">
<class name="androidTest.TestApp">
<test-method status="PASS" signature="reportSetup()[pri:0, instance:androidTest.TestApp@68c4039c]" name="reportSetup" is-config="true" duration-ms="140" started-at="2019-10-29T10:54:49Z" finished-at="2019-10-29T10:54:49Z">
<test-method status="PASS" signature="reportSetup()[pri:0, instance:androidTest.TestApp@68c4039c]" name="reportSetup" is-config="true" duration-ms="322" started-at="2019-10-31T05:01:36Z" finished-at="2019-10-31T05:01:36Z">
<reporter-output>
</reporter-output>
</test-method> <!-- reportSetup -->
<test-method status="PASS" signature="Initial()[pri:0, instance:androidTest.TestApp@68c4039c]" name="Initial" is-config="true" duration-ms="14848" started-at="2019-10-29T10:54:49Z" finished-at="2019-10-29T10:55:04Z">
<test-method status="PASS" signature="Initial()[pri:0, instance:androidTest.TestApp@68c4039c]" name="Initial" is-config="true" duration-ms="22903" started-at="2019-10-31T05:01:36Z" finished-at="2019-10-31T05:01:59Z">
<reporter-output>
</reporter-output>
</test-method> <!-- Initial -->
<test-method status="FAIL" signature="testOne()[pri:0, instance:androidTest.TestApp@68c4039c]" name="testOne" duration-ms="1" started-at="2019-10-29T10:55:04Z" finished-at="2019-10-29T10:55:04Z">
<test-method status="FAIL" signature="testOne()[pri:0, instance:androidTest.TestApp@68c4039c]" name="testOne" duration-ms="5008" started-at="2019-10-31T05:01:59Z" finished-at="2019-10-31T05:02:04Z">
<exception class="java.lang.NullPointerException">
<full-stacktrace>
<![CDATA[java.lang.NullPointerException
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:49)
at androidTest.TestApp.testOne(TestApp.java:28)
at androidTest.loginTestPackage.loginActionChain.submitClick(loginActionChain.java:15)
at androidTest.loginTestPackage.loginActionChain.loginFail(loginActionChain.java:51)
at androidTest.TestApp.testOne(TestApp.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -56,11 +57,11 @@ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
<reporter-output>
</reporter-output>
</test-method> <!-- testOne -->
<test-method status="PASS" signature="TearDown()[pri:0, instance:androidTest.TestApp@68c4039c]" name="TearDown" is-config="true" duration-ms="1387" started-at="2019-10-29T10:55:04Z" finished-at="2019-10-29T10:55:05Z">
<test-method status="PASS" signature="TearDown()[pri:0, instance:androidTest.TestApp@68c4039c]" name="TearDown" is-config="true" duration-ms="1217" started-at="2019-10-31T05:02:04Z" finished-at="2019-10-31T05:02:05Z">
<reporter-output>
</reporter-output>
</test-method> <!-- TearDown -->
<test-method status="PASS" signature="reportTeardown()[pri:0, instance:androidTest.TestApp@68c4039c]" name="reportTeardown" is-config="true" duration-ms="2" started-at="2019-10-29T10:55:05Z" finished-at="2019-10-29T10:55:05Z">
<test-method status="PASS" signature="reportTeardown()[pri:0, instance:androidTest.TestApp@68c4039c]" name="reportTeardown" is-config="true" duration-ms="2" started-at="2019-10-31T05:02:05Z" finished-at="2019-10-31T05:02:05Z">
<reporter-output>
</reporter-output>
</test-method> <!-- reportTeardown -->
......
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment