提交 fc1f76f3 authored 作者: mry's avatar mry

feat(CRUD测试):完成了基本的增删改查功能的测试

上级 f22714a0
...@@ -3,12 +3,20 @@ package com.tykj.selenium; ...@@ -3,12 +3,20 @@ package com.tykj.selenium;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration; import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.testng.TestNG;
import java.util.ArrayList;
import java.util.List;
@SpringBootApplication(scanBasePackages = {"com.tykj.selenium"},exclude = MongoAutoConfiguration.class) @SpringBootApplication(scanBasePackages = {"com.tykj.selenium"},exclude = MongoAutoConfiguration.class)
public class SeleniumApplication { public class SeleniumApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(SeleniumApplication.class,args); // SpringApplication.run(SeleniumApplication.class,args);
List<String> suites = new ArrayList<String>();
suites.add("testng.xml");
TestNG testNG = new TestNG();
testNG.setTestSuites(suites);
testNG.run();
} }
} }
...@@ -235,11 +235,8 @@ public class ConferenceActive { ...@@ -235,11 +235,8 @@ public class ConferenceActive {
List<WebElement> rows = tbody.findElements(By.className("el-table__row")); List<WebElement> rows = tbody.findElements(By.className("el-table__row"));
for (WebElement row : rows) { for (WebElement row : rows) {
String name = row.findElement(By.cssSelector(".el-table_2_column_9.el-table__cell")).getText(); String name = row.findElement(By.cssSelector(".el-table_2_column_9.el-table__cell")).getText();
System.out.println(name);
String number = row.findElement(By.cssSelector(".el-table_2_column_12.el-table__cell")).getText(); String number = row.findElement(By.cssSelector(".el-table_2_column_12.el-table__cell")).getText();
System.out.println(number);
String scale = row.findElement(By.cssSelector(".el-table_2_column_11.el-table__cell")).getText(); String scale = row.findElement(By.cssSelector(".el-table_2_column_11.el-table__cell")).getText();
System.out.println(scale);
if (name.indexOf("G") != (-1) && "130".equals(number) && "中型会议室".equals(scale)) { if (name.indexOf("G") != (-1) && "130".equals(number) && "中型会议室".equals(scale)) {
test = "查询成功"; test = "查询成功";
} else { } else {
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!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><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}</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">testng</th></tr><tr><td><a href="#t0">test</a></td><td class="num">1</td><td class="num">0</td><td class="num">0</td><td class="num">33,263</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">testng</th></tr></tbody><tbody id="t0"><tr><th colspan="4">test &#8212; passed</th></tr><tr class="passedeven"><td rowspan="1">com.tykj.selenium.conferenceRoomTest.ConferenceActive</td><td><a href="#m0">url</a></td><td rowspan="1">1639104392017</td><td rowspan="1">32472</td></tr></tbody></table><h2>test</h2><h3 id="m0">com.tykj.selenium.conferenceRoomTest.ConferenceActive#url</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p></body></html> <html xmlns="http://www.w3.org/1999/xhtml"><head><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}</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">testng</th></tr><tr><td><a href="#t0">test</a></td><td class="num">7</td><td class="num">0</td><td class="num attn">5</td><td class="num">58,651</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">testng</th></tr></tbody><tbody id="t0"><tr><th colspan="4">test &#8212; failed</th></tr><tr class="failedeven"><td rowspan="5">com.tykj.selenium.conferenceRoomTest.ConferenceActive</td><td><a href="#m0">findUnNumber</a></td><td rowspan="1">1639381900196</td><td rowspan="1">1426</td></tr><tr class="failedeven"><td><a href="#m1">insertErrorMeet</a></td><td rowspan="1">1639381915368</td><td rowspan="1">3148</td></tr><tr class="failedeven"><td><a href="#m2">insertNullMeetFail</a></td><td rowspan="1">1639381913612</td><td rowspan="1">1756</td></tr><tr class="failedeven"><td><a href="#m3">updateErrorMeet</a></td><td rowspan="1">1639381918516</td><td rowspan="1">2820</td></tr><tr class="failedeven"><td><a href="#m4">updateMeet</a></td><td rowspan="1">1639381921336</td><td rowspan="1">3535</td></tr><tr><th colspan="4">test &#8212; passed</th></tr><tr class="passedeven"><td rowspan="7">com.tykj.selenium.conferenceRoomTest.ConferenceActive</td><td><a href="#m5">deleteMeet</a></td><td rowspan="1">1639381924871</td><td rowspan="1">1623</td></tr><tr class="passedeven"><td><a href="#m6">findMeet</a></td><td rowspan="1">1639381908282</td><td rowspan="1">2383</td></tr><tr class="passedeven"><td><a href="#m7">findMeetName</a></td><td rowspan="1">1639381901622</td><td rowspan="1">1611</td></tr><tr class="passedeven"><td><a href="#m8">findNumberMeet</a></td><td rowspan="1">1639381903233</td><td rowspan="1">1650</td></tr><tr class="passedeven"><td><a href="#m9">findScaleMeet</a></td><td rowspan="1">1639381904883</td><td rowspan="1">3399</td></tr><tr class="passedeven"><td><a href="#m10">insertMeet</a></td><td rowspan="1">1639381910665</td><td rowspan="1">2947</td></tr><tr class="passedeven"><td><a href="#m11">resetTest</a></td><td rowspan="1">1639381868514</td><td rowspan="1">31681</td></tr></tbody></table><h2>test</h2><h3 id="m0">com.tykj.selenium.conferenceRoomTest.ConferenceActive#findUnNumber</h3><table class="result"><tr><th>Messages</th></tr><tr><td><div class="messages"><a href=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png target=_blank>这是失败截图</a><br/><img src=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png style=width:30px;height:30px /></div></td></tr><tr><th>Exception</th></tr><tr><td><div class="stacktrace">java.lang.AssertionError: Unable to locate element: .el\-message__content
\ No newline at end of file For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &apos;3.14.0&apos;, revision: &apos;aacccce0&apos;, time: &apos;2018-08-02T20:19:58.91Z&apos;
System info: host: &apos;DESKTOP-R9I5LK7&apos;, ip: &apos;192.168.150.1&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_161&apos;
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m1">com.tykj.selenium.conferenceRoomTest.ConferenceActive#insertErrorMeet</h3><table class="result"><tr><th>Messages</th></tr><tr><td><div class="messages"><a href=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png target=_blank>这是失败截图</a><br/><img src=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png style=width:30px;height:30px /></div></td></tr><tr><th>Exception</th></tr><tr><td><div class="stacktrace">java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m2">com.tykj.selenium.conferenceRoomTest.ConferenceActive#insertNullMeetFail</h3><table class="result"><tr><th>Messages</th></tr><tr><td><div class="messages"><a href=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png target=_blank>这是失败截图</a><br/><img src=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png style=width:30px;height:30px /></div></td></tr><tr><th>Exception</th></tr><tr><td><div class="stacktrace">java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m3">com.tykj.selenium.conferenceRoomTest.ConferenceActive#updateErrorMeet</h3><table class="result"><tr><th>Messages</th></tr><tr><td><div class="messages"><a href=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png target=_blank>这是失败截图</a><br/><img src=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png style=width:30px;height:30px /></div></td></tr><tr><th>Exception</th></tr><tr><td><div class="stacktrace">java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m4">com.tykj.selenium.conferenceRoomTest.ConferenceActive#updateMeet</h3><table class="result"><tr><th>Messages</th></tr><tr><td><div class="messages"><a href=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png target=_blank>这是失败截图</a><br/><img src=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png style=width:30px;height:30px /></div></td></tr><tr><th>Exception</th></tr><tr><td><div class="stacktrace">java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m5">com.tykj.selenium.conferenceRoomTest.ConferenceActive#deleteMeet</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m6">com.tykj.selenium.conferenceRoomTest.ConferenceActive#findMeet</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m7">com.tykj.selenium.conferenceRoomTest.ConferenceActive#findMeetName</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m8">com.tykj.selenium.conferenceRoomTest.ConferenceActive#findNumberMeet</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m9">com.tykj.selenium.conferenceRoomTest.ConferenceActive#findScaleMeet</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m10">com.tykj.selenium.conferenceRoomTest.ConferenceActive#insertMeet</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m11">com.tykj.selenium.conferenceRoomTest.ConferenceActive#resetTest</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p></body></html>
\ No newline at end of file
...@@ -24,7 +24,7 @@ ...@@ -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, 5 failed tests</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 @@ ...@@ -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="#" class="navigator-link" panel-name="suite-testng"> <a href="#" class="navigator-link" panel-name="suite-testng">
<span class="suite-name border-passed">testng</span> <span class="suite-name border-failed">testng</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,7 +91,41 @@ ...@@ -91,7 +91,41 @@
<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">12 methods, 5 failed, 7 passed</span>
</li>
<li>
<span class="method-list-title failed">Failed methods</span>
<span class="show-or-hide-methods failed">
<a href="#" panel-name="suite-testng" class="hide-methods failed suite-testng"> (hide)</a> <!-- hide-methods failed suite-testng -->
<a href="#" panel-name="suite-testng" class="show-methods failed suite-testng"> (show)</a> <!-- show-methods failed suite-testng -->
</span>
<div class="method-list-content failed suite-testng">
<span>
<img width="3%" src="failed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="findUnNumber">findUnNumber</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="failed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="insertErrorMeet">insertErrorMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="failed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="insertNullMeetFail">insertNullMeetFail</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="failed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="updateErrorMeet">updateErrorMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="failed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="updateMeet">updateMeet</a> <!-- method navigator-link -->
</span>
<br/>
</div> <!-- method-list-content failed suite-testng -->
</li> </li>
<li> <li>
<span class="method-list-title passed">Passed methods</span> <span class="method-list-title passed">Passed methods</span>
...@@ -102,7 +136,37 @@ ...@@ -102,7 +136,37 @@
<div class="method-list-content passed suite-testng"> <div class="method-list-content passed suite-testng">
<span> <span>
<img width="3%" src="passed.png"/> <img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="url">url</a> <!-- method navigator-link --> <a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="deleteMeet">deleteMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="findMeet">findMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="findMeetName">findMeetName</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="findNumberMeet">findNumberMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="findScaleMeet">findScaleMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="insertMeet">insertMeet</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-testng" title="com.tykj.selenium.conferenceRoomTest.ConferenceActive" hash-for-method="resetTest">resetTest</a> <!-- method navigator-link -->
</span> </span>
<br/> <br/>
</div> <!-- method-list-content passed suite-testng --> </div> <!-- method-list-content passed suite-testng -->
...@@ -117,6 +181,91 @@ ...@@ -117,6 +181,91 @@
<div class="wrapper"> <div class="wrapper">
<div class="main-panel-root"> <div class="main-panel-root">
<div panel-name="suite-testng" class="panel testng"> <div panel-name="suite-testng" class="panel testng">
<div class="suite-testng-class-failed">
<div class="main-panel-header rounded-window-top">
<img src="failed.png"/>
<span class="class-name">com.tykj.selenium.conferenceRoomTest.ConferenceActive</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="findUnNumber">
</a> <!-- findUnNumber -->
<span class="method-name">findUnNumber</span>
<div class="stack-trace">java.lang.AssertionError: Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &apos;3.14.0&apos;, revision: &apos;aacccce0&apos;, time: &apos;2018-08-02T20:19:58.91Z&apos;
System info: host: &apos;DESKTOP-R9I5LK7&apos;, ip: &apos;192.168.150.1&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_161&apos;
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames
</div> <!-- stack-trace -->
<em>
(查询人数,输入负号) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="insertErrorMeet">
</a> <!-- insertErrorMeet -->
<span class="method-name">insertErrorMeet</span>
<div class="stack-trace">java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames
</div> <!-- stack-trace -->
<em>
(新增错误会议室) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="insertNullMeetFail">
</a> <!-- insertNullMeetFail -->
<span class="method-name">insertNullMeetFail</span>
<div class="stack-trace">java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames
</div> <!-- stack-trace -->
<em>
(新增null会议) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="updateErrorMeet">
</a> <!-- updateErrorMeet -->
<span class="method-name">updateErrorMeet</span>
<div class="stack-trace">java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames
</div> <!-- stack-trace -->
<em>
(修改成错误会议室) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="updateMeet">
</a> <!-- updateMeet -->
<span class="method-name">updateMeet</span>
<div class="stack-trace">java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames
</div> <!-- stack-trace -->
<em>
(会议室信息修改成功测试) </em>
</div> <!-- method-content -->
</div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- suite-testng-class-failed -->
<div class="suite-testng-class-passed"> <div class="suite-testng-class-passed">
<div class="main-panel-header rounded-window-top"> <div class="main-panel-header rounded-window-top">
<img src="passed.png"/> <img src="passed.png"/>
...@@ -125,9 +274,65 @@ ...@@ -125,9 +274,65 @@
<div class="main-panel-content rounded-window-bottom"> <div class="main-panel-content rounded-window-bottom">
<div class="method"> <div class="method">
<div class="method-content"> <div class="method-content">
<a name="url"> <a name="deleteMeet">
</a> <!-- url --> </a> <!-- deleteMeet -->
<span class="method-name">url</span> <span class="method-name">deleteMeet</span>
<em>
(会议室删除测试) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="findMeet">
</a> <!-- findMeet -->
<span class="method-name">findMeet</span>
<em>
(所有条件查询会议室) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="findMeetName">
</a> <!-- findMeetName -->
<span class="method-name">findMeetName</span>
<em>
(会议室模糊查询) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="findNumberMeet">
</a> <!-- findNumberMeet -->
<span class="method-name">findNumberMeet</span>
<em>
(容纳人数精准查询) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="findScaleMeet">
</a> <!-- findScaleMeet -->
<span class="method-name">findScaleMeet</span>
<em>
(按照会议室规模查询) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="insertMeet">
</a> <!-- insertMeet -->
<span class="method-name">insertMeet</span>
<em>
(会议室新增测试) </em>
</div> <!-- method-content -->
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="resetTest">
</a> <!-- resetTest -->
<span class="method-name">resetTest</span>
<em>
(验证重置按钮) </em>
</div> <!-- method-content --> </div> <!-- method-content -->
</div> <!-- method --> </div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
...@@ -149,7 +354,18 @@ ...@@ -149,7 +354,18 @@
&lt;classes&gt; &lt;classes&gt;
&lt;class name=&quot;com.tykj.selenium.conferenceRoomTest.ConferenceActive&quot;&gt; &lt;class name=&quot;com.tykj.selenium.conferenceRoomTest.ConferenceActive&quot;&gt;
&lt;methods&gt; &lt;methods&gt;
&lt;include name=&quot;url&quot;/&gt; &lt;include name=&quot;resetTest&quot;/&gt;
&lt;include name=&quot;findUnNumber&quot;/&gt;
&lt;include name=&quot;findMeetName&quot;/&gt;
&lt;include name=&quot;findNumberMeet&quot;/&gt;
&lt;include name=&quot;findScaleMeet&quot;/&gt;
&lt;include name=&quot;findMeet&quot;/&gt;
&lt;include name=&quot;insertMeet&quot;/&gt;
&lt;include name=&quot;insertNullMeetFail&quot;/&gt;
&lt;include name=&quot;insertErrorMeet&quot;/&gt;
&lt;include name=&quot;updateErrorMeet&quot;/&gt;
&lt;include name=&quot;updateMeet&quot;/&gt;
&lt;include name=&quot;deleteMeet&quot;/&gt;
&lt;/methods&gt; &lt;/methods&gt;
&lt;/class&gt; &lt;!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive --&gt; &lt;/class&gt; &lt;!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive --&gt;
&lt;/classes&gt; &lt;/classes&gt;
...@@ -191,16 +407,60 @@ data.addColumn('number', 'Number'); ...@@ -191,16 +407,60 @@ data.addColumn('number', 'Number');
data.addColumn('string', 'Method'); data.addColumn('string', 'Method');
data.addColumn('string', 'Class'); data.addColumn('string', 'Class');
data.addColumn('number', 'Time (ms)'); data.addColumn('number', 'Time (ms)');
data.addRows(1); data.addRows(12);
data.setCell(0, 0, 0) data.setCell(0, 0, 0)
data.setCell(0, 1, 'url') data.setCell(0, 1, 'resetTest')
data.setCell(0, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive') data.setCell(0, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(0, 3, 32472); data.setCell(0, 3, 31681);
data.setCell(1, 0, 1)
data.setCell(1, 1, 'updateMeet')
data.setCell(1, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(1, 3, 3535);
data.setCell(2, 0, 2)
data.setCell(2, 1, 'findScaleMeet')
data.setCell(2, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(2, 3, 3399);
data.setCell(3, 0, 3)
data.setCell(3, 1, 'insertErrorMeet')
data.setCell(3, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(3, 3, 3148);
data.setCell(4, 0, 4)
data.setCell(4, 1, 'insertMeet')
data.setCell(4, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(4, 3, 2947);
data.setCell(5, 0, 5)
data.setCell(5, 1, 'updateErrorMeet')
data.setCell(5, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(5, 3, 2820);
data.setCell(6, 0, 6)
data.setCell(6, 1, 'findMeet')
data.setCell(6, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(6, 3, 2383);
data.setCell(7, 0, 7)
data.setCell(7, 1, 'insertNullMeetFail')
data.setCell(7, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(7, 3, 1756);
data.setCell(8, 0, 8)
data.setCell(8, 1, 'findNumberMeet')
data.setCell(8, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(8, 3, 1650);
data.setCell(9, 0, 9)
data.setCell(9, 1, 'deleteMeet')
data.setCell(9, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(9, 3, 1623);
data.setCell(10, 0, 10)
data.setCell(10, 1, 'findMeetName')
data.setCell(10, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(10, 3, 1611);
data.setCell(11, 0, 11)
data.setCell(11, 1, 'findUnNumber')
data.setCell(11, 2, 'com.tykj.selenium.conferenceRoomTest.ConferenceActive')
data.setCell(11, 3, 1426);
window.suiteTableData['testng']= { tableData: data, tableDiv: 'times-div-testng'} window.suiteTableData['testng']= { tableData: data, tableDiv: 'times-div-testng'}
return data; return data;
} }
</script> </script>
<span class="suite-total-time">Total running time: 32 seconds</span> <span class="suite-total-time">Total running time: 57 seconds</span>
<div id="times-div-testng"> <div id="times-div-testng">
</div> <!-- times-div-testng --> </div> <!-- times-div-testng -->
</div> <!-- times-div --> </div> <!-- times-div -->
...@@ -211,6 +471,41 @@ return data; ...@@ -211,6 +471,41 @@ return data;
<span class="header-content">Reporter output for testng</span> <span class="header-content">Reporter output for testng</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">
<div class="reporter-method-div">
<span class="reporter-method-name">updateMeet</span>
<div class="reporter-method-output-div">
<span class="reporter-method-output"><a href=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png target=_blank>这是失败截图</a></span>
<span class="reporter-method-output"><img src=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png style=width:30px;height:30px /></span>
</div> <!-- reporter-method-output-div -->
</div> <!-- reporter-method-div -->
<div class="reporter-method-div">
<span class="reporter-method-name">insertErrorMeet</span>
<div class="reporter-method-output-div">
<span class="reporter-method-output"><a href=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png target=_blank>这是失败截图</a></span>
<span class="reporter-method-output"><img src=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png style=width:30px;height:30px /></span>
</div> <!-- reporter-method-output-div -->
</div> <!-- reporter-method-div -->
<div class="reporter-method-div">
<span class="reporter-method-name">updateErrorMeet</span>
<div class="reporter-method-output-div">
<span class="reporter-method-output"><a href=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png target=_blank>这是失败截图</a></span>
<span class="reporter-method-output"><img src=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png style=width:30px;height:30px /></span>
</div> <!-- reporter-method-output-div -->
</div> <!-- reporter-method-div -->
<div class="reporter-method-div">
<span class="reporter-method-name">findUnNumber</span>
<div class="reporter-method-output-div">
<span class="reporter-method-output"><a href=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png target=_blank>这是失败截图</a></span>
<span class="reporter-method-output"><img src=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png style=width:30px;height:30px /></span>
</div> <!-- reporter-method-output-div -->
</div> <!-- reporter-method-div -->
<div class="reporter-method-div">
<span class="reporter-method-name">insertNullMeetFail</span>
<div class="reporter-method-output-div">
<span class="reporter-method-output"><a href=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png target=_blank>这是失败截图</a></span>
<span class="reporter-method-output"><img src=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png style=width:30px;height:30px /></span>
</div> <!-- reporter-method-output-div -->
</div> <!-- reporter-method-div -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- panel --> </div> <!-- panel -->
<div panel-name="ignored-methods-testng" class="panel"> <div panel-name="ignored-methods-testng" class="panel">
...@@ -228,12 +523,66 @@ return data; ...@@ -228,12 +523,66 @@ return data;
<div class="chronological-class"> <div class="chronological-class">
<div class="chronological-class-name">com.tykj.selenium.conferenceRoomTest.ConferenceActive</div> <!-- chronological-class-name --> <div class="chronological-class-name">com.tykj.selenium.conferenceRoomTest.ConferenceActive</div> <!-- chronological-class-name -->
<div class="test-method"> <div class="test-method">
<span class="method-name">url</span> <span class="method-name">resetTest</span>
<span class="method-start">0 ms</span> <span class="method-start">0 ms</span>
</div> <!-- test-method --> </div> <!-- test-method -->
<div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">findUnNumber</span>
<span class="method-start">31682 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<span class="method-name">findMeetName</span>
<span class="method-start">33108 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<span class="method-name">findNumberMeet</span>
<span class="method-start">34719 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<span class="method-name">findScaleMeet</span>
<span class="method-start">36369 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<span class="method-name">findMeet</span>
<span class="method-start">39768 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<span class="method-name">insertMeet</span>
<span class="method-start">42151 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">insertNullMeetFail</span>
<span class="method-start">45098 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">insertErrorMeet</span>
<span class="method-start">46854 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">updateErrorMeet</span>
<span class="method-start">50002 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<img src="failed.png">
</img>
<span class="method-name">updateMeet</span>
<span class="method-start">52822 ms</span>
</div> <!-- test-method -->
<div class="test-method">
<span class="method-name">deleteMeet</span>
<span class="method-start">56357 ms</span>
</div> <!-- test-method -->
<div class="configuration-class after"> <div class="configuration-class after">
<span class="method-name">quit</span> <span class="method-name">quit</span>
<span class="method-start">32472 ms</span> <span class="method-start">57980 ms</span>
</div> <!-- configuration-class after --> </div> <!-- configuration-class after -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- panel --> </div> <!-- panel -->
......
<?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 name="com.tykj.selenium.conferenceRoomTest.ConferenceActive" tests="1" time="32.472" ignored="0" failures="0" timestamp="10 Dec 2021 02:47:05 GMT" skipped="0" hostname="DESKTOP-R9I5LK7" errors="0"> <testsuite name="com.tykj.selenium.conferenceRoomTest.ConferenceActive" tests="12" time="57.979" ignored="0" failures="5" timestamp="13 Dec 2021 07:52:07 GMT" skipped="0" hostname="DESKTOP-R9I5LK7" errors="0">
<testcase name="url" time="32.472" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/> <testcase name="findNumberMeet" time="1.650" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="updateMeet" time="3.535" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [新增成功!] but found [修改成功!]">
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</failure>
</testcase> <!-- updateMeet -->
<testcase name="insertMeet" time="2.947" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findScaleMeet" time="3.399" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findMeetName" time="1.611" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="insertErrorMeet" time="3.148" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [新增成功!] but found [新增失败!]">
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</failure>
</testcase> <!-- insertErrorMeet -->
<testcase name="updateErrorMeet" time="2.820" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [新增成功!] but found [修改失败!]">
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</failure>
</testcase> <!-- updateErrorMeet -->
<testcase name="resetTest" time="31.681" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="deleteMeet" time="1.623" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findMeet" time="2.383" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findUnNumber" time="1.426" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &#039;3.14.0&#039;, revision: &#039;aacccce0&#039;, time: &#039;2018-08-02T20:19:58.91Z&#039;
System info: host: &#039;DESKTOP-R9I5LK7&#039;, ip: &#039;192.168.150.1&#039;, os.name: &#039;Windows 10&#039;, os.arch: &#039;amd64&#039;, os.version: &#039;10.0&#039;, java.version: &#039;1.8.0_161&#039;
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}">
<![CDATA[java.lang.AssertionError: Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'DESKTOP-R9I5LK7', ip: '192.168.150.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</failure>
</testcase> <!-- findUnNumber -->
<testcase name="insertNullMeetFail" time="1.756" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [请输入会议室名称] but found [请输入会议室规模]">
<![CDATA[java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</failure>
</testcase> <!-- insertNullMeetFail -->
</testsuite> <!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive --> </testsuite> <!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive -->
...@@ -4,6 +4,6 @@ ...@@ -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>7</em></td><td><em>5</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-passed'><td><a href='testng/index.html'>testng</a></td> <tr align='center' class='invocation-failed'><td><a href='testng/index.html'>testng</a></td>
<td>1</td><td>0</td><td>0</td><td><a href='testng/testng.xml.html'>Link</a></td></tr></table></body></html> <td>7</td><td>5</td><td>0</td><td><a href='testng/testng.xml.html'>Link</a></td></tr></table></body></html>
...@@ -11,7 +11,51 @@ ...@@ -11,7 +11,51 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>url</td> <td>findMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>resetTest</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>insertMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>findUnNumber</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>deleteMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>updateMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>insertErrorMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>findMeetName</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>findNumberMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>updateErrorMeet</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>insertNullMeetFail</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>findScaleMeet</td>
<td>&nbsp;</td></tr> <td>&nbsp;</td></tr>
<tr> <tr>
<td align='center' colspan='3'>@BeforeClass</td> <td align='center' colspan='3'>@BeforeClass</td>
......
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>testng</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>testng</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="6ae0ad"> <td>21/12/10 10:47:04</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;ConferenceActive.quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))]">&lt;&lt;quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td> <tr bgcolor="6ae0ad"> <td>21/12/13 15:52:04</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.deleteMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">deleteMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1354083458</td> <td></td> </tr> <td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/10 10:46:32</td> <td>-32471</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.url()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))]">url()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td> <tr bgcolor="6ae0ad"> <td>21/12/13 15:51:48</td> <td>-16589</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@1354083458</td> <td></td> </tr> <td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:41</td> <td>-23249</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findMeetName()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findMeetName()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:43</td> <td>-21638</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findNumberMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findNumberMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:44</td> <td>-19988</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findScaleMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findScaleMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:40</td> <td>-24675</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findUnNumber()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findUnNumber()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:55</td> <td>-9503</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.insertErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">insertErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:50</td> <td>-14206</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.insertMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">insertMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:53</td> <td>-11259</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.insertNullMeetFail()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">insertNullMeetFail()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:52:06</td> <td>1623</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;ConferenceActive.quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">&lt;&lt;quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:08</td> <td>-56357</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.resetTest()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">resetTest()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:58</td> <td>-6355</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.updateErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">updateErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:52:01</td> <td>-3535</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.updateMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">updateMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
</table> </table>
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>testng</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>testng</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="6ae0ad"> <td>21/12/10 10:46:32</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.url()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))]">url()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td> <tr bgcolor="6ae0ad"> <td>21/12/13 15:51:08</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.resetTest()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">resetTest()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@1354083458</td> <td></td> </tr> <td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/10 10:47:04</td> <td>32471</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;ConferenceActive.quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))]">&lt;&lt;quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td> <tr bgcolor="6ae0ad"> <td>21/12/13 15:51:40</td> <td>31682</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findUnNumber()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findUnNumber()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@1354083458</td> <td></td> </tr> <td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:41</td> <td>33108</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findMeetName()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findMeetName()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:43</td> <td>34719</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findNumberMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findNumberMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:44</td> <td>36369</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findScaleMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findScaleMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:48</td> <td>39768</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.findMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">findMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:50</td> <td>42151</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.insertMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">insertMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:53</td> <td>45098</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.insertNullMeetFail()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">insertNullMeetFail()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:55</td> <td>46854</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.insertErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">insertErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:51:58</td> <td>50002</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.updateErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">updateErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:52:01</td> <td>52822</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.updateMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">updateMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:52:04</td> <td>56357</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="ConferenceActive.deleteMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">deleteMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>main@270095066</td> <td></td> </tr>
<tr bgcolor="6ae0ad"> <td>21/12/13 15:52:06</td> <td>57980</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;ConferenceActive.quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]">&lt;&lt;quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS </td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@270095066</td> <td></td> </tr>
</table> </table>
<h2>Reporter output</h2><table></table> <h2>Reporter output</h2><table><tr><td><a href=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png target=_blank>这是失败截图</a></td></tr>
\ No newline at end of file <tr><td><img src=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png style=width:30px;height:30px /></td></tr>
<tr><td><a href=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png target=_blank>这是失败截图</a></td></tr>
<tr><td><img src=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png style=width:30px;height:30px /></td></tr>
<tr><td><a href=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png target=_blank>这是失败截图</a></td></tr>
<tr><td><img src=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png style=width:30px;height:30px /></td></tr>
<tr><td><a href=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png target=_blank>这是失败截图</a></td></tr>
<tr><td><img src=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png style=width:30px;height:30px /></td></tr>
<tr><td><a href=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png target=_blank>这是失败截图</a></td></tr>
<tr><td><img src=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png style=width:30px;height:30px /></td></tr>
</table>
\ No newline at end of file
<html><head><title>testng.xml for testng</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="testng"&gt;<br/>&nbsp;&nbsp;&lt;listeners&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;listener&nbsp;class-name="com.tykj.selenium.extentsreport.ExtentTestNGIReporterListener"/&gt;<br/>&nbsp;&nbsp;&lt;/listeners&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;name="test"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.tykj.selenium.conferenceRoomTest.ConferenceActive"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;methods&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="url"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/methods&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/class&gt;&nbsp;&lt;!--&nbsp;com.tykj.selenium.conferenceRoomTest.ConferenceActive&nbsp;--&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;testng&nbsp;--&gt;<br/></tt></body></html> <html><head><title>testng.xml for testng</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="testng"&gt;<br/>&nbsp;&nbsp;&lt;listeners&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;listener&nbsp;class-name="com.tykj.selenium.extentsreport.ExtentTestNGIReporterListener"/&gt;<br/>&nbsp;&nbsp;&lt;/listeners&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;name="test"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.tykj.selenium.conferenceRoomTest.ConferenceActive"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;methods&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="resetTest"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="findUnNumber"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="findMeetName"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="findNumberMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="findScaleMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="findMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="insertMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="insertNullMeetFail"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="insertErrorMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="updateErrorMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="updateMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="deleteMeet"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/methods&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/class&gt;&nbsp;&lt;!--&nbsp;com.tykj.selenium.conferenceRoomTest.ConferenceActive&nbsp;--&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;testng&nbsp;--&gt;<br/></tt></body></html>
\ No newline at end of file \ No newline at end of file
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<tr valign='top'> <tr valign='top'>
<td>1 test</td> <td>1 test</td>
<td><a target='mainFrame' href='classes.html'>1 class</a></td> <td><a target='mainFrame' href='classes.html'>1 class</a></td>
<td>1 method:<br/> <td>12 methods:<br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><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-alphabetical.html'>alphabetical</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> &nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
...@@ -20,9 +20,9 @@ ...@@ -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'>test (1/0/0)</td><td valign='top' align='right'> <table style='width: 100%'><tr><td valign='top'>test (7/5/0)</td><td valign='top' align='right'>
<a href='test.html' target='mainFrame'>Results</a> <a href='test.html' target='mainFrame'>Results</a>
</td></tr></table> </td></tr></table>
</td></tr><p/> </td></tr><p/>
......
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
<classes> <classes>
<class name="com.tykj.selenium.conferenceRoomTest.ConferenceActive"> <class name="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<methods> <methods>
<include name="url"/> <include name="insertErrorMeet"/>
<include name="updateMeet"/>
<include name="findUnNumber"/>
<include name="updateErrorMeet"/>
<include name="insertNullMeetFail"/>
<include name="quit"/> <include name="quit"/>
</methods> </methods>
</class> <!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive --> </class> <!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive -->
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<testng-results skipped="0" failed="0" ignored="0" total="1" passed="1"> <testng-results skipped="0" failed="5" ignored="0" total="12" passed="7">
<reporter-output> <reporter-output>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png style=width:30px;height:30px />]]>
</line>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png style=width:30px;height:30px />]]>
</line>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png style=width:30px;height:30px />]]>
</line>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png style=width:30px;height:30px />]]>
</line>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png style=width:30px;height:30px />]]>
</line>
</reporter-output> </reporter-output>
<suite name="testng" duration-ms="33263" started-at="2021-12-10T02:46:32Z" finished-at="2021-12-10T02:47:05Z"> <suite name="testng" duration-ms="58651" started-at="2021-12-13T07:51:08Z" finished-at="2021-12-13T07:52:07Z">
<groups> <groups>
</groups> </groups>
<test name="test" duration-ms="33263" started-at="2021-12-10T02:46:32Z" finished-at="2021-12-10T02:47:05Z"> <test name="test" duration-ms="58651" started-at="2021-12-13T07:51:08Z" finished-at="2021-12-13T07:52:07Z">
<class name="com.tykj.selenium.conferenceRoomTest.ConferenceActive"> <class name="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<test-method status="PASS" signature="url()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))]" name="url" duration-ms="32472" started-at="2021-12-10T10:46:32Z" finished-at="2021-12-10T10:47:04Z"> <test-method status="PASS" signature="resetTest()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="resetTest" duration-ms="31681" started-at="2021-12-13T15:51:08Z" description="验证重置按钮" finished-at="2021-12-13T15:51:40Z">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- url --> </test-method> <!-- resetTest -->
<test-method status="PASS" signature="quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))]" name="quit" is-config="true" duration-ms="783" started-at="2021-12-10T10:47:04Z" finished-at="2021-12-10T10:47:05Z"> <test-method status="FAIL" signature="findUnNumber()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="findUnNumber" duration-ms="1426" started-at="2021-12-13T15:51:40Z" description="查询人数,输入负号" finished-at="2021-12-13T15:51:41Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'DESKTOP-R9I5LK7', ip: '192.168.150.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}]]>
</message>
<full-stacktrace>
<![CDATA[java.lang.AssertionError: Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'DESKTOP-R9I5LK7', ip: '192.168.150.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</full-stacktrace>
</exception> <!-- java.lang.AssertionError -->
<reporter-output>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png style=width:30px;height:30px />]]>
</line>
</reporter-output>
</test-method> <!-- findUnNumber -->
<test-method status="PASS" signature="findMeetName()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="findMeetName" duration-ms="1611" started-at="2021-12-13T15:51:41Z" description="会议室模糊查询" finished-at="2021-12-13T15:51:43Z">
<reporter-output>
</reporter-output>
</test-method> <!-- findMeetName -->
<test-method status="PASS" signature="findNumberMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="findNumberMeet" duration-ms="1650" started-at="2021-12-13T15:51:43Z" description="容纳人数精准查询" finished-at="2021-12-13T15:51:44Z">
<reporter-output>
</reporter-output>
</test-method> <!-- findNumberMeet -->
<test-method status="PASS" signature="findScaleMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="findScaleMeet" duration-ms="3399" started-at="2021-12-13T15:51:44Z" description="按照会议室规模查询" finished-at="2021-12-13T15:51:48Z">
<reporter-output>
</reporter-output>
</test-method> <!-- findScaleMeet -->
<test-method status="PASS" signature="findMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="findMeet" duration-ms="2383" started-at="2021-12-13T15:51:48Z" description="所有条件查询会议室" finished-at="2021-12-13T15:51:50Z">
<reporter-output>
</reporter-output>
</test-method> <!-- findMeet -->
<test-method status="PASS" signature="insertMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="insertMeet" duration-ms="2947" started-at="2021-12-13T15:51:50Z" description="会议室新增测试" finished-at="2021-12-13T15:51:53Z">
<reporter-output>
</reporter-output>
</test-method> <!-- insertMeet -->
<test-method status="FAIL" signature="insertNullMeetFail()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="insertNullMeetFail" duration-ms="1756" started-at="2021-12-13T15:51:53Z" description="新增null会议" finished-at="2021-12-13T15:51:55Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[expected [请输入会议室名称] but found [请输入会议室规模]]]>
</message>
<full-stacktrace>
<![CDATA[java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</full-stacktrace>
</exception> <!-- java.lang.AssertionError -->
<reporter-output>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png style=width:30px;height:30px />]]>
</line>
</reporter-output>
</test-method> <!-- insertNullMeetFail -->
<test-method status="FAIL" signature="insertErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="insertErrorMeet" duration-ms="3148" started-at="2021-12-13T15:51:55Z" description="新增错误会议室" finished-at="2021-12-13T15:51:58Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[expected [新增成功!] but found [新增失败!]]]>
</message>
<full-stacktrace>
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</full-stacktrace>
</exception> <!-- java.lang.AssertionError -->
<reporter-output>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png style=width:30px;height:30px />]]>
</line>
</reporter-output>
</test-method> <!-- insertErrorMeet -->
<test-method status="FAIL" signature="updateErrorMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="updateErrorMeet" duration-ms="2820" started-at="2021-12-13T15:51:58Z" description="修改成错误会议室" finished-at="2021-12-13T15:52:01Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[expected [新增成功!] but found [修改失败!]]]>
</message>
<full-stacktrace>
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</full-stacktrace>
</exception> <!-- java.lang.AssertionError -->
<reporter-output>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png style=width:30px;height:30px />]]>
</line>
</reporter-output>
</test-method> <!-- updateErrorMeet -->
<test-method status="FAIL" signature="updateMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="updateMeet" duration-ms="3535" started-at="2021-12-13T15:52:01Z" description="会议室信息修改成功测试" finished-at="2021-12-13T15:52:04Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[expected [新增成功!] but found [修改成功!]]]>
</message>
<full-stacktrace>
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
]]>
</full-stacktrace>
</exception> <!-- java.lang.AssertionError -->
<reporter-output>
<line>
<![CDATA[<a href=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png target=_blank>这是失败截图</a>]]>
</line>
<line>
<![CDATA[<img src=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png style=width:30px;height:30px />]]>
</line>
</reporter-output>
</test-method> <!-- updateMeet -->
<test-method status="PASS" signature="deleteMeet()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="deleteMeet" duration-ms="1623" started-at="2021-12-13T15:52:04Z" description="会议室删除测试" finished-at="2021-12-13T15:52:06Z">
<reporter-output>
</reporter-output>
</test-method> <!-- deleteMeet -->
<test-method status="PASS" signature="quit()[pri:0, instance:ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))]" name="quit" is-config="true" duration-ms="639" started-at="2021-12-13T15:52:06Z" finished-at="2021-12-13T15:52:07Z">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- quit --> </test-method> <!-- quit -->
......
...@@ -55,11 +55,11 @@ function toggleAllBoxes() { ...@@ -55,11 +55,11 @@ function toggleAllBoxes() {
<body> <body>
<h2 align='center'>test</h2><table border='1' align="center"> <h2 align='center'>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>7/5/0</td>
</tr><tr> </tr><tr>
<td>Started on:</td><td>Fri Dec 10 10:46:32 CST 2021</td> <td>Started on:</td><td>Mon Dec 13 15:51:08 CST 2021</td>
</tr> </tr>
<tr><td>Total time:</td><td>33 seconds (33263 ms)</td> <tr><td>Total time:</td><td>58 seconds (58651 ms)</td>
</tr><tr> </tr><tr>
<td>Included groups:</td><td></td> <td>Included groups:</td><td></td>
</tr><tr> </tr><tr>
...@@ -67,6 +67,243 @@ function toggleAllBoxes() { ...@@ -67,6 +67,243 @@ 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-failed'>
<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td>
<td><b>Instance</b></td>
</tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber()'><b>findUnNumber</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 查询人数,输入负号<br/>
<a href="#Output-800088638" onClick='toggleBox("Output-800088638", this, "Show output", "Hide output");'>Show output</a>
<a href="#Output-800088638" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-800088638">
<a href=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png target=_blank>这是失败截图</a><br/>
<img src=/opt/meeting_deploy/images/3b780fef957e4cf39225ed6077e87334.png style=width:30px;height:30px /><br/>
</div>
</td>
<td><div><pre>java.lang.AssertionError: Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &apos;3.14.0&apos;, revision: &apos;aacccce0&apos;, time: &apos;2018-08-02T20:19:58.91Z&apos;
System info: host: &apos;DESKTOP-R9I5LK7&apos;, ip: &apos;192.168.150.1&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_161&apos;
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace800088638", 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-trace800088638'><pre>java.lang.AssertionError: Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &apos;3.14.0&apos;, revision: &apos;aacccce0&apos;, time: &apos;2018-08-02T20:19:58.91Z&apos;
System info: host: &apos;DESKTOP-R9I5LK7&apos;, ip: &apos;192.168.150.1&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_161&apos;
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
</pre></div></td>
<td>1</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet()'><b>insertErrorMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 新增错误会议室<br/>
<a href="#Output-769877691" onClick='toggleBox("Output-769877691", this, "Show output", "Hide output");'>Show output</a>
<a href="#Output-769877691" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-769877691">
<a href=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png target=_blank>这是失败截图</a><br/>
<img src=/opt/meeting_deploy/images/c5a056892b1a41479079b65543792961.png style=width:30px;height:30px /><br/>
</div>
</td>
<td><div><pre>java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace769877691", 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-trace769877691'><pre>java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
</pre></div></td>
<td>3</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail()'><b>insertNullMeetFail</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 新增null会议<br/>
<a href="#Output-830863979" onClick='toggleBox("Output-830863979", this, "Show output", "Hide output");'>Show output</a>
<a href="#Output-830863979" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-830863979">
<a href=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png target=_blank>这是失败截图</a><br/>
<img src=/opt/meeting_deploy/images/fead7cbfaaa14f1284f38079264e68f7.png style=width:30px;height:30px /><br/>
</div>
</td>
<td><div><pre>java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace830863979", 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-trace830863979'><pre>java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
</pre></div></td>
<td>1</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet()'><b>updateErrorMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 修改成错误会议室<br/>
<a href="#Output-1520656618" onClick='toggleBox("Output-1520656618", this, "Show output", "Hide output");'>Show output</a>
<a href="#Output-1520656618" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-1520656618">
<a href=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png target=_blank>这是失败截图</a><br/>
<img src=/opt/meeting_deploy/images/53cf1b1ffcca4cac8814f97d9f549693.png style=width:30px;height:30px /><br/>
</div>
</td>
<td><div><pre>java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1520656618", 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-trace1520656618'><pre>java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
</pre></div></td>
<td>2</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet()'><b>updateMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 会议室信息修改成功测试<br/>
<a href="#Output-1643299824" onClick='toggleBox("Output-1643299824", this, "Show output", "Hide output");'>Show output</a>
<a href="#Output-1643299824" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-1643299824">
<a href=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png target=_blank>这是失败截图</a><br/>
<img src=/opt/meeting_deploy/images/21fae6e75e504d38a15e7e314ff24b97.png style=width:30px;height:30px /><br/>
</div>
</td>
<td><div><pre>java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1643299824", 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-trace1643299824'><pre>java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at org.testng.Assert.fail(Assert.java:94)
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
</pre></div></td>
<td>3</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
</table><p>
<table width='100%' border='1' class='invocation-passed'> <table width='100%' border='1' class='invocation-passed'>
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> <tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
<tr><td><b>Test method</b></td> <tr><td><b>Test method</b></td>
...@@ -75,9 +312,39 @@ function toggleAllBoxes() { ...@@ -75,9 +312,39 @@ function toggleAllBoxes() {
<td><b>Instance</b></td> <td><b>Instance</b></td>
</tr> </tr>
<tr> <tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.url()'><b>url</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive</td> <td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.deleteMeet()'><b>deleteMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 会议室删除测试</td>
<td></td>
<td>1</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.findMeet()'><b>findMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 所有条件查询会议室</td>
<td></td>
<td>2</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.findMeetName()'><b>findMeetName</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 会议室模糊查询</td>
<td></td>
<td>1</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.findNumberMeet()'><b>findNumberMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 容纳人数精准查询</td>
<td></td>
<td>1</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.findScaleMeet()'><b>findScaleMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 按照会议室规模查询</td>
<td></td>
<td>3</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertMeet()'><b>insertMeet</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 会议室新增测试</td>
<td></td>
<td>2</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
<tr>
<td title='com.tykj.selenium.conferenceRoomTest.ConferenceActive.resetTest()'><b>resetTest</b><br>Test class: com.tykj.selenium.conferenceRoomTest.ConferenceActive<br>Test method: 验证重置按钮</td>
<td></td> <td></td>
<td>32</td> <td>31</td>
<td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr> <td>ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (null))</td></tr>
</table><p> </table><p>
</body> </body>
......
<?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 hostname="DESKTOP-R9I5LK7" ignored="0" name="test" tests="1" failures="0" timestamp="10 十二月 2021 02:47:05 GMT" time="33.263" errors="0"> <testsuite hostname="DESKTOP-R9I5LK7" ignored="0" name="test" tests="12" failures="5" timestamp="13 十二月 2021 07:52:07 GMT" time="58.651" errors="0">
<testcase name="url on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (9150e06b-d507-4fe3-b9ee-09c7ea8ca700))" time="32.472" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/> <testcase name="resetTest on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="31.681" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findUnNumber on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="1.426" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: &amp;apos;3.14.0&amp;apos;, revision: &amp;apos;aacccce0&amp;apos;, time: &amp;apos;2018-08-02T20:19:58.91Z&amp;apos;
System info: host: &amp;apos;DESKTOP-R9I5LK7&amp;apos;, ip: &amp;apos;192.168.150.1&amp;apos;, os.name: &amp;apos;Windows 10&amp;apos;, os.arch: &amp;apos;amd64&amp;apos;, os.version: &amp;apos;10.0&amp;apos;, java.version: &amp;apos;1.8.0_161&amp;apos;
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}">
<![CDATA[java.lang.AssertionError: Unable to locate element: .el\-message__content
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'DESKTOP-R9I5LK7', ip: '192.168.150.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 13720, moz:profile: C:\Users\27795\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e1f125b4-deef-4b86-a718-cba63d57afd6
*** Element info: {Using=class name, value=el-message__content}
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.findUnNumber(ConferenceActive.java:147)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames]]>
</failure>
</testcase> <!-- findUnNumber on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6)) -->
<testcase name="findMeetName on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="1.611" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findNumberMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="1.65" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findScaleMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="3.399" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="findMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="2.383" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="insertMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="2.947" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
<testcase name="insertNullMeetFail on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="1.756" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [请输入会议室名称] but found [请输入会议室规模]">
<![CDATA[java.lang.AssertionError: expected [请输入会议室名称] but found [请输入会议室规模]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertNullMeetFail(ConferenceActive.java:300)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames]]>
</failure>
</testcase> <!-- insertNullMeetFail on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6)) -->
<testcase name="insertErrorMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="3.148" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [新增成功!] but found [新增失败!]">
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [新增失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.insertErrorMeet(ConferenceActive.java:320)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames]]>
</failure>
</testcase> <!-- insertErrorMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6)) -->
<testcase name="updateErrorMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="2.82" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [新增成功!] but found [修改失败!]">
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [修改失败!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateErrorMeet(ConferenceActive.java:336)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames]]>
</failure>
</testcase> <!-- updateErrorMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6)) -->
<testcase name="updateMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="3.535" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<failure type="java.lang.AssertionError" message="expected [新增成功!] but found [修改成功!]">
<![CDATA[java.lang.AssertionError: expected [新增成功!] but found [修改成功!]
at com.tykj.selenium.conferenceRoomTest.ConferenceActive.updateMeet(ConferenceActive.java:356)
at com.tykj.selenium.SeleniumApplication.main(SeleniumApplication.java:20)
... Removed 23 stack frames]]>
</failure>
</testcase> <!-- updateMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6)) -->
<testcase name="deleteMeet on ConferenceActive(baseUrl=null, webDriver=FirefoxDriver: firefox on WINDOWS (e1f125b4-deef-4b86-a718-cba63d57afd6))" time="1.623" classname="com.tykj.selenium.conferenceRoomTest.ConferenceActive"/>
</testsuite> <!-- test --> </testsuite> <!-- test -->
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
<classes> <classes>
<class name="com.tykj.selenium.conferenceRoomTest.ConferenceActive"> <class name="com.tykj.selenium.conferenceRoomTest.ConferenceActive">
<methods> <methods>
<include name="url"/> <include name="insertErrorMeet"/>
<include name="updateMeet"/>
<include name="findUnNumber"/>
<include name="updateErrorMeet"/>
<include name="insertNullMeetFail"/>
<include name="quit"/> <include name="quit"/>
</methods> </methods>
</class> <!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive --> </class> <!-- com.tykj.selenium.conferenceRoomTest.ConferenceActive -->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论