Commit cdc2269dfb7f20d75e9cc23bf62c9c8e71a63fef

Authored by suweicheng
1 parent a62053f7

删除之前的代码;

Showing 298 changed files with 0 additions and 12307 deletions   Show diff stats
.classpath deleted
@@ -1,31 +0,0 @@ @@ -1,31 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<classpath>  
3 - <classpathentry kind="src" output="target/classes" path="src/main/java">  
4 - <attributes>  
5 - <attribute name="optional" value="true"/>  
6 - <attribute name="maven.pomderived" value="true"/>  
7 - </attributes>  
8 - </classpathentry>  
9 - <classpathentry kind="src" output="target/test-classes" path="src/test/java">  
10 - <attributes>  
11 - <attribute name="optional" value="true"/>  
12 - <attribute name="maven.pomderived" value="true"/>  
13 - </attributes>  
14 - </classpathentry>  
15 - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">  
16 - <attributes>  
17 - <attribute name="maven.pomderived" value="true"/>  
18 - </attributes>  
19 - </classpathentry>  
20 - <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">  
21 - <attributes>  
22 - <attribute name="maven.pomderived" value="true"/>  
23 - </attributes>  
24 - </classpathentry>  
25 - <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">  
26 - <attributes>  
27 - <attribute name="maven.pomderived" value="true"/>  
28 - </attributes>  
29 - </classpathentry>  
30 - <classpathentry kind="output" path="target/classes"/>  
31 -</classpath>  
.project deleted
@@ -1,23 +0,0 @@ @@ -1,23 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<projectDescription>  
3 - <name>demo</name>  
4 - <comment></comment>  
5 - <projects>  
6 - </projects>  
7 - <buildSpec>  
8 - <buildCommand>  
9 - <name>org.eclipse.jdt.core.javabuilder</name>  
10 - <arguments>  
11 - </arguments>  
12 - </buildCommand>  
13 - <buildCommand>  
14 - <name>org.eclipse.m2e.core.maven2Builder</name>  
15 - <arguments>  
16 - </arguments>  
17 - </buildCommand>  
18 - </buildSpec>  
19 - <natures>  
20 - <nature>org.eclipse.jdt.core.javanature</nature>  
21 - <nature>org.eclipse.m2e.core.maven2Nature</nature>  
22 - </natures>  
23 -</projectDescription>  
.settings/org.eclipse.core.resources.prefs deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -eclipse.preferences.version=1  
2 -encoding//src/main/java=UTF-8  
3 -encoding//src/main/resources=UTF-8  
4 -encoding//src/test/java=UTF-8  
5 -encoding/<project>=UTF-8  
.settings/org.eclipse.jdt.core.prefs deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -eclipse.preferences.version=1  
2 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5  
3 -org.eclipse.jdt.core.compiler.compliance=1.5  
4 -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning  
5 -org.eclipse.jdt.core.compiler.source=1.5  
.settings/org.eclipse.m2e.core.prefs deleted
@@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
1 -activeProfiles=  
2 -eclipse.preferences.version=1  
3 -resolveWorkspaceProjects=true  
4 -version=1  
Log/Screenshots/20180831_153604截图.png deleted

84.8 KB

Log/Screenshots/20180831_170604截图.png deleted

105 KB

pom.xml deleted
@@ -1,135 +0,0 @@ @@ -1,135 +0,0 @@
1 -<project xmlns="http://maven.apache.org/POM/4.0.0"  
2 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
3 - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  
4 - <modelVersion>4.0.0</modelVersion>  
5 -  
6 - <groupId>com.essatest</groupId>  
7 - <artifactId>essa</artifactId>  
8 - <version>0.0.1-SNAPSHOT</version>  
9 - <packaging>jar</packaging>  
10 -  
11 - <name>essa</name>  
12 - <url>http://maven.apache.org</url>  
13 -  
14 - <properties>  
15 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
16 - </properties>  
17 -  
18 - <dependencies>  
19 -  
20 - <dependency>  
21 - <groupId>org.testng</groupId>  
22 - <artifactId>testng</artifactId>  
23 - <version>6.14.3</version>  
24 - <!-- <scope>test</scope> -->  
25 - </dependency>  
26 -  
27 - <dependency>  
28 - <groupId>org.seleniumhq.selenium</groupId>  
29 - <artifactId>selenium-java</artifactId>  
30 - <version>3.11.0</version>  
31 - </dependency>  
32 -  
33 -  
34 - <dependency>  
35 - <groupId>org.seleniumhq.selenium</groupId>  
36 - <artifactId>selenium-firefox-driver</artifactId>  
37 - <version>3.11.0</version>  
38 - </dependency>  
39 -  
40 - <dependency>  
41 - <groupId>org.seleniumhq.selenium</groupId>  
42 - <artifactId>selenium-chrome-driver</artifactId>  
43 - <version>3.11.0</version>  
44 - </dependency>  
45 -  
46 - <dependency>  
47 - <groupId>org.seleniumhq.selenium</groupId>  
48 - <artifactId>selenium-safari-driver</artifactId>  
49 - <version>3.11.0</version>  
50 - </dependency>  
51 -  
52 - <dependency>  
53 - <groupId>org.seleniumhq.selenium</groupId>  
54 - <artifactId>selenium-ie-driver</artifactId>  
55 - <version>3.11.0</version>  
56 - </dependency>  
57 -  
58 -  
59 - <dependency>  
60 - <groupId>org.seleniumhq.selenium</groupId>  
61 - <artifactId>selenium-support</artifactId>  
62 - <version>2.46.0</version>  
63 - </dependency>  
64 -  
65 - <dependency>  
66 - <groupId>javax.mail</groupId>  
67 - <artifactId>mail</artifactId>  
68 - <version>1.4</version>  
69 - </dependency>  
70 -  
71 - <dependency>  
72 - <groupId>org.apache.commons</groupId>  
73 - <artifactId>commons-collections4</artifactId>  
74 - <version>4.1</version>  
75 - </dependency>  
76 -  
77 - <dependency>  
78 - <groupId>org.apache.poi</groupId>  
79 - <artifactId>poi</artifactId>  
80 - <version>3.14</version>  
81 - </dependency>  
82 -  
83 - <dependency>  
84 - <groupId>org.apache.poi</groupId>  
85 - <artifactId>poi-ooxml</artifactId>  
86 - <version>3.14</version>  
87 - </dependency>  
88 -  
89 - <dependency>  
90 - <groupId>org.apache.poi</groupId>  
91 - <artifactId>poi-ooxml-schemas</artifactId>  
92 - <version>3.14</version>  
93 - </dependency>  
94 -  
95 - <dependency>  
96 - <groupId>org.apache.commons</groupId>  
97 - <artifactId>commons-io</artifactId>  
98 - <version>1.3.2</version>  
99 - </dependency>  
100 -  
101 - <dependency>  
102 - <groupId>mysql</groupId>  
103 - <artifactId>mysql-connector-java</artifactId>  
104 - <version>6.0.6</version>  
105 - </dependency>  
106 - <dependency>  
107 - <groupId>org.dbunit</groupId>  
108 - <artifactId>dbunit</artifactId>  
109 - <version>2.5.4</version>  
110 - </dependency>  
111 - <dependency>  
112 - <groupId>jdom</groupId>  
113 - <artifactId>jdom</artifactId>  
114 - <version>1.0</version>  
115 - </dependency>  
116 - </dependencies>  
117 -  
118 - <build>  
119 - <plugins>  
120 - <plugin>  
121 - <groupId>org.apache.maven.plugins</groupId>  
122 - <artifactId>maven-surefire-plugin</artifactId>  
123 - <version>2.7.1</version>  
124 - <configuration>  
125 - <!--<testFailureIgnore>true</testFailureIgnore> -->  
126 - <suiteXmlFiles>  
127 - <suiteXmlFile>resources/suites/testng.xml</suiteXmlFile>  
128 - <!--此处testng.xml即为要运行的testng.xml文件 -->  
129 - </suiteXmlFiles>  
130 - </configuration>  
131 - </plugin>  
132 - </plugins>  
133 - </build>  
134 -  
135 -</project>  
resources/chromedriver.exe deleted
No preview for this file type
resources/config.properties deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -#browserName=FireFox  
2 -#browserName=IE  
3 -browserName=Chrome  
4 -  
5 -SIT=http://bpms.sit.gz.essa  
6 -BSIT=http://en.portalsit.cn  
7 -  
8 -HOTFIX=http://bpms.hotfix.gz.essa  
9 -BHOTFIX=http://en.portalhotfix.cn  
10 -  
11 -UAT=http://bpms.spstoys.com:7291  
12 -BUAT=http://en.spstoys.com:889  
13 -  
14 -DIT=http://bpms.dit.gz.essa  
15 -BDIT=http://en.portaldit.cn  
16 -  
resources/suites/addMarketGoods.xml deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="新增市场商品">  
4 - <test name="addMarketGoods">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestAddMarketGoods">  
7 - <methods>  
8 - <include name="toMarketGoodsRelesePage"/>  
9 - <include name="addMarketGoods"/>  
10 - <include name="auditMarketGoods"/>  
11 - </methods>  
12 - </class>  
13 - </classes>  
14 - </test>  
15 -</suite>  
16 -  
resources/suites/addOriginalGoods.xml deleted
@@ -1,44 +0,0 @@ @@ -1,44 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="新增原厂商品">  
4 - <listeners>  
5 - <!-- 设置监听,测试完毕后会发送测试报告至qq邮箱  
6 - <listener class-name="com.essa.framework.ListenerSuite"/>  
7 - -->  
8 - </listeners>  
9 - <test name="addOriginalGoods">  
10 - <classes>  
11 - <class name="com.essa.testSuite.TestAddOriginalGoods">  
12 - <methods>  
13 - <include name="toAddOriginalGoodsPage"/>  
14 - <include name="toGoodsRelesePage"/>  
15 - <include name="updatePic"/>  
16 - <include name="auditOriginal"/>  
17 - <include name="getSkuNo"/>  
18 - </methods>  
19 - </class>  
20 - </classes>  
21 - </test>  
22 -  
23 -<!-- <test name="login">  
24 - <classes>  
25 - 选择要执行的测试类  
26 - <class name="com.essa.testSuite.Test_Login">  
27 - </class>  
28 - </classes>  
29 - </test> -->  
30 -  
31 - <!--  
32 - <test name="编辑综合实力评估">  
33 - <classes>  
34 - <class name="com.essa.testSuite.Test_Development_Ability">  
35 - <methods>  
36 - <include name="editDevelopmentAbility"/>  
37 - <include name="toSupplierOperationsTrack"/> 切换到供应商管理菜单  
38 - </methods>  
39 - </class>  
40 - </classes>  
41 - </test>  
42 - -->  
43 -</suite>  
44 -  
resources/suites/addSkuToCart.xml deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="添加SKU到购物车">  
4 - <test name="buyerRegister">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestAddToCart">  
7 - <methods>  
8 - <include name="keywordToCart"/>  
9 - </methods>  
10 - </class>  
11 - </classes>  
12 - </test>  
13 -</suite>  
14 -  
resources/suites/buyerRegister.xml deleted
@@ -1,19 +0,0 @@ @@ -1,19 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="采购商注册">  
4 - <test name="buyerRegister">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestGenrateCode">  
7 - <methods>  
8 - <include name="genrateCode"/>  
9 - </methods>  
10 - </class>  
11 - <class name="com.buyer.testSuite.TestRegister">  
12 - <methods>  
13 - <include name="register"/>  
14 - </methods>  
15 - </class>  
16 - </classes>  
17 - </test>  
18 -</suite>  
19 -  
resources/suites/productInquiry.xml deleted
@@ -1,19 +0,0 @@ @@ -1,19 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="成品询价">  
4 - <test name="productInquiry">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestAddToCart">  
7 - <methods>  
8 - <include name="keywordToCart"/>  
9 - </methods>  
10 - </class>  
11 - <class name="com.essa.testSuite.TestProductInquiry">  
12 - <methods>  
13 - <include name="productInquiry"/>  
14 - </methods>  
15 - </class>  
16 - </classes>  
17 - </test>  
18 -</suite>  
19 -  
resources/suites/publishGroupPurchase.xml deleted
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="发布团购商品">  
4 - <test name="publishGroupPurchase">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestAddOriginalGoods">  
7 - <methods>  
8 - <include name="toAddOriginalGoodsPage"/>  
9 - <include name="updatePic"/>  
10 - <include name="auditOriginal"/>  
11 - <include name="getSkuNo"/>  
12 - </methods>  
13 - </class>  
14 - <class name="com.essa.testSuite.TestGroupPurchase">  
15 - <methods>  
16 - <include name="SkuCategoryManagerCongfig"/>  
17 - <include name="publishGroupPurchase"/>  
18 - <include name="isPublish"/>  
19 - </methods>  
20 - </class>  
21 - </classes>  
22 - </test>  
23 -</suite>  
24 -  
resources/suites/sendPO.xml deleted
@@ -1,25 +0,0 @@ @@ -1,25 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="提交PO">  
4 - <test name="sendPO">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestAddToCart">  
7 - <methods>  
8 - <include name="addSku"/>  
9 - </methods>  
10 - </class>  
11 - <class name="com.essa.testSuite.TestProductInquiry">  
12 - <methods>  
13 - <include name="productInquiry"/>  
14 - </methods>  
15 - </class>  
16 - <class name="com.buyer.testSuite.TestSendPO">  
17 - <methods>  
18 - <include name="conslidation"/>  
19 - <include name="sendPO"/>  
20 - </methods>  
21 - </class>  
22 - </classes>  
23 - </test>  
24 -</suite>  
25 -  
resources/suites/sendPO2.xml deleted
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >  
3 -<suite name="提交PO-活动商品">  
4 - <test name="sendActivityPO">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestAddToCart">  
7 - <methods>  
8 - <include name="addSku"/>  
9 - </methods>  
10 - </class>  
11 - <class name="com.buyer.testSuite.TestSendPO">  
12 - <methods>  
13 - <include name="conslidation"/>  
14 - <include name="sendPO"/>  
15 - </methods>  
16 - </class>  
17 - </classes>  
18 - </test>  
19 -</suite>  
20 -  
src/test/java/com/buyer/pageObject/AssetManagementPage.java deleted
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -  
5 -import com.essa.framework.BasePage;  
6 -  
7 -public class AssetManagementPage extends BasePage {  
8 - public AssetManagementPage(WebDriver driver) {  
9 - super(driver);  
10 - }  
11 -}  
src/test/java/com/buyer/pageObject/BuyerLoginPage.java deleted
@@ -1,48 +0,0 @@ @@ -1,48 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -/**  
10 - * 采购商登录页  
11 - * @author Administrator  
12 - *  
13 - */  
14 -public class BuyerLoginPage extends BasePage {  
15 - public BuyerLoginPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 - /*  
19 - * 页面元素定位  
20 - */  
21 - //用户名:邮箱  
22 - @FindBy (xpath = "//*[@id='username']")  
23 - WebElement userName;  
24 -  
25 - //密码  
26 - @FindBy (xpath = "//*[@id='password']")  
27 - WebElement passWord;  
28 -  
29 - //登录按钮  
30 - @FindBy (xpath = "//*[@id='login']")  
31 - WebElement signIn;  
32 -  
33 - /*  
34 - * 页面方法  
35 - */  
36 - /**  
37 - * 采购商登录方法  
38 - * @param account 账号  
39 - * @param password 密码  
40 - * @return IndexPage  
41 - */  
42 - public IndexPage login(String account,String password) {  
43 - sendKeys(userName, account);  
44 - sendKeys(passWord, password);  
45 - click(signIn);  
46 - return new IndexPage(driver);  
47 - }  
48 -}  
src/test/java/com/buyer/pageObject/ConslidationPage.java deleted
@@ -1,97 +0,0 @@ @@ -1,97 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * 暂存柜,拼柜页面  
13 - * @author Administrator  
14 - *  
15 - */  
16 -public class ConslidationPage extends BasePage {  
17 - public ConslidationPage(WebDriver driver) {  
18 - super(driver);  
19 - }  
20 - /*  
21 - * 元素定位  
22 - */  
23 - //关闭提示  
24 - @FindBy(xpath="//*[@class='close']")  
25 - WebElement close;  
26 -  
27 - //选择散货  
28 - @FindBy (xpath ="//button[text()='Bulk cargo']")  
29 - WebElement bulkCargo;  
30 -  
31 - //确认  
32 - @FindBy (xpath="//button[text()='OK']")  
33 - WebElement ok;  
34 -  
35 - //查询输入框  
36 - @FindBy (xpath="//*[@id='left-search']/div/input")  
37 - WebElement searchText;  
38 -  
39 - //查询按钮  
40 - @FindBy (xpath="//*[@id='left-search']/div/span")  
41 - WebElement search;  
42 -  
43 - //左边列表第一个复选框  
44 - @FindBy (xpath="//*[@id='left-product-list']/div[1]/div/div[2]/div/ul/li[1]/input")  
45 - WebElement leftFirstCheckbox;  
46 -  
47 - //中间加入右边的箭头  
48 - @FindBy (xpath="//*[@id='icon-pi-right-big']")  
49 - WebElement add;  
50 -  
51 - //右边的第一个复选框  
52 - @FindBy (xpath="//*[@id='right-product-list']/div/div/div[2]/div/ul/li[1]/input")  
53 - WebElement rightFirstCheckbox;  
54 -  
55 - //下一步,设置贴纸  
56 - @FindBy (xpath="//*[@id='next']")  
57 - WebElement next;  
58 -  
59 - //确认弹框-可能会提示价格不一致  
60 - @FindBy (xpath ="//a[text()='OK']")  
61 - WebElement ok2;  
62 -  
63 - /**  
64 - * 开始拼柜  
65 - * @return SettingMarkerPage  
66 - */  
67 - public SettingMarksPage conslidation() {  
68 - //是否有操作提示弹框  
69 - if(isVisibility(By.xpath("//*[@class='close']"))) {  
70 - click(close);  
71 - }  
72 - forceWait(1000);  
73 - //是否有选择货柜  
74 - if(isVisibility(By.xpath("//button[text()='Bulk cargo']"))) {  
75 - click(bulkCargo);  
76 - click(ok);  
77 - forceWait(1000);  
78 - }  
79 - sendKeys(searchText, Model.getSkuNo());  
80 - click(search);  
81 - click(leftFirstCheckbox);  
82 - click(add);  
83 - //是否有加入到暂存柜  
84 - dynamicWait(By.xpath("//*[@id='right-product-list']/div/div/div[2]/div/ul/li[1]/input"));  
85 - forceWait(2000);  
86 - moveHeightScroll("100");  
87 - forceWait(1000);  
88 - click(next);  
89 - //如果提示价格变化,确认弹框  
90 - if(isVisibility(By.xpath("//a[text()='OK']"))) {  
91 - click(ok2);  
92 - forceWait(1000);  
93 - click(next);  
94 - }  
95 - return new SettingMarksPage(driver);  
96 - }  
97 -}  
src/test/java/com/buyer/pageObject/IndexPage.java deleted
@@ -1,131 +0,0 @@ @@ -1,131 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * 采购商首页  
13 - * @author Administrator  
14 - *  
15 - */  
16 -public class IndexPage extends BasePage {  
17 - public IndexPage(WebDriver driver) {  
18 - super(driver);  
19 - }  
20 - /*  
21 - * 元素定位  
22 - */  
23 - //登录-sign in  
24 - @FindBy (xpath ="//*[@id='SignIn']/a")  
25 - WebElement signIn;  
26 -  
27 - //注册-register  
28 - @FindBy (xpath ="//*[@class='u-login']/a")  
29 - WebElement register;  
30 -  
31 - //关键字输入框  
32 - @FindBy (xpath ="//*[@class='search-tx']/input")  
33 - WebElement searchText;  
34 -  
35 - //查询按钮  
36 - @FindBy (xpath ="//*[@class='btn btn-primary search-btn']")  
37 - WebElement searchButton;  
38 -  
39 - //绑定手机弹窗-关闭按钮  
40 - @FindBy (xpath ="//*[contains(@class,'layui-layer-close1')]")  
41 - WebElement closed;  
42 -  
43 - //右上角购物车  
44 - @FindBy (xpath ="//*[@id='miniCart']")  
45 - WebElement minicart;  
46 -  
47 - /*  
48 - * 页面方法  
49 - */  
50 - /**  
51 - * 进入登录页面  
52 - * @return BuyerLoginPage  
53 - */  
54 - public BuyerLoginPage toLoginPage() {  
55 - click(signIn);  
56 - return new BuyerLoginPage(driver);  
57 - }  
58 -  
59 - /**  
60 - * 进入注册页面  
61 - * @return RegisterPage  
62 - */  
63 - public RegisterPage toRegisterPage() {  
64 - click(register);  
65 - return new RegisterPage(driver);  
66 - }  
67 -  
68 - /**  
69 - * 进入购物车  
70 - * @return ShoppingCartPage  
71 - */  
72 - public ShoppingCartPage toShoppingCartPage() {  
73 - if (isVisibility(By.xpath("//*[@id='bind-phone']"))) {  
74 - forceWait(1000);  
75 - click(closed);  
76 - }  
77 - click(minicart);  
78 - return new ShoppingCartPage(driver);  
79 - }  
80 - /**  
81 - * 关键字搜索商品  
82 - * @return KeywordResultPage  
83 - */  
84 - public KeywordResultPage keywordSearch() {  
85 - //判断是否绑定手机  
86 - if (isVisibility(By.xpath("//*[@id='bind-phone']"))) {  
87 - click(closed);  
88 - }  
89 - //如果是非活动  
90 -// if (Model.getIsactivity()==0 &&(Model.getSkuNo().equals("选填,勿填活动商品")||Model.getSkuNo().equals(""))) {  
91 - if (Model.getIsactivity()==0 &&(("选填,勿填活动商品").equals(Model.getSkuNo())||("").equals(Model.getSkuNo()))) {  
92 - //判断是否自定义输入商品编号  
93 - String sql = "SELECT s.id,s.`no` from prd_category c\r\n" +  
94 - "LEFT JOIN prd_goods g on c.id = g.category_id\r\n" +  
95 - "LEFT JOIN prd_goods_sku s on s.goods_id = g.id\r\n" +  
96 - "where find_in_set(5,REPLACE(c.path,'.',','))\r\n" +  
97 - "AND s.`no` > 200000000\r\n" +  
98 - "AND s.id NOT IN (SELECT g.sku_id FROM sale_group_buy g)\r\n" +  
99 - "AND s.id NOT IN (SELECT t.sku_id FROM sale_shopping_cart t)\r\n" +  
100 - "AND s.src = 1\r\n" +  
101 - "AND s.`status` = 2\r\n" +  
102 - "AND s.is_stop_product = 0\r\n" +  
103 - "AND s.is_delete = 0\r\n" +  
104 - "limit 1";  
105 - Model.setSkuNo(DBSqlSearch(sql, "no"));  
106 - }else if (Model.getIsactivity()==1 &&(("选填,勿填非活动商品").equals(Model.getSkuNo())||("").equals(Model.getSkuNo()))) {  
107 - //活动商品  
108 - String sql = "SELECT s.id,s.`no` from prd_category c\r\n" +  
109 - "LEFT JOIN prd_goods g on c.id = g.category_id\r\n" +  
110 - "LEFT JOIN prd_goods_sku s on s.goods_id = g.id\r\n" +  
111 - "LEFT JOIN sale_group_buy a on a.sku_id = s.id\r\n" +  
112 - "where s.`no` > 200000000\r\n" +  
113 - "AND s.id NOT IN (SELECT t.sku_id FROM sale_shopping_cart t)\r\n" +  
114 - "AND a.`status` = 20 and s.src = 1 \r\n" +  
115 - "limit 1;";  
116 - Model.setSkuNo(DBSqlSearch(sql, "no"));  
117 - }  
118 -// System.out.println(Model.getSkuNo());  
119 - sendKeys(searchText, Model.getSkuNo());  
120 - click(searchButton);  
121 - return new KeywordResultPage(driver);  
122 - }  
123 -  
124 - /**  
125 - * 断言是否注册成功,根据是否有绑定手机号的弹窗来判断  
126 - * @return boolean  
127 - */  
128 - public boolean isSucceed() {  
129 - return isVisibility(By.xpath("//*[contains(@class,'layui-layer-close1')]"));  
130 - }  
131 -}  
src/test/java/com/buyer/pageObject/KeywordResultPage.java deleted
@@ -1,116 +0,0 @@ @@ -1,116 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * 关键字查询结果页  
13 - * @author Administrator  
14 - *  
15 - */  
16 -public class KeywordResultPage extends BasePage {  
17 - public KeywordResultPage(WebDriver driver) {  
18 - super(driver);  
19 - }  
20 - /*  
21 - * 元素定位  
22 - */  
23 - //加入购物车  
24 - @FindBy (xpath ="//*[@id='product-list']/ul[1]/div[1]/li[1]/div[1]/div[1]/div[4]/div[2]")  
25 - WebElement addToCart;  
26 -  
27 - //确认添加  
28 - @FindBy (xpath ="//*[@id='product-list']/ul[1]/div[1]/li[1]/div[2]/div[3]/div[1]")  
29 - WebElement confirmAdd;  
30 -  
31 - //添加购物车时,提示加入一款成功toast  
32 - @FindBy (xpath ="//*[@class='util-bill-pd']")  
33 - WebElement toast;  
34 -  
35 - //右上角购物车  
36 - @FindBy (xpath ="//*[@id='miniCart']")  
37 - WebElement minicart;  
38 -  
39 - //订购量  
40 - @FindBy (xpath="//*[contains(text(),'quantity')]/../span[2]/input")  
41 - WebElement count;  
42 -  
43 - //活动商品-添加购物车  
44 - @FindBy (xpath ="//*[@class='btn-box']/div[2]")  
45 - WebElement addToCart1;  
46 -  
47 - //查询输入框  
48 - @FindBy (xpath ="//*[@class='search-tx']/input")  
49 - WebElement searchText;  
50 -  
51 - /*  
52 - * 页面方法  
53 - */  
54 - /**  
55 - * 加入到购物车中,且会进入购物车校验是否加入成功  
56 - * @return ShoppingCartPage  
57 - */  
58 - public ShoppingCartPage addToCart() {  
59 - if (Model.getIsactivity() == 0) {//该sku为非活动商品  
60 - click(addToCart);  
61 - forceWait(1000);  
62 - click(count);  
63 - sendKeys(count, "50");  
64 - }else if (Model.getIsactivity() == 1) {//该sku为活动商品  
65 - click(addToCart1);  
66 - forceWait(1000);  
67 - click(count);  
68 - sendKeys(count, "200");  
69 - }  
70 -  
71 - click(confirmAdd);  
72 - dynamicWait(By.xpath("//*[@class='util-bill-pd']"));  
73 - forceWait(1000);  
74 - click(minicart);  
75 - if (Model.getIsactivity() == 1) {  
76 - getManager();//找出对应的类目经理  
77 - }  
78 - return new ShoppingCartPage(driver);  
79 - }  
80 - /**  
81 - * 由于操作过快,系统会提示:有人正在操作  
82 - * sku加入到购物车,但不进入购物车,防止无法操作后续的拼柜  
83 - * 此方法与addToCart()一样,只是不进入购物车  
84 - */  
85 - public void addSku() {  
86 - if (Model.getIsactivity() == 0) {  
87 - click(addToCart);  
88 - forceWait(1000);  
89 - click(count);  
90 - sendKeys(count, "50");  
91 - }else if (Model.getIsactivity() == 1) {  
92 - click(addToCart1);  
93 - forceWait(1000);  
94 - click(count);  
95 - sendKeys(count, "200");  
96 - }  
97 - click(confirmAdd);  
98 - dynamicWait(By.xpath("//*[@class='util-bill-pd']"));  
99 - if (Model.getIsactivity() == 1) {  
100 - sendKeys(searchText, "查询数据库ing……程序还在进行,无聊可以先去撩撩妹子呀!");  
101 - getManager();//找出对应的类目经理  
102 - }  
103 - }  
104 -  
105 - /**  
106 - * 根据sql查出商品对应类目经理,并在model类中设置其值  
107 - */  
108 - public void getManager() {  
109 - //查找商品对应的类目经理sql  
110 - String sql = "SELECT u.account_name from prd_goods g \r\n" +  
111 - "LEFT JOIN prd_goods_sku s on g.id = s.goods_id\r\n" +  
112 - "LEFT JOIN pri_user u on u.id = g.category_manager_id\r\n" +  
113 - "where s.`no` in ("+Model.getSkuNo()+");";  
114 - Model.setManager(DBSqlSearch(sql, "account_name"));  
115 - }  
116 -}  
src/test/java/com/buyer/pageObject/MyOrderPage.java deleted
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -  
5 -import com.essa.framework.BasePage;  
6 -  
7 -public class MyOrderPage extends BasePage {  
8 - public MyOrderPage(WebDriver driver) {  
9 - super(driver);  
10 - }  
11 -}  
src/test/java/com/buyer/pageObject/OrderPreviewPage.java deleted
@@ -1,48 +0,0 @@ @@ -1,48 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *订单预览页  
13 - */  
14 -public class OrderPreviewPage extends BasePage {  
15 - public OrderPreviewPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 -  
19 - //是否授权:同意  
20 - @FindBy (xpath ="//*[@ng-checked='list.isAuthorExchange==1']")  
21 - WebElement agree;  
22 -  
23 - //提交po  
24 - @FindBy (xpath ="//*[@id='react-orderConfirmation-submit']")  
25 - WebElement sendPO;  
26 -  
27 - //弹框:确认  
28 - @FindBy (xpath ="//a[text()='Send PO']")  
29 - WebElement confirm;  
30 -  
31 - /**  
32 - * 提交po  
33 - * @return PayDepositPage  
34 - */  
35 - public PayDepositPage submit() {  
36 -// while(!(isVisibility(By.xpath("//*[@ng-checked='list.isAuthorExchange==1']")))) {  
37 -// forceWait(1000);  
38 -// }  
39 - dynamicWait(By.xpath("//*[@ng-checked='list.isAuthorExchange==1']"));  
40 - moveHeightScroll("50");  
41 - forceWait(500);  
42 - jsExecutorClick(agree);  
43 - click(sendPO);  
44 - forceWait(1000);  
45 - click(confirm);  
46 - return new PayDepositPage(driver);  
47 - }  
48 -}  
src/test/java/com/buyer/pageObject/PayDepositPage.java deleted
@@ -1,69 +0,0 @@ @@ -1,69 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator  
13 - *支付定金页  
14 - */  
15 -public class PayDepositPage extends BasePage {  
16 - public PayDepositPage(WebDriver driver) {  
17 - super(driver);  
18 - }  
19 -  
20 - //PO信息  
21 - @FindBy (xpath="//*[contains(text(),'PO information')]")  
22 - WebElement POInfo;  
23 -  
24 - //查看资金详情---可用资金不足  
25 - @FindBy (xpath ="//button[@class='submit-payment-deposit-button btn btn-primary']")  
26 - WebElement FundDetail;  
27 -  
28 - //免定金模式--确认按钮  
29 - @FindBy (xpath ="//*[@ng-click='submit()']")  
30 - WebElement ok;  
31 -  
32 - //po单号  
33 - @FindBy (xpath ="//*[contains(text(),'PO number:')]/../../td[2]/span")  
34 - WebElement poNum;  
35 -  
36 - /**  
37 - * 查看资金详情  
38 - * @return AssetManagementPage  
39 - */  
40 - public AssetManagementPage toAssetManagementPage() {  
41 - click(FundDetail);  
42 - return new AssetManagementPage(driver);  
43 - }  
44 -  
45 - /**  
46 - * 确认PO  
47 - * @return MyOrderPage  
48 - */  
49 - public MyOrderPage confirm() {  
50 - click(ok);  
51 - return new MyOrderPage(driver);  
52 - }  
53 -  
54 - public void operate() {  
55 - /*while (!(isVisibility(By.xpath("//*[contains(text(),'PO information')]")))) {  
56 - forceWait(1000);  
57 - }*/  
58 - dynamicWait(By.xpath("//*[contains(text(),'PO information')]"));  
59 - Model.setPoNum(poNum.getText());  
60 - if (isVisibility(By.xpath("//button[@class='submit-payment-deposit-button btn btn-primary']"))) {  
61 - //如果是可用资金不足,跳转到资金管理  
62 - toAssetManagementPage();  
63 - }else if (isVisibility(By.xpath("//*[@ng-click='submit()']"))) {  
64 - //免定金模式,确认po,跳转到我的订单列表  
65 - confirm();  
66 - }  
67 - forceWait(2000);  
68 - }  
69 -}  
src/test/java/com/buyer/pageObject/RegisterPage.java deleted
@@ -1,165 +0,0 @@ @@ -1,165 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import java.text.SimpleDateFormat;  
4 -import java.util.Date;  
5 -  
6 -import org.openqa.selenium.WebDriver;  
7 -import org.openqa.selenium.WebElement;  
8 -import org.openqa.selenium.support.FindBy;  
9 -  
10 -import com.essa.framework.BasePage;  
11 -import com.essa.framework.Model;  
12 -import com.essa.framework.Tools;  
13 -  
14 -/**  
15 - * 采购商注册页  
16 - * @author Administrator  
17 - *  
18 - */  
19 -public class RegisterPage extends BasePage {  
20 - public RegisterPage(WebDriver driver) {  
21 - super(driver);  
22 - }  
23 - /*  
24 - * 元素定位  
25 - */  
26 - //检查点-是否进入页面  
27 - @FindBy (xpath ="//*[contains(text(),' Own essa.cn account')]")  
28 - WebElement checkPoint;  
29 -  
30 - //email  
31 - @FindBy (xpath ="//*[@id='email']")  
32 - WebElement email;  
33 -  
34 - //password  
35 - @FindBy (xpath ="//*[@id='password']")  
36 - WebElement password;  
37 -  
38 - //confirmPassword  
39 - @FindBy (xpath ="//*[@id='confirmPassword']")  
40 - WebElement confirmPassword;  
41 -  
42 - //币种 currency  
43 - @FindBy (xpath ="//*[@id='currPlaceholder']")  
44 - WebElement currPlaceholder;  
45 -  
46 - //CNY  
47 - @FindBy (xpath="//*[text()='CNY']")  
48 - WebElement CNY;  
49 -  
50 - //companyName  
51 - @FindBy (xpath="//*[@id='companyName']")  
52 - WebElement companyName;  
53 -  
54 - //空白的地方-用于关闭选项框  
55 - @FindBy (xpath ="//*[@class='register-right']")  
56 - WebElement blank;  
57 -  
58 - //区域continent  
59 - @FindBy (xpath ="//*[@id='continentPlaceholder']")  
60 - WebElement continentPlaceholder;  
61 -  
62 - //欧洲europe  
63 - @FindBy (xpath="//*[text()='Europe']")  
64 - WebElement Europe;  
65 -  
66 - //country  
67 - @FindBy (xpath ="//*[@id='countryPlaceholder']")  
68 - WebElement country;  
69 -  
70 - //俄罗斯Russian  
71 - @FindBy (xpath ="//*[text()='Russian federation']")  
72 - WebElement Russian;  
73 -  
74 - //contactName  
75 - @FindBy (xpath ="//*[@id='contactName']")  
76 - WebElement contactName;  
77 -  
78 - //phone  
79 - @FindBy (xpath ="//*[@id='phone']")  
80 - WebElement phone;  
81 -  
82 - //purchaseQuantity  
83 - @FindBy (xpath ="//*[@id='purchaseQuantity']")  
84 - WebElement purchaseQuantity;  
85 -  
86 - //quantity  
87 - @FindBy (xpath ="//*[contains(text(),'1 000 000 - 2 500 000 USD')]")  
88 - WebElement quantity;  
89 -  
90 - //singleQuantity  
91 - @FindBy (xpath ="//*[@id='singleQuantity']")  
92 - WebElement singleQuantity;  
93 -  
94 - //single  
95 - @FindBy (xpath ="//*[text()='30-49 ctn']")  
96 - WebElement single;  
97 -  
98 - //select  
99 - @FindBy (xpath ="//*[text()='Select']")  
100 - WebElement select;  
101 -  
102 - //toys1  
103 - @FindBy (xpath ="//*[@title='Animals&plants']")  
104 - WebElement toys1;  
105 -  
106 - //toys2  
107 - @FindBy (xpath ="//*[text()='Dolls and accessories']")  
108 - WebElement toys2;  
109 -  
110 - //toys3  
111 - @FindBy (xpath ="//*[text()='Bricks']")  
112 - WebElement toys3;  
113 -  
114 - //referralCode  
115 - @FindBy (xpath ="//*[@id='referralCode']")  
116 - WebElement referralCode;  
117 -  
118 - //checkBox  
119 - @FindBy (xpath ="//*[@id='protocol']")  
120 - WebElement checkbox;  
121 -  
122 - //Register  
123 - @FindBy (xpath ="//*[@id='submit']")  
124 - WebElement register;  
125 -  
126 - /*  
127 - * 页面方法  
128 - */  
129 - /**  
130 - * 注册  
131 - * @return IndexPage  
132 - */  
133 - public IndexPage register() {  
134 - SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmm");  
135 - String num = Tools.getTime();  
136 - sendKeys(email, Model.getEmail());  
137 - sendKeys(password, "essa123");  
138 - sendKeys(confirmPassword, "essa123");  
139 - click(currPlaceholder);  
140 - click(CNY);  
141 - sendKeys(companyName, "Auto"+num);  
142 - click(continentPlaceholder);  
143 - click(Europe);  
144 - click(Russian);  
145 - sendKeys(contactName, "Tester"+num);  
146 - sendKeys(phone, format.format(new Date()));  
147 - forceWait(500);  
148 - click(purchaseQuantity);  
149 - click(quantity);  
150 - forceWait(500);  
151 - click(singleQuantity);  
152 - click(single);  
153 - moveHeightScroll("100");  
154 - jsExecutorClick(select);  
155 - click(toys1);  
156 - click(toys2);  
157 - click(toys3);  
158 - click(blank);  
159 - sendKeys(referralCode, Model.getInvateCode());  
160 - jsExecutorClick(checkbox);  
161 - click(register);  
162 - forceWait(3000);  
163 - return new IndexPage(driver);  
164 - }  
165 -}  
src/test/java/com/buyer/pageObject/SettingMarksPage.java deleted
@@ -1,46 +0,0 @@ @@ -1,46 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -  
10 -/**  
11 - * 设置唛头页  
12 - * @author Administrator  
13 - *  
14 - */  
15 -public class SettingMarksPage extends BasePage {  
16 - public SettingMarksPage(WebDriver driver) {  
17 - super(driver);  
18 - }  
19 - //不应用唛头  
20 - @FindBy (xpath ="//*[@title='No shipping marks for these products']")  
21 - WebElement noNeedMarks;  
22 -  
23 - //下一步  
24 - @FindBy (xpath ="//*[text()='Next step']")  
25 - WebElement next;  
26 -  
27 - //弹框提示-确定  
28 - @FindBy (xpath ="//*[text()='OK']")  
29 - WebElement ok;  
30 -  
31 - /**  
32 - * 设置唛头:不应用唛头  
33 - * @return SettingStickerPage  
34 - */  
35 - public SettingStickerPage setMarks() {  
36 - /*while(!(isVisibility(By.xpath("//*[@title='No shipping marks for these products']")))) {  
37 - forceWait(1000);  
38 - }*/  
39 - dynamicWait(By.xpath("//*[@title='No shipping marks for these products']"));  
40 - click(noNeedMarks);  
41 - click(next);  
42 - forceWait(500);  
43 - click(ok);  
44 - return new SettingStickerPage(driver);  
45 - }  
46 -}  
src/test/java/com/buyer/pageObject/SettingStickerPage.java deleted
@@ -1,44 +0,0 @@ @@ -1,44 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *设置贴纸页  
13 - */  
14 -public class SettingStickerPage extends BasePage {  
15 - public SettingStickerPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 - //不应用贴纸  
19 - @FindBy (xpath ="//*[@title='No stickers for these products']")  
20 - WebElement noNeedSticker;  
21 -  
22 - //下一步  
23 - @FindBy (xpath ="//*[text()='Next step']")  
24 - WebElement next;  
25 -  
26 - //弹框提示-确定  
27 - @FindBy (xpath ="//*[text()='OK']")  
28 - WebElement ok;  
29 -  
30 - /**  
31 - * 设置贴纸:不应用贴纸  
32 - * @return OrderPreviewPage  
33 - */  
34 - public OrderPreviewPage setSticker() {  
35 - /*while (!(isVisibility(By.xpath("//*[@title='No stickers for these products']")))) {  
36 - forceWait(1000);  
37 - }*/  
38 - dynamicWait(By.xpath("//*[@title='No stickers for these products']"));  
39 - click(noNeedSticker);  
40 - click(next);  
41 - click(ok);  
42 - return new OrderPreviewPage(driver);  
43 - }  
44 -}  
src/test/java/com/buyer/pageObject/ShoppingCartPage.java deleted
@@ -1,81 +0,0 @@ @@ -1,81 +0,0 @@
1 -package com.buyer.pageObject;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * 购物车页  
13 - * @author Administrator  
14 - *  
15 - */  
16 -public class ShoppingCartPage extends BasePage {  
17 - public ShoppingCartPage(WebDriver driver) {  
18 - super(driver);  
19 - }  
20 - /*  
21 - * 元素定位  
22 - */  
23 - //关键字查询框  
24 - @FindBy (xpath ="//*[@ng-model='keyword']")  
25 - WebElement keyword;  
26 -  
27 - //查询按钮  
28 - @FindBy (xpath ="//*[contains(@ng-click,'search()')]")  
29 - WebElement searchButton;  
30 -  
31 - //搜索结果的一个sku对应的复选框  
32 - @FindBy (xpath ="//*[contains(@class,'products-list ng-scope')]/div[2]/div[2]/span[1]/input")  
33 - WebElement checkbox;  
34 -  
35 - //可拼柜  
36 - @FindBy (xpath="//*[text()='Consolidation allowed']")  
37 - WebElement consolidationAllowed;  
38 -  
39 - //开始拼柜  
40 - @FindBy (xpath ="//button[contains(text(),' Start consolidation')]")  
41 - WebElement startConslidation;  
42 -  
43 - //确认采购按钮  
44 - @FindBy (xpath = "//*[@class='products-list ng-scope']/div[2]/div/div[1]/div/span[5]/div/button")  
45 - WebElement confirmOrder;  
46 -  
47 - /*  
48 - * 页面方法  
49 - */  
50 - /**  
51 - * 断言sku是否已经加入购物车  
52 - * @return true:已加入 false:未加入  
53 - */  
54 - public boolean isSucceed() {  
55 - mywait(keyword);  
56 - sendKeys(keyword, Model.getSkuNo());  
57 - click(searchButton);  
58 - mywait(checkbox);  
59 - forceWait(2000);  
60 - return isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]"));  
61 - }  
62 - /**  
63 - * 开始拼柜  
64 - * @return ConslidationPage  
65 - */  
66 - public ConslidationPage startConslidation() {  
67 - mywait(keyword);  
68 - click(consolidationAllowed);  
69 - mywait(startConslidation);  
70 - click(startConslidation);  
71 - return new ConslidationPage(driver);  
72 - }  
73 -  
74 - /**  
75 - * 确认采购  
76 - */  
77 - public void confirmOrder() {  
78 - dynamicLoad(By.xpath("//*[@class='products-list ng-scope']/div[2]/div/div[1]/div/span[5]/div/button"));  
79 - click(confirmOrder);  
80 - }  
81 -}  
src/test/java/com/buyer/testSuite/TestAddToCart.java deleted
@@ -1,65 +0,0 @@ @@ -1,65 +0,0 @@
1 -package com.buyer.testSuite;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.support.PageFactory;  
5 -import org.testng.annotations.AfterClass;  
6 -import org.testng.annotations.BeforeClass;  
7 -import org.testng.annotations.Test;  
8 -import org.testng.asserts.SoftAssert;  
9 -  
10 -import com.buyer.pageObject.IndexPage;  
11 -import com.buyer.pageObject.KeywordResultPage;  
12 -import com.buyer.pageObject.ShoppingCartPage;  
13 -import com.essa.framework.Model;  
14 -import com.essa.pageObject.BaseTest;  
15 -  
16 -/**  
17 - * @author Administrator  
18 - *测试用例:采购商平台采购流程  
19 - */  
20 -public class TestAddToCart extends BaseTest {  
21 - WebDriver driver;  
22 -  
23 - @BeforeClass  
24 - public void setUp() {  
25 - initBuyer();  
26 - loginBuyerValid(Model.getBuyerAccount(),Model.getBuyerPassword());  
27 -// loginBuyerValid("buyer51551@essa.cn","essa123");  
28 -// Model.setIsactivity(1);  
29 -// Model.setSkuNo("");  
30 - }  
31 - @AfterClass  
32 - public void tearDown() {  
33 - driver.quit();  
34 - }  
35 -  
36 - /**  
37 - * 关键字查询,并将搜到的结果加入购物车  
38 - */  
39 - @Test(description="关键字搜索,并将sku加入购物车",groups= {"first"})  
40 - public void keywordToCart() {  
41 - this.driver = getDriver();  
42 - IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class);  
43 - indexPage.keywordSearch();  
44 - KeywordResultPage keywordResultPage = PageFactory.initElements(driver, KeywordResultPage.class);  
45 - keywordResultPage.addToCart();  
46 - //断言  
47 - ShoppingCartPage shoppingCartPage = PageFactory.initElements(driver, ShoppingCartPage.class);  
48 - boolean actual = shoppingCartPage.isSucceed();  
49 - SoftAssert softAssert = new SoftAssert();  
50 - softAssert.assertEquals(actual, true, "加入购物车失败!");  
51 - softAssert.assertAll();  
52 - }  
53 -  
54 - /**  
55 - * 关键字查询,加入购物车,但不进入购物车,防止提示有人正在操作  
56 - */  
57 - @Test(description="将sku加入购物车")  
58 - public void addSku() {  
59 - this.driver = getDriver();  
60 - IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class);  
61 - indexPage.keywordSearch();  
62 - KeywordResultPage keywordResultPage = PageFactory.initElements(driver, KeywordResultPage.class);  
63 - keywordResultPage.addSku();  
64 - }  
65 -}  
src/test/java/com/buyer/testSuite/TestRegister.java deleted
@@ -1,45 +0,0 @@ @@ -1,45 +0,0 @@
1 -package com.buyer.testSuite;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.support.PageFactory;  
5 -import org.testng.annotations.AfterClass;  
6 -import org.testng.annotations.BeforeClass;  
7 -import org.testng.annotations.Test;  
8 -import org.testng.asserts.SoftAssert;  
9 -  
10 -import com.buyer.pageObject.IndexPage;  
11 -import com.buyer.pageObject.RegisterPage;  
12 -import com.essa.pageObject.BaseTest;  
13 -  
14 -/**  
15 - * @author Administrator  
16 - *测试用例:采购商注册信息填写  
17 - */  
18 -public class TestRegister extends BaseTest{  
19 - WebDriver driver;  
20 -  
21 - @BeforeClass  
22 - public void setUp() {  
23 - initBuyer();  
24 - }  
25 -  
26 - /**  
27 - * 注册buyer  
28 - */  
29 - @Test(description="填写注册采购商信息,注册采购商")  
30 - public void register() {  
31 - this.driver = getDriver();  
32 - IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class);  
33 - indexPage.toRegisterPage();  
34 - RegisterPage registerPage = PageFactory.initElements(driver, RegisterPage.class);  
35 - registerPage.register();  
36 -  
37 - SoftAssert softAssert = new SoftAssert();  
38 - softAssert.assertEquals(indexPage.isSucceed(), true, "采购商注册失败了!");  
39 - softAssert.assertAll();  
40 - }  
41 - @AfterClass  
42 - public void tearDown() {  
43 - driver.quit();  
44 - }  
45 -}  
src/test/java/com/buyer/testSuite/TestSendPO.java deleted
@@ -1,64 +0,0 @@ @@ -1,64 +0,0 @@
1 -package com.buyer.testSuite;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.support.PageFactory;  
5 -import org.testng.annotations.AfterClass;  
6 -import org.testng.annotations.BeforeClass;  
7 -import org.testng.annotations.Test;  
8 -import com.buyer.pageObject.ConslidationPage;  
9 -import com.buyer.pageObject.IndexPage;  
10 -import com.buyer.pageObject.OrderPreviewPage;  
11 -import com.buyer.pageObject.PayDepositPage;  
12 -import com.buyer.pageObject.SettingMarksPage;  
13 -import com.buyer.pageObject.SettingStickerPage;  
14 -import com.buyer.pageObject.ShoppingCartPage;  
15 -import com.essa.framework.Model;  
16 -import com.essa.pageObject.BaseTest;  
17 -  
18 -/**  
19 - * @author Administrator  
20 - *测试用例:采购商平台采购流程  
21 - */  
22 -public class TestSendPO extends BaseTest {  
23 - WebDriver driver;  
24 -  
25 - @BeforeClass  
26 - public void setUp() {  
27 - initBuyer();  
28 - loginBuyerValid(Model.getBuyerAccount(),Model.getBuyerPassword());  
29 -// loginBuyerValid("buyer51551@essa.cn","essa123");  
30 - }  
31 - @AfterClass  
32 - public void tearDown() {  
33 - driver.quit();  
34 - }  
35 -  
36 - /**  
37 - * 开始拼柜  
38 - */  
39 - @Test(description="开始拼柜")  
40 - public void conslidation() {  
41 - this.driver = getDriver();  
42 - IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class);  
43 - indexPage.toShoppingCartPage();  
44 - ShoppingCartPage shoppingCartPage = PageFactory.initElements(driver, ShoppingCartPage.class);  
45 - shoppingCartPage.startConslidation();  
46 - ConslidationPage conslidationPage = PageFactory.initElements(driver, ConslidationPage.class);  
47 - conslidationPage.conslidation();  
48 - }  
49 - /**  
50 - * 提交PO  
51 - */  
52 - @Test(description="设置贴纸唛头,提交PO")  
53 - public void sendPO() {  
54 - this.driver = getDriver();  
55 - SettingMarksPage settingMarksPage = PageFactory.initElements(driver, SettingMarksPage.class);  
56 - settingMarksPage.setMarks();  
57 - SettingStickerPage settingStickerPage = PageFactory.initElements(driver, SettingStickerPage.class);  
58 - settingStickerPage.setSticker();  
59 - OrderPreviewPage orderPreviewPage = PageFactory.initElements(driver, OrderPreviewPage.class);  
60 - orderPreviewPage.submit();  
61 - PayDepositPage payDepositPage = PageFactory.initElements(driver, PayDepositPage.class);  
62 - payDepositPage.operate();  
63 - }  
64 -}  
src/test/java/com/essa/framework/BasePage.java deleted
@@ -1,700 +0,0 @@ @@ -1,700 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import java.awt.Robot;  
4 -import java.awt.Toolkit;  
5 -import java.awt.datatransfer.StringSelection;  
6 -import java.awt.event.KeyEvent;  
7 -import java.io.File;  
8 -import java.io.FileInputStream;  
9 -import java.io.IOException;  
10 -import java.sql.Connection;  
11 -import java.sql.ResultSet;  
12 -import java.text.SimpleDateFormat;  
13 -import java.util.ArrayList;  
14 -import java.util.Date;  
15 -import java.util.Iterator;  
16 -import java.util.List;  
17 -import java.util.Set;  
18 -  
19 -import org.apache.commons.io.FileUtils;  
20 -import org.apache.poi.hssf.usermodel.HSSFWorkbook;  
21 -import org.apache.poi.ss.usermodel.Cell;  
22 -import org.apache.poi.ss.usermodel.Row;  
23 -import org.apache.poi.ss.usermodel.Sheet;  
24 -import org.apache.poi.ss.usermodel.Workbook;  
25 -import org.apache.poi.xssf.usermodel.XSSFWorkbook;  
26 -import org.openqa.selenium.Alert;  
27 -import org.openqa.selenium.By;  
28 -import org.openqa.selenium.JavascriptExecutor;  
29 -import org.openqa.selenium.Keys;  
30 -import org.openqa.selenium.NoSuchElementException;  
31 -import org.openqa.selenium.OutputType;  
32 -import org.openqa.selenium.TakesScreenshot;  
33 -import org.openqa.selenium.WebDriver;  
34 -import org.openqa.selenium.WebElement;  
35 -import org.openqa.selenium.interactions.Actions;  
36 -import org.openqa.selenium.support.ui.ExpectedConditions;  
37 -import org.openqa.selenium.support.ui.Select;  
38 -import org.openqa.selenium.support.ui.WebDriverWait;  
39 -  
40 -import com.essa.framework.BasePage;  
41 -import com.essa.framework.LogType;  
42 -import com.essa.framework.Logger;  
43 -import com.mysql.cj.jdbc.PreparedStatement;  
44 -  
45 -public class BasePage {  
46 -  
47 - public static WebDriver driver;  
48 - public static String pageTitle;  
49 - public static String pageUrl;  
50 - public static String OutputFileName = getDateTimeByFormat(new Date(), "yyyyMMdd_HHmmss");  
51 -  
52 - /**  
53 - * 构造方法  
54 - * @param driver  
55 - */  
56 - public BasePage(WebDriver driver) {  
57 - BasePage.driver = driver;  
58 - }  
59 -  
60 - /**  
61 - * 在文本框内输入字符  
62 - * @param element  
63 - * @param text  
64 - */  
65 - protected void sendKeys(WebElement element, String text) {  
66 - try {  
67 - mywait(element);  
68 - if (element.isEnabled()) {  
69 - element.clear();  
70 - Logger.Output(LogType.LogTypeName.INFO, "清除文本框中已有字符:" + partialStr(element.toString(), "xpath:"));  
71 - element.sendKeys(text);  
72 - Logger.Output(LogType.LogTypeName.INFO, "输入的字符是:" + text);  
73 - }  
74 - } catch (Exception e) {  
75 - Logger.Output(LogType.LogTypeName.ERROR, element.toString()+"元素不存在");  
76 - }  
77 -  
78 - }  
79 -  
80 - /**  
81 - * 点击元素,这里指点击鼠标左键  
82 - * @param element  
83 - */  
84 - protected void click(WebElement element) {  
85 -  
86 - try {  
87 - mywait(element);  
88 - if (element.isEnabled()) {  
89 - Logger.Output(LogType.LogTypeName.INFO, "点击元素:" + partialStr(element.toString(), "xpath:"));  
90 - element.click();  
91 - }  
92 - } catch (Exception e) {  
93 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
94 - }  
95 -  
96 - }  
97 -  
98 - /**  
99 - * 在文本输入框执行清除操作  
100 - * @param element  
101 - */  
102 - protected void clear(WebElement element) {  
103 - try {  
104 - if (element.isEnabled()) {  
105 - element.clear();  
106 - Logger.Output(LogType.LogTypeName.INFO, "清除输入框中字符:" + partialStr(element.toString(), "xpath:") );  
107 - }  
108 - } catch (Exception e) {  
109 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
110 - }  
111 -  
112 - }  
113 -  
114 - /**  
115 - * 判断一个页面元素是否显示在当前页面  
116 - * @param element  
117 - */  
118 - protected void verifyElementIsPresent(WebElement element) {  
119 -  
120 - try {  
121 - if (element.isDisplayed()) {  
122 - Logger.Output(LogType.LogTypeName.INFO, "元素存在:" + partialStr(element.toString(), "xpath:").trim());  
123 -  
124 - }  
125 - } catch (Exception e) {  
126 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
127 - }  
128 - }  
129 -  
130 - /**  
131 - * 获取页面的标题  
132 - * @return  
133 - */  
134 - protected String getCurrentPageTitle() {  
135 -  
136 - pageTitle = driver.getTitle();  
137 - Logger.Output(LogType.LogTypeName.INFO, "当前页面的标题为:" + pageTitle);  
138 - return pageTitle;  
139 - }  
140 -  
141 - /**  
142 - * 获取页面的url  
143 - * @return  
144 - */  
145 - public static String getCurrentPageUrl() {  
146 - pageUrl = driver.getCurrentUrl();  
147 - Logger.Output(LogType.LogTypeName.INFO, "当前页面的URL为:" + pageUrl);  
148 - return pageUrl;  
149 - }  
150 -  
151 - /**  
152 - * 处理多窗口之间切换  
153 - */  
154 - protected void switchWindow() {  
155 -  
156 - String currentWindow = driver.getWindowHandle();// 获取当前窗口句柄  
157 - Set<String> handles = driver.getWindowHandles();// 获取所有窗口句柄  
158 - Logger.Output(LogType.LogTypeName.INFO, "当前窗口数量: " + handles.size());  
159 - Iterator<String> it = handles.iterator();  
160 - while (it.hasNext()) {  
161 - if (currentWindow == it.next()) {  
162 - driver.close();  
163 - continue;  
164 - }  
165 - try {  
166 - // driver.close();// 关闭旧窗口  
167 - WebDriver window = driver.switchTo().window(it.next());// 切换到新窗口  
168 - Logger.Output(LogType.LogTypeName.INFO, "新窗口的标题为:" + window.getTitle());  
169 - } catch (Exception e) {  
170 - Logger.Output(LogType.LogTypeName.ERROR, "无法切换到新打开窗口" + e.getMessage());  
171 -  
172 - }  
173 - // driver.close();//关闭当前焦点所在的窗口  
174 - }  
175 - // driver.switchTo().window(currentWindow);//回到原来页面  
176 - }  
177 -  
178 - /**  
179 - * 处理多窗口之间切换  
180 - * 将会关闭当前的窗口  
181 - */  
182 - protected void switchMoreWindow() {  
183 -  
184 - String handle = driver.getWindowHandle();  
185 - for(String temhandle : driver.getWindowHandles()) {  
186 - if (!temhandle.equals(handle)) {  
187 - driver.close();  
188 - driver.switchTo().window(temhandle);  
189 - }  
190 - }  
191 - }  
192 - /**  
193 - * 浏览器弹框操作,true确认弹框,false取消弹框  
194 - * @param isAccept  
195 - */  
196 - protected void alert(boolean isAccept) {  
197 - Alert alert = driver.switchTo().alert();  
198 - if (isAccept) {  
199 - Logger.Output(LogType.LogTypeName.INFO, "提示框内容为:" + alert.getText());  
200 - alert.accept();  
201 - Logger.Output(LogType.LogTypeName.INFO, "确认弹框");  
202 - } else {  
203 - Logger.Output(LogType.LogTypeName.INFO, "提示框内容为:" + alert.getText());  
204 - alert.dismiss();  
205 - Logger.Output(LogType.LogTypeName.INFO, "取消弹框");  
206 - }  
207 - }  
208 -  
209 - /**  
210 - * 下拉框选择选项  
211 - * 元素必须可以使用select,input和button使用会报错  
212 - * @param element  
213 - * @param optionText  
214 - */  
215 - protected void selectElement(WebElement element, String optionText) {  
216 - Select select = new Select(element);  
217 - select.selectByVisibleText(optionText);  
218 - Logger.Output(LogType.LogTypeName.INFO, "选择选项:" + optionText);  
219 - }  
220 -  
221 - /**  
222 - * 下拉框选择选项,通过选项中的value来定位  
223 - * @param element  
224 - * @param value  
225 - */  
226 - protected void selectElement(WebElement element, int value) {  
227 - Select select = new Select(element);  
228 - select.selectByIndex(value);  
229 - Logger.Output(LogType.LogTypeName.INFO, "选择选项:" + value);  
230 - }  
231 - /**  
232 - * 判断元素在页面中是否存在  
233 - * @param element  
234 - * @return boolean  
235 - */  
236 - protected boolean isElementExist(WebElement element) {  
237 - try {  
238 - Boolean bool = element.isDisplayed();  
239 -  
240 - Logger.Output(LogType.LogTypeName.INFO, "检查元素是否存在:" +partialStr(element.toString(), "xpath:")+":"+ bool);  
241 - return bool;  
242 - } catch (NoSuchElementException e) {  
243 - takeScreenShot();  
244 - Logger.Output(LogType.LogTypeName.ERROR, "无法确认当前元素是否存在:" + e.getMessage());  
245 - return false;  
246 - }  
247 - }  
248 -  
249 - /**  
250 - * 元素在页面上是否可见,不建议用此方法,有时会报错,找不出原因  
251 - * @param element  
252 - * @return boolean  
253 - */  
254 - protected boolean isVisibility(WebElement element) {  
255 - try {  
256 - if(ExpectedConditions.visibilityOf(element) != null) {  
257 - Logger.Output(LogType.LogTypeName.INFO, "元素在页面上可见");  
258 - return true;  
259 - }  
260 - } catch (NoSuchElementException e) {  
261 - Logger.Output(LogType.LogTypeName.ERROR, "无法页面上是否有此元素");  
262 - return false;  
263 - }  
264 - Logger.Output(LogType.LogTypeName.INFO, "元素在页面不可见");  
265 - return false;  
266 - }  
267 -  
268 - /**  
269 - * 元素在页面上是否可见  
270 - * @param element  
271 - * @return  
272 - */  
273 - protected boolean isVisibility(By by) {  
274 - try {  
275 - Logger.Output(LogType.LogTypeName.INFO, "检查元素在页面上是否可见");  
276 - if(ExpectedConditions.visibilityOf(driver.findElement(by)) != null) {  
277 - Logger.Output(LogType.LogTypeName.INFO, "元素可见:"+by.toString());  
278 - return true;  
279 - }  
280 - } catch (NoSuchElementException e) {  
281 - }  
282 - Logger.Output(LogType.LogTypeName.INFO, "元素不可见:"+by.toString());  
283 - return false;  
284 - }  
285 -  
286 -  
287 - /**  
288 - * 获取元素的文本值  
289 - * @param element  
290 - */  
291 - protected String getText(WebElement element) {  
292 -  
293 - try {  
294 - if (element.isEnabled()) {  
295 - Logger.Output(LogType.LogTypeName.INFO, "获取当前元素的文本值:" + element.getText());  
296 - return element.getText();  
297 - }  
298 - } catch (Exception e) {  
299 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
300 - }  
301 - return null;  
302 - }  
303 -  
304 - /**  
305 - * js的点击操作  
306 - * @param element  
307 - */  
308 - protected void jsExecutorClick(WebElement element) {  
309 - try {  
310 - mywait(element);  
311 - JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;  
312 - jsExecutor.executeScript("arguments[0].click();", element);  
313 - Logger.Output(LogType.LogTypeName.INFO, "调用JavaScript点击元素:" + partialStr(element.toString(), "xpath:"));  
314 - } catch (Exception e) {  
315 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
316 - }  
317 -  
318 - }  
319 -  
320 - /**  
321 - * js的删除操作  
322 - * @param webElement  
323 - * @param attribute  
324 - */  
325 - protected void jsExecutorRemoveAttribute(WebElement webElement, String attribute) {  
326 - try {  
327 - JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;  
328 - jsExecutor.executeScript("arguments[0].removeAttribute('" + attribute + "');", webElement);  
329 - Logger.Output(LogType.LogTypeName.INFO, "调用JavaScript删除元素属性:" + attribute);  
330 - } catch (Exception e) {  
331 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
332 - }  
333 -  
334 - }  
335 -  
336 - /**  
337 - * 获取js返回的值  
338 - * @param webElement  
339 - * @return  
340 - */  
341 - protected String jsExecutorGetAttributeValue(WebElement webElement) {  
342 - try {  
343 - JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;  
344 - Logger.Output(LogType.LogTypeName.INFO, "调用JavaScript返回元素属性值");  
345 - return (String) jsExecutor.executeScript("return arguments[0].id;", webElement);  
346 - } catch (Exception e) {  
347 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
348 - return null;  
349 - }  
350 - }  
351 -  
352 - /**  
353 - * 读取excel中的数据  
354 - * @param filepath excel的路径地址  
355 - * @param filename excel的文件名  
356 - * @param SheetName excel的worksheet名  
357 - * @return  
358 - * @throws Exception  
359 - */  
360 - public static Object[][] readExcel(String filepath, String filename, String SheetName){  
361 - try {  
362 - File file = new File(filepath + "\\" + filename);  
363 - FileInputStream inputStream = new FileInputStream(file);  
364 - Workbook Workbook = null;  
365 - // 获取文件扩展名  
366 - String fileExtensionName = filename.substring(filename.indexOf("."));  
367 - Logger.Output(LogType.LogTypeName.INFO, "获取所要读取的文件");  
368 - // 判断是.xlsx还是.xls的文件并进行实例化  
369 - if (fileExtensionName.equals(".xlsx")) {  
370 - Workbook = new XSSFWorkbook(inputStream);  
371 - Logger.Output(LogType.LogTypeName.INFO, "文件为:.xlsx格式");  
372 - } else if (fileExtensionName.equals(".xls")) {  
373 - Workbook = new HSSFWorkbook(inputStream);  
374 - Logger.Output(LogType.LogTypeName.INFO, "文件为:.xls格式");  
375 - }  
376 - // 通过sheetName生成Sheet对象  
377 - Sheet Sheet = Workbook.getSheet(SheetName);  
378 - int rowCount = Sheet.getLastRowNum() - Sheet.getFirstRowNum();  
379 - List<Object[]> records = new ArrayList<Object[]>();  
380 - for (int i = 0; i < rowCount + 1; i++) {  
381 - Row row = Sheet.getRow(i);  
382 - String fields[] = new String[row.getLastCellNum()];  
383 - for (int j = 0; j < row.getLastCellNum(); j++) {  
384 - if (row.getCell(j).getCellType() == Cell.CELL_TYPE_NUMERIC) {  
385 - row.getCell(j).setCellType(Cell.CELL_TYPE_STRING);  
386 - }  
387 - // 判断数据的类型  
388 - switch (row.getCell(j).getCellType()) {  
389 - case Cell.CELL_TYPE_NUMERIC: // 数字  
390 - fields[j] = String.valueOf(row.getCell(j).getNumericCellValue());  
391 - break;  
392 - case Cell.CELL_TYPE_STRING: // 字符串  
393 - fields[j] = String.valueOf(row.getCell(j).getStringCellValue());  
394 - break;  
395 - case Cell.CELL_TYPE_BOOLEAN: // Boolean  
396 - fields[j] = String.valueOf(row.getCell(j).getBooleanCellValue());  
397 - break;  
398 - case Cell.CELL_TYPE_FORMULA: // 公式  
399 - fields[j] = String.valueOf(row.getCell(j).getCellFormula());  
400 - break;  
401 - case Cell.CELL_TYPE_BLANK: // 空值  
402 - fields[j] = "";  
403 - break;  
404 - case Cell.CELL_TYPE_ERROR: // 故障  
405 - fields[j] = "非法字符";  
406 - break;  
407 - default:  
408 - fields[j] = "未知类型";  
409 - break;  
410 - }  
411 - }  
412 - records.add(fields);  
413 - }  
414 - Object[][] results = new Object[records.size()][];  
415 - for (int i = 0; i < records.size(); i++) {  
416 - results[i] = records.get(i);  
417 - }  
418 - Logger.Output(LogType.LogTypeName.INFO, "读取文件成功");  
419 - return results;  
420 - } catch (Exception e) {  
421 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
422 - }  
423 - return null;  
424 - }  
425 -  
426 - /**  
427 - * 上传文件  
428 - * @param filePath  
429 - * @throws Exception  
430 - */  
431 - protected void uploadFile(String filePath){  
432 - try {  
433 - Logger.Output(LogType.LogTypeName.INFO, "开始上传文件");  
434 - StringSelection sel = new StringSelection(filePath);  
435 - Toolkit.getDefaultToolkit().getSystemClipboard().setContents(sel, null);  
436 - // 新建一个Robot类的对象  
437 - Robot robot = new Robot();  
438 - Thread.sleep(1000);  
439 -  
440 - // 按下回车  
441 - robot.keyPress(KeyEvent.VK_ENTER);  
442 -  
443 - // 释放回车  
444 - robot.keyRelease(KeyEvent.VK_ENTER);  
445 -  
446 - // 按下 CTRL+V  
447 - robot.keyPress(KeyEvent.VK_CONTROL);  
448 - robot.keyPress(KeyEvent.VK_V);  
449 -  
450 - // 释放 CTRL+V  
451 - robot.keyRelease(KeyEvent.VK_CONTROL);  
452 - robot.keyRelease(KeyEvent.VK_V);  
453 - Thread.sleep(1000);  
454 -  
455 - // 点击回车 Enter  
456 - robot.keyPress(KeyEvent.VK_ENTER);  
457 - robot.keyRelease(KeyEvent.VK_ENTER);  
458 -  
459 - Logger.Output(LogType.LogTypeName.INFO, "上传文件成功");  
460 - } catch (Exception e) {  
461 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
462 - }  
463 - }  
464 -  
465 - /**  
466 - * 字符串切片  
467 - * @param element 需要被操作的元素  
468 - * @param begin 从这个字符开始切  
469 - * @param end 到这个字符结尾  
470 - * 例子:某个元素的文本值为:广州市天河区猎德,只要“天河区”  
471 - * 第二个参数:天, 第三个参数:区  
472 - * @return  
473 - */  
474 - protected String partialStr(WebElement element, String begin, String end) {  
475 - String result_string = element.getText();  
476 - Logger.Output(LogType.LogTypeName.INFO, "获取所需切片的字符串");  
477 - // 根据词切片,取第二片字符串  
478 - String st1 = result_string.split(begin)[1];  
479 - Logger.Output(LogType.LogTypeName.INFO, "切除" + begin + "之前的字符串");  
480 - // 再切一次结尾,得到我们想要的结果  
481 - String search_need = st1.split(end)[0];  
482 - Logger.Output(LogType.LogTypeName.INFO, "切除" + end + "之后的字符串");  
483 - Logger.Output(LogType.LogTypeName.INFO, "返回切片后的字符串");  
484 - return search_need;  
485 - }  
486 -  
487 - /**  
488 - * 复写切片,仅在本页面作为截断日志文本后面带的一堆字符串  
489 - * @param string  
490 - * @param begin  
491 - * @return  
492 - */  
493 - protected String partialStr(String string,String begin) {  
494 - String st1 = string.split(begin)[1];  
495 - return st1;  
496 - }  
497 -  
498 - /**要的元素是否存在,最多5秒  
499 - * @param element  
500 - */  
501 - protected void mywait(WebElement element) {  
502 -  
503 - WebDriverWait wait = new WebDriverWait(driver, 7);  
504 -// Logger.Output(LogType.LogTypeName.INFO, "等待元素在页面上加载可见,最多5秒");  
505 - wait.until(ExpectedConditions.visibilityOf(element));  
506 - }  
507 -  
508 - /**  
509 - * 设立检查点,判断页面是否是我们要的  
510 - * @param checkPoint  
511 - * @param element  
512 - * @return  
513 - */  
514 - protected boolean isThisPage(String checkPoint,WebElement element) {  
515 - boolean bool1=checkPoint.equals(element.getText());  
516 - Logger.Output(LogType.LogTypeName.INFO, "判断检查点是否存在:"+bool1);  
517 - return bool1;  
518 - }  
519 -  
520 - /**  
521 - * 截图当前页面  
522 - */  
523 - protected void takeScreenShot() {  
524 - File src = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);  
525 -  
526 - try {  
527 - // 拷贝截图文件到我们项目./Screenshots  
528 - FileUtils.copyFile(src, new File(".\\Log\\Screenshots\\"+OutputFileName+"截图.png"));  
529 - Logger.Output(LogType.LogTypeName.INFO, "截图当前页面成功!");  
530 - }  
531 -  
532 - catch (IOException e) {  
533 - System.out.println(e.getMessage());  
534 - Logger.Output(LogType.LogTypeName.ERROR, "截图当前页面失败!");  
535 - }  
536 -  
537 - }  
538 -  
539 - /**  
540 - * 上下移动滚动条,这里使用js操作  
541 - * @param percent 0:最下方 100:最上方  
542 - */  
543 - protected void moveHeightScroll(String percent) {  
544 - JavascriptExecutor js = (JavascriptExecutor)driver;  
545 - js.executeScript("scrollBy(0, 0-document.body.scrollHeight *"+percent+"/100)");  
546 - try {  
547 - Thread.sleep(1000);  
548 - } catch (Exception e) {  
549 - }  
550 - Logger.Output(LogType.LogTypeName.INFO, "上下拖动滚动条");  
551 - }  
552 -  
553 - /**  
554 - * 左右移动滚动条  
555 - * @param percent 0:最左 100:最右  
556 - */  
557 - protected void moveWidthScroll(String percent) {  
558 - JavascriptExecutor js = (JavascriptExecutor)driver;  
559 - js.executeScript("scrollBy(0, 0-document.body.scrollWidth *"+percent+"/100)");  
560 - Logger.Output(LogType.LogTypeName.INFO, "左右拖动滚动条");  
561 - }  
562 -  
563 - /**  
564 - * 鼠标点击  
565 - * @param element  
566 - */  
567 - protected void actionClick(WebElement element) {  
568 - try {  
569 - Actions action = new Actions(driver);  
570 - Logger.Output(LogType.LogTypeName.INFO, "鼠标事件点击元素");  
571 - action.click(element).perform();  
572 - } catch (Exception e) {  
573 - Logger.Output(LogType.LogTypeName.ERROR, "鼠标事件点击元素失败!");  
574 - }  
575 - }  
576 -  
577 - /**  
578 - * 鼠标双击  
579 - * @param element  
580 - */  
581 - protected void actionDoubleClick(WebElement element) {  
582 - try {  
583 - Actions action = new Actions(driver);  
584 - Logger.Output(LogType.LogTypeName.INFO, "鼠标双击元素");  
585 - action.doubleClick(element).perform();  
586 - } catch (Exception e) {  
587 - Logger.Output(LogType.LogTypeName.ERROR, "鼠标双击元素失败!");  
588 - }  
589 - }  
590 -  
591 -  
592 - /**  
593 - * 模拟鼠标事件拖动元素  
594 - * @param element 需要拖动的元素  
595 - * @param horizontal 水平方向:正数向右,负数向左  
596 - * @param vertical 垂直方向:正数向上,负数向下  
597 - */  
598 - protected void jsExecutorDragAndDrop(WebElement element,int horizontal,int vertical) {  
599 - try {  
600 - Actions action = new Actions(driver);  
601 - action.dragAndDropBy(element, horizontal, vertical).perform();  
602 - Logger.Output(LogType.LogTypeName.INFO, "使用鼠标拖动,将元素水平拖动"+horizontal+" 垂直拖动"+vertical);  
603 - } catch (Exception e) {  
604 - Logger.Output(LogType.LogTypeName.ERROR, e.getMessage() + ".");  
605 - }  
606 - }  
607 -  
608 - /**  
609 - * 移动鼠标到指定元素  
610 - * @param element  
611 - */  
612 - public void moveMouse(WebElement element) {  
613 - try {  
614 - Actions action = new Actions(driver);  
615 - Logger.Output(LogType.LogTypeName.INFO, "移动鼠标到指定元素上");  
616 - action.moveToElement(element).perform();  
617 - } catch (Exception e) {  
618 - Logger.Output(LogType.LogTypeName.ERROR, "移动鼠标失败了~");  
619 - }  
620 - }  
621 -  
622 - /**  
623 - * 键盘回车  
624 - * @param element  
625 - */  
626 - protected void enter(WebElement element) {  
627 - try {  
628 - Logger.Output(LogType.LogTypeName.INFO, "对元素进行键盘回车");  
629 - element.sendKeys(Keys.ENTER);  
630 - } catch (Exception e) {  
631 - Logger.Output(LogType.LogTypeName.ERROR, "键盘回车失败!");  
632 - }  
633 - }  
634 -  
635 - /**  
636 - * 强行等待,有时候页面加载需要时间,检查点检测不出使用  
637 - * @param msec  
638 - */  
639 - protected void forceWait(int msec) {  
640 - try {  
641 - Logger.Output(LogType.LogTypeName.INFO, "强行等待:"+msec/1000+"秒");  
642 - Thread.sleep(msec);  
643 - } catch (Exception e) {  
644 - Logger.Output(LogType.LogTypeName.ERROR, "强行等待失败");  
645 - }  
646 - }  
647 - /**  
648 - * 动态等待,如果元素不存在,等待一秒直到元素出现,最长7秒  
649 - * @param by  
650 - */  
651 - protected void dynamicWait(By by) {  
652 - for(int count=0;count<7&&!(isVisibility(by));count++) {  
653 - forceWait(1000);  
654 - }  
655 - }  
656 -  
657 - /**  
658 - * 与上面的方法相反,如果元素存在,等待直到元素不存在,最长7秒  
659 - * @param by  
660 - */  
661 - protected void dynamicLoad(By by) {  
662 - for(int count=0;count<7&&isVisibility(by);count++) {  
663 - forceWait(1000);  
664 - }  
665 - }  
666 - /**  
667 - * 连接数据库查询数据  
668 - * @param sql 查询sql  
669 - * @param field 需要的字段,这个方法只支持一个字段查询  
670 - * @return 返回字段值  
671 - */  
672 - protected String DBSqlSearch(String sql,String field) {  
673 - try {  
674 - Connection conn = DButil.getCon();  
675 - PreparedStatement pstmt = (PreparedStatement) conn.prepareStatement(sql);  
676 - ResultSet rs = pstmt.executeQuery();  
677 - while (rs.next()) {  
678 - return rs.getString(field);  
679 - }  
680 - DButil.close(rs, pstmt, conn);  
681 - } catch (Exception e) {  
682 - e.printStackTrace();  
683 - }  
684 - return null;  
685 - }  
686 -  
687 - /**  
688 - * 获取当前系统时间,得到格式化时间字符串  
689 - * @param date  
690 - * @param format  
691 - * @return  
692 - */  
693 - protected static String getDateTimeByFormat(Date date, String format) {  
694 -  
695 - SimpleDateFormat df = new SimpleDateFormat(format);  
696 -  
697 - return df.format(date);  
698 -  
699 - }  
700 -}  
701 \ No newline at end of file 0 \ No newline at end of file
src/test/java/com/essa/framework/BrowserEngine.java deleted
@@ -1,140 +0,0 @@ @@ -1,140 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import java.io.FileInputStream;  
4 -import java.io.IOException;  
5 -import java.io.InputStream;  
6 -import java.util.Properties;  
7 -import java.util.concurrent.TimeUnit;  
8 -  
9 -import org.openqa.selenium.WebDriver;  
10 -import org.openqa.selenium.chrome.ChromeDriver;  
11 -import org.openqa.selenium.firefox.FirefoxDriver;  
12 -import org.openqa.selenium.ie.InternetExplorerDriver;  
13 -import org.openqa.selenium.remote.CapabilityType;  
14 -import org.openqa.selenium.remote.DesiredCapabilities;  
15 -  
16 -public class BrowserEngine {  
17 -  
18 - private static String browserName;  
19 - private String serverURL;  
20 - private String buyerURL;  
21 - private static WebDriver driver;  
22 - private static String env1;  
23 -  
24 - public void initConfigData() throws IOException{  
25 - Properties p = new Properties();  
26 - // 加载配置文件  
27 - InputStream ips = new FileInputStream(".\\resources\\config.properties");  
28 - p.load(ips);  
29 - Logger.Output(LogType.LogTypeName.INFO, "开始从配置文件中选择浏览器");  
30 - browserName=p.getProperty("browserName");//使用jframe要注释  
31 - Logger.Output(LogType.LogTypeName.INFO, "所选择的浏览器类型为: "+ browserName);  
32 - if (env1=="DIT") {  
33 - serverURL = p.getProperty("DIT");  
34 - buyerURL = p.getProperty("BDIT");  
35 - }else if (env1 =="HOTFIX") {  
36 - serverURL = p.getProperty("HOTFIX");  
37 - buyerURL = p.getProperty("BHOTFIX");  
38 - }else if (env1 == "UAT") {  
39 - serverURL = p.getProperty("UAT");  
40 - buyerURL = p.getProperty("BUAT");  
41 - }else {  
42 - serverURL = p.getProperty("SIT");  
43 - buyerURL = p.getProperty("BSIT");  
44 - }  
45 - Logger.Output(LogType.LogTypeName.INFO, "所测试的环境为:"+ env1);  
46 - Model.setEnv(env1);//我也不知道为什么执行完上面的代码后,env会变为sit  
47 - ips.close();  
48 - }  
49 - /**  
50 - * bpms环境初始化  
51 - * @param environment  
52 - * @param browser  
53 - */  
54 - public static void setInit(String environment,String browser) {  
55 - browserName = browser;  
56 - env1 = environment;  
57 - }  
58 -  
59 - /**  
60 - * bpms获取地址方法  
61 - * @return  
62 - */  
63 - public WebDriver getBrowser(){  
64 -  
65 - if(browserName.equalsIgnoreCase("Firefox")){  
66 - System.setProperty("webdriver.gecko.driver", ".\\resources\\geckodriver.exe");  
67 - driver = new FirefoxDriver();  
68 - Logger.Output(LogType.LogTypeName.INFO, "正在启动FireFox浏览器");  
69 - }  
70 - else if(browserName.equals("Chrome")){  
71 - System.setProperty("webdriver.chrome.driver", ".\\resources\\chromedriver.exe"); //图形界面  
72 - driver= new ChromeDriver();  
73 - Logger.Output(LogType.LogTypeName.INFO, "正在启动Chrome浏览器");  
74 - }else if(browserName.equalsIgnoreCase("IE")){  
75 - System.setProperty("webdriver.ie.driver", ".\\src\\main\resources\\IEDriverServer.exe");  
76 - driver= new InternetExplorerDriver();  
77 - Logger.Output(LogType.LogTypeName.INFO, "正在启动IE浏览器");  
78 - }  
79 - driver.manage().window().maximize();  
80 - Logger.Output(LogType.LogTypeName.INFO, "窗口最大化");  
81 - driver.get(serverURL);  
82 - Logger.Output(LogType.LogTypeName.INFO, "打开URL: "+ serverURL);  
83 - callWait(5);  
84 - return driver;  
85 - }  
86 -  
87 - /**  
88 - * buyer获取浏览器,并读取buyer的地址  
89 - * @return  
90 - */  
91 - public WebDriver buyerGetBrowser() {  
92 - if (browserName.equals("Chrome")) {  
93 - System.setProperty("webdriver.chrome.driver", ".\\resources\\chromedriver.exe"); //图形界面  
94 - driver= new ChromeDriver();  
95 - Logger.Output(LogType.LogTypeName.INFO, "正在启动Chrome浏览器");  
96 - }else if (browserName.equals("Firefox")) {  
97 - System.setProperty("webdriver.gecko.driver", ".\\resources\\geckodriver.exe");  
98 - driver = new FirefoxDriver();  
99 - Logger.Output(LogType.LogTypeName.INFO, "正在启动FireFox浏览器");  
100 - }  
101 - driver.manage().window().maximize();  
102 - Logger.Output(LogType.LogTypeName.INFO, "窗口最大化");  
103 - driver.get(buyerURL);  
104 - Logger.Output(LogType.LogTypeName.INFO, "打开URL: "+ buyerURL);  
105 - callWait(5);  
106 - return driver;  
107 - }  
108 -  
109 -  
110 - /**  
111 - * 退出驱动  
112 - * @throws InterruptedException  
113 - */  
114 - public void tearDown() throws InterruptedException{  
115 - Logger.Output(LogType.LogTypeName.INFO, "关闭浏览器");  
116 - driver.quit();  
117 - Thread.sleep(3000);  
118 - }  
119 -  
120 - /**  
121 - * 隐式时间等待方法  
122 - * @param time  
123 - */  
124 - public void callWait(int time){  
125 -  
126 - driver.manage().timeouts().implicitlyWait(time, TimeUnit.SECONDS);  
127 - Logger.Output(LogType.LogTypeName.INFO, "设置隐性等待"+time+" 秒");  
128 - }  
129 - /**  
130 - *跳过安全链接  
131 - */  
132 - public void anQuan() {  
133 - // 创建DesiredCapabilities类的一个对象实例  
134 - DesiredCapabilities cap=DesiredCapabilities.chrome();  
135 - // 设置变量ACCEPT_SSL_CERTS的值为True  
136 - cap.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);  
137 - Logger.Output(LogType.LogTypeName.INFO, "设置浏览器可以打开不安全链接");  
138 - }  
139 -}  
140 -  
src/test/java/com/essa/framework/DBInfo.java deleted
@@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -public class DBInfo {  
4 -  
5 - //sit  
6 - public static String sitJdbcName = "com.mysql.cj.jdbc.Driver";  
7 - public static String sitSqlUrl = "jdbc:mysql://192.168.1.247:3307/bpms";  
8 - public static String sitUser = "root";  
9 - public static String sitPassword = "redhat";  
10 - //hotfix  
11 - public static String hotfixJdbcName = "com.mysql.cj.jdbc.Driver";  
12 - public static String hotfixSqlUrl = "jdbc:mysql://192.168.1.19:3321/bpms";  
13 - public static String hotfixUser = "essa_hotfix";  
14 - public static String hotfixPassword = "essa^_hotfix^D<K123";  
15 - //dit  
16 - public static String ditJdbcName;  
17 - public static String ditSqlUrl;  
18 - public static String ditUser;  
19 - public static String ditPassword;  
20 - //uat  
21 - public static String uatJdbcName = "com.mysql.cj.jdbc.Driver";  
22 - public static String uatSqlUrl = "jdbc:mysql://112.74.135.97:3325/bpms";  
23 - public static String uatUser = "essa_uat";  
24 - public static String uatPassword = "lXI!RqH6thvmMNNh";  
25 -  
26 - public static String getSitJdbcName() {  
27 - return sitJdbcName;  
28 - }  
29 - public static String getSitSqlUrl() {  
30 - return sitSqlUrl;  
31 - }  
32 - public static String getSitUser() {  
33 - return sitUser;  
34 - }  
35 - public static String getSitPassword() {  
36 - return sitPassword;  
37 - }  
38 - public static String getHotfixJdbcName() {  
39 - return hotfixJdbcName;  
40 - }  
41 - public static String getHotfixSqlUrl() {  
42 - return hotfixSqlUrl;  
43 - }  
44 - public static String getHotfixUser() {  
45 - return hotfixUser;  
46 - }  
47 - public static String getHotfixPassword() {  
48 - return hotfixPassword;  
49 - }  
50 - public static String getDitJdbcName() {  
51 - return ditJdbcName;  
52 - }  
53 - public static String getDitSqlUrl() {  
54 - return ditSqlUrl;  
55 - }  
56 - public static String getDitUser() {  
57 - return ditUser;  
58 - }  
59 - public static String getDitPassword() {  
60 - return ditPassword;  
61 - }  
62 - public static String getUatJdbcName() {  
63 - return uatJdbcName;  
64 - }  
65 - public static String getUatSqlUrl() {  
66 - return uatSqlUrl;  
67 - }  
68 - public static String getUatUser() {  
69 - return uatUser;  
70 - }  
71 - public static String getUatPassword() {  
72 - return uatPassword;  
73 - }  
74 -}  
src/test/java/com/essa/framework/DButil.java deleted
@@ -1,143 +0,0 @@ @@ -1,143 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import java.sql.Connection;  
4 -import java.sql.DriverManager;  
5 -import java.sql.ResultSet;  
6 -import java.sql.SQLException;  
7 -  
8 -import com.mysql.cj.api.jdbc.Statement;  
9 -import com.mysql.cj.jdbc.CallableStatement;  
10 -import com.mysql.cj.jdbc.PreparedStatement;  
11 -  
12 -public class DButil {  
13 - // 数据库驱动名字  
14 - private static String jdbcName = null;  
15 - // 数据库协议地址  
16 - private static String dbUrl = null;  
17 - // 数据库用户名  
18 - private static String dbUser = null;  
19 - // 数据库密码  
20 - private static String dbPassword = null;  
21 -  
22 - public static Connection getCon() {  
23 - Connection conn = null;  
24 - if ("SIT".equals(Model.getEnv())) {  
25 - try {  
26 - jdbcName = DBInfo.getSitJdbcName();  
27 - dbUrl = DBInfo.getSitSqlUrl();  
28 - dbUser = DBInfo.getSitUser();  
29 - dbPassword = DBInfo.getSitPassword();  
30 - Class.forName(jdbcName);  
31 - conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword);  
32 - return conn;  
33 - } catch (Exception e) {  
34 - e.printStackTrace();  
35 - }  
36 - } else if ("HOTFIX".equals(Model.getEnv())) {  
37 - try {  
38 - jdbcName = DBInfo.getHotfixJdbcName();  
39 - dbUrl = DBInfo.getHotfixSqlUrl();  
40 - dbUser = DBInfo.getHotfixUser();  
41 - dbPassword = DBInfo.getHotfixPassword();  
42 - Class.forName(jdbcName);  
43 - conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword);  
44 - return conn;  
45 - } catch (Exception e) {  
46 - e.printStackTrace();  
47 - }  
48 - } else if ("DIT".equals(Model.getEnv())) {  
49 - try {  
50 - jdbcName = DBInfo.getDitJdbcName();  
51 - dbUrl = DBInfo.getDitSqlUrl();  
52 - dbUser = DBInfo.getDitUser();  
53 - dbPassword = DBInfo.getDitPassword();  
54 - Class.forName(jdbcName);  
55 - conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword);  
56 - return conn;  
57 - } catch (Exception e) {  
58 - e.printStackTrace();  
59 - }  
60 - } else if ("UAT".equals(Model.getEnv())) {  
61 - try {  
62 - jdbcName = DBInfo.getUatJdbcName();  
63 - dbUrl = DBInfo.getUatSqlUrl();  
64 - dbUser = DBInfo.getUatUser();  
65 - dbPassword = DBInfo.getUatPassword();  
66 - Class.forName(jdbcName);  
67 - conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword);  
68 - return conn;  
69 - } catch (Exception e) {  
70 - e.printStackTrace();  
71 - }  
72 - }  
73 - return null;  
74 - }  
75 -  
76 - /**  
77 - * 关闭连接  
78 - *  
79 - * @param stmt  
80 - * @param conn  
81 - * @throws Exception  
82 - */  
83 - public static void close(Statement stmt, Connection conn) throws Exception {  
84 - if (stmt != null) {  
85 - stmt.close();  
86 - if (conn != null) {  
87 - conn.close();  
88 - }  
89 - }  
90 - }  
91 -  
92 - /**  
93 - * 关闭连接  
94 - *  
95 - * @param cstmt  
96 - * @param conn  
97 - * @throws Exception  
98 - */  
99 - public static void close(CallableStatement cstmt, Connection conn) throws Exception {  
100 - if (cstmt != null) {  
101 - cstmt.close();  
102 - if (conn != null) {  
103 - conn.close();  
104 - }  
105 - }  
106 - }  
107 -  
108 - /**  
109 - * 关闭连接  
110 - *  
111 - * @param pstmt  
112 - * @param conn  
113 - * @throws SQLException  
114 - */  
115 - public static void close(PreparedStatement pstmt, Connection conn) throws SQLException {  
116 - if (pstmt != null) {  
117 - pstmt.close();  
118 - if (conn != null) {  
119 - conn.close();  
120 - }  
121 - }  
122 - }  
123 -  
124 - /**  
125 - * 重载关闭方法  
126 - *  
127 - * @param rs  
128 - * @param pstmt  
129 - * @param conn  
130 - * @throws Exception  
131 - */  
132 - public static void close(ResultSet rs, PreparedStatement pstmt, Connection conn) throws Exception {  
133 - if (rs != null) {  
134 - rs.close();  
135 - if (pstmt != null) {  
136 - pstmt.close();  
137 - if (conn != null) {  
138 - conn.close();  
139 - }  
140 - }  
141 - }  
142 - }  
143 -}  
src/test/java/com/essa/framework/ListenerSuite.java deleted
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import org.testng.ISuite;  
4 -import org.testng.ISuiteListener;  
5 -  
6 -import com.essa.framework.SendEmail;  
7 -  
8 -public class ListenerSuite implements ISuiteListener {  
9 -  
10 - private String[] args;  
11 -  
12 - public void onFinish(ISuite arg0) {  
13 - SendEmail.main(args);  
14 - }  
15 -  
16 - public void onStart(ISuite arg0) {  
17 - // TODO Auto-generated method stub  
18 - }  
19 -  
20 -}  
src/test/java/com/essa/framework/LogType.java deleted
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -public class LogType {  
4 -  
5 - public LogType(){  
6 -  
7 - }  
8 -  
9 - public enum LogTypeName{  
10 -  
11 - //  
12 - INFO,  
13 - //  
14 - ERROR,  
15 - //  
16 - WARNING,  
17 - //  
18 - DEBUG;  
19 - }  
20 -}  
21 \ No newline at end of file 0 \ No newline at end of file
src/test/java/com/essa/framework/Logger.java deleted
@@ -1,79 +0,0 @@ @@ -1,79 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import java.io.File;  
4 -import java.io.FileOutputStream;  
5 -import java.io.OutputStreamWriter;  
6 -import java.text.SimpleDateFormat;  
7 -import java.util.Date;  
8 -  
9 -import com.essa.framework.LogType;  
10 -  
11 -public class Logger {  
12 -  
13 - public static String OutputFileName = getDateTimeByFormat(new Date(), "yyyyMMdd");  
14 - private static OutputStreamWriter outputStreamWriter;  
15 - private static String logFileName;  
16 - public static boolean LogFlag = true;  
17 - public static String logContent;  
18 -  
19 - public Logger() {  
20 -  
21 - }  
22 -  
23 - private static void WriteLog(String logEntry) {  
24 -  
25 - try {  
26 -  
27 - // 定义日志文件保存路径和日志文件名称  
28 - logFileName = ".\\Log" + "\\" + OutputFileName + ".log";  
29 - if (outputStreamWriter == null) {  
30 - File logFile = new File(logFileName);  
31 -  
32 - if (!logFile.exists())  
33 - logFile.createNewFile();  
34 - //利用OutputStreamWriter往日志文件写内容,字符编码是unicode  
35 - outputStreamWriter = new OutputStreamWriter(new FileOutputStream(logFileName), "utf-8");  
36 - }  
37 - outputStreamWriter.write(logEntry, 0, logEntry.length());  
38 -  
39 - outputStreamWriter.flush();  
40 -  
41 - } catch (Exception e) {  
42 - System.out.println(LogType.LogTypeName.ERROR.toString() + ": Failed to write the file " + logFileName);  
43 - e.printStackTrace();  
44 -  
45 - }  
46 -  
47 - }  
48 -  
49 - //获取当前系统时间,得到格式化时间字符串  
50 - private static String getDateTimeByFormat(Date date, String format) {  
51 -  
52 - SimpleDateFormat df = new SimpleDateFormat(format);  
53 -  
54 - return df.format(date);  
55 -  
56 - }  
57 -  
58 - public static void Output(LogType.LogTypeName logTypeName, String logMessage) {  
59 - Date date = new Date();  
60 - String logTime = getDateTimeByFormat(date, "yyyy-MM-dd HH:mm:ss.SSS");  
61 - String logEntry = logTime + " " + logTypeName.name() + ": " + logMessage + "\r\n";  
62 - System.out.print(logEntry);  
63 - setLog(logEntry);  
64 - // 定义一个开关,为True就输出日志,如果你不想输出,改成False  
65 - if (LogFlag)  
66 - WriteLog(logEntry);  
67 - }  
68 - /**  
69 - * 获取日志信息  
70 - * @return  
71 - */  
72 - public static String getLog() {  
73 - return logContent;  
74 - }  
75 -  
76 - public static void setLog(String logEntry) {  
77 - logContent = logEntry;  
78 - }  
79 -}  
src/test/java/com/essa/framework/Model.java deleted
@@ -1,128 +0,0 @@ @@ -1,128 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -/**  
4 - * @author Administrator  
5 - *pojo对象,用于存储一些运行过程中的变量  
6 - */  
7 -public class Model {  
8 -  
9 - public static String skuNo;//商品编号  
10 - public static String buyerNo;//采购商编号  
11 - public static String supplierName;//供应商名称  
12 - public static String picPath;//图片路径  
13 - public static String email = "buyer"+Tools.getTime()+"@essa.cn";//采购商邮箱  
14 - public static String invateCode;//邀请码  
15 - public static String env;//所选环境  
16 - public static String buyerAccount;//采购商账号  
17 - public static String buyerPassword;//采购商密码  
18 - public static String poNum;//po单号  
19 - public static int isactivity=0;//是否是活动商品 1:是 0:否  
20 - public static String manager;//商品的类目经理  
21 - public static String serialNum;//待办流水号  
22 -  
23 -  
24 - public static String getSerialNum() {  
25 - return serialNum;  
26 - }  
27 -  
28 - public static void setSerialNum(String serialNum) {  
29 - Model.serialNum = serialNum;  
30 - }  
31 -  
32 - public static String getManager() {  
33 - return manager;  
34 - }  
35 -  
36 - public static void setManager(String manager) {  
37 - Model.manager = manager;  
38 - }  
39 -  
40 - public static int getIsactivity() {  
41 - return isactivity;  
42 - }  
43 -  
44 - public static void setIsactivity(int isactivity) {  
45 - Model.isactivity = isactivity;  
46 - }  
47 -  
48 - public static String getPoNum() {  
49 - return poNum;  
50 - }  
51 -  
52 - public static void setPoNum(String poNum) {  
53 - Model.poNum = poNum;  
54 - }  
55 -  
56 - public static String getBuyerAccount() {  
57 - return buyerAccount;  
58 - }  
59 -  
60 - public static void setBuyerAccount(String buyerAccount) {  
61 - Model.buyerAccount = buyerAccount;  
62 - }  
63 -  
64 - public static String getBuyerPassword() {  
65 - return buyerPassword;  
66 - }  
67 -  
68 - public static void setBuyerPassword(String buyerPassword) {  
69 - Model.buyerPassword = buyerPassword;  
70 - }  
71 -  
72 - public static String getEnv() {  
73 - return env;  
74 - }  
75 -  
76 - public static void setEnv(String env) {  
77 - Model.env = env;  
78 - }  
79 -  
80 - public static String getInvateCode() {  
81 - return invateCode;  
82 - }  
83 -  
84 - public static void setInvateCode(String invateCode) {  
85 - Model.invateCode = invateCode;  
86 - }  
87 -  
88 - public static String getEmail() {  
89 - return email;  
90 - }  
91 -  
92 - public static void setEmail(String email) {  
93 - Model.email = email;  
94 - }  
95 -  
96 - public static String getPicPath() {  
97 - return picPath;  
98 - }  
99 -  
100 - public static void setPicPath(String picPath) {  
101 - Model.picPath = picPath;  
102 - }  
103 -  
104 - public static String getSupplierName() {  
105 - return supplierName;  
106 - }  
107 -  
108 - public static void setSupplierName(String supplierName) {  
109 - Model.supplierName = supplierName;  
110 - }  
111 -  
112 - public static String getBuyerNo() {  
113 - return buyerNo;  
114 - }  
115 -  
116 - public static void setBuyerNo(String buyerNo) {  
117 - Model.buyerNo = buyerNo;  
118 - }  
119 -  
120 - public static String getSkuNo() {  
121 - return skuNo;  
122 - }  
123 -  
124 - public static void setSkuNo(String No) {  
125 - skuNo = No;  
126 - }  
127 -  
128 -}  
src/test/java/com/essa/framework/SendEmail.java deleted
@@ -1,113 +0,0 @@ @@ -1,113 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import java.util.Properties;  
4 -  
5 -import javax.activation.DataHandler;  
6 -import javax.activation.DataSource;  
7 -import javax.activation.FileDataSource;  
8 -import javax.mail.BodyPart;  
9 -import javax.mail.Message;  
10 -import javax.mail.MessagingException;  
11 -import javax.mail.Multipart;  
12 -import javax.mail.PasswordAuthentication;  
13 -import javax.mail.Session;  
14 -import javax.mail.Transport;  
15 -import javax.mail.internet.InternetAddress;  
16 -import javax.mail.internet.MimeBodyPart;  
17 -import javax.mail.internet.MimeMessage;  
18 -import javax.mail.internet.MimeMultipart;  
19 -  
20 -public class SendEmail {  
21 -  
22 - public static void main(String[] args) {  
23 -  
24 - // 创建一个Property文件对象  
25 - Properties props = new Properties();  
26 -  
27 - // 设置邮件服务器的信息,这里设置smtp主机名称  
28 - props.put("mail.smtp.host", "smtp.qq.com");  
29 -  
30 - // 设置socket factory 的端口  
31 - props.put("mail.smtp.socketFactory.port", "465");  
32 -  
33 - // 设置socket factory  
34 - props.put("mail.smtp.socketFactory.class","javax.net.ssl.SSLSocketFactory");  
35 -  
36 - // 设置需要身份验证  
37 - props.put("mail.smtp.auth", "true");  
38 -  
39 - // 设置SMTP的端口,QQ的smtp端口是25  
40 - props.put("mail.smtp.port", "25");  
41 -  
42 - // 身份验证实现  
43 - Session session = Session.getDefaultInstance(props, new javax.mail.Authenticator() {  
44 -  
45 - protected PasswordAuthentication getPasswordAuthentication() {  
46 - // 第二个参数,就是我QQ开启smtp的授权码  
47 - return new PasswordAuthentication("278953238@qq.com", "pfpzqcamljytbjec");  
48 -  
49 - }  
50 -  
51 - });  
52 -  
53 - try {  
54 -  
55 - // 创建一个MimeMessage类的实例对象  
56 - Message message = new MimeMessage(session);  
57 -  
58 - // 设置发件人邮箱地址  
59 - message.setFrom(new InternetAddress("278953238@qq.com"));  
60 -  
61 - // 设置收件人邮箱地址  
62 - message.setRecipients(Message.RecipientType.TO,InternetAddress.parse("3289714863@qq.com"));  
63 -  
64 - // 设置邮件主题  
65 - message.setSubject("测试发送邮件");  
66 -  
67 - // 创建一个MimeBodyPart的对象,以便添加内容  
68 - BodyPart messageBodyPart1 = new MimeBodyPart();  
69 -  
70 - // 设置邮件正文内容  
71 - messageBodyPart1.setText("这个是邮件的正文部分");  
72 -  
73 - // 创建另外一个MimeBodyPart对象,以便添加其他内容  
74 - MimeBodyPart messageBodyPart2 = new MimeBodyPart();  
75 -  
76 - // 设置邮件中附件文件的路径  
77 - String filename = ".\\test-output\\emailable-report.html";  
78 -  
79 - // 创建一个datasource对象,并传递文件  
80 - DataSource source = new FileDataSource(filename);  
81 -  
82 - // 设置handler  
83 - messageBodyPart2.setDataHandler(new DataHandler(source));  
84 -  
85 - // 加载文件  
86 - messageBodyPart2.setFileName(filename);  
87 -  
88 - // 创建一个MimeMultipart类的实例对象  
89 - Multipart multipart = new MimeMultipart();  
90 -  
91 - // 添加正文1内容  
92 - multipart.addBodyPart(messageBodyPart1);  
93 -  
94 - // 添加正文2内容  
95 - multipart.addBodyPart(messageBodyPart2);  
96 -  
97 - // 设置内容  
98 - message.setContent(multipart);  
99 -  
100 - // 最终发送邮件  
101 - Transport.send(message);  
102 -  
103 - System.out.println("=====邮件已经发送=====");  
104 -  
105 - } catch (MessagingException e) {  
106 -  
107 - throw new RuntimeException(e);  
108 -  
109 - }  
110 -  
111 - }  
112 -  
113 -}  
src/test/java/com/essa/framework/Tools.java deleted
@@ -1,41 +0,0 @@ @@ -1,41 +0,0 @@
1 -package com.essa.framework;  
2 -  
3 -import java.text.SimpleDateFormat;  
4 -import java.util.Date;  
5 -  
6 -public class Tools {  
7 -  
8 - /**  
9 - * 获取当前时间  
10 - * @return MMdd_HHmmss  
11 - */  
12 - public static String getCurrentTime() {  
13 - SimpleDateFormat format = new SimpleDateFormat("MMdd_HHmmss");  
14 - Date today = new Date();  
15 - String time = format.format(today);  
16 - return time;  
17 - }  
18 - /**  
19 - * 使用当前时间作为工厂货号  
20 - * @return yyyyMMddHHmmss  
21 - */  
22 - public static String getFactoryNo() {  
23 - SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");  
24 - Date today = new Date();  
25 - String time = format.format(today);  
26 - return time;  
27 - }  
28 -  
29 - /**  
30 - * 获取当前分和秒,另外加一个随机数,作为注册邮箱的区分的数字  
31 - * @return  
32 - */  
33 - public static String getTime() {  
34 - SimpleDateFormat format = new SimpleDateFormat("mmss");  
35 - Date today = new Date();  
36 - String time = format.format(today);  
37 - int i = (int)(1+Math.random()*(10-1+1));  
38 - return time+i;  
39 - }  
40 -  
41 -}  
src/test/java/com/essa/pageObject/BaseTest.java deleted
@@ -1,69 +0,0 @@ @@ -1,69 +0,0 @@
1 -package com.essa.pageObject;  
2 -  
3 -import java.io.IOException;  
4 -  
5 -import org.openqa.selenium.WebDriver;  
6 -import org.openqa.selenium.support.PageFactory;  
7 -  
8 -import com.buyer.pageObject.BuyerLoginPage;  
9 -import com.buyer.pageObject.IndexPage;  
10 -import com.essa.framework.BrowserEngine;  
11 -import com.essa.pageObject.LoginPage;  
12 -  
13 -/**  
14 - * @author Administrator  
15 - *测试用例的基类,主要是有登录和调用浏览器的方法  
16 - */  
17 -public class BaseTest {  
18 - public WebDriver driver;  
19 -  
20 - public WebDriver getDriver() {  
21 - return driver;  
22 - }  
23 -  
24 - /**  
25 - * bpms调用浏览器,打开要测试的网页  
26 - */  
27 - public void initsetUp() {  
28 - BrowserEngine browserEngine = new BrowserEngine();  
29 - try {  
30 - browserEngine.initConfigData();  
31 - } catch (IOException e) {  
32 - e.printStackTrace();  
33 - }  
34 - driver = browserEngine.getBrowser();  
35 - }  
36 -  
37 - /**  
38 - * buyer调用浏览器,将访问buyer的地址  
39 - */  
40 - public void initBuyer() {  
41 - BrowserEngine browserEngine = new BrowserEngine();  
42 - try {  
43 - browserEngine.initConfigData();  
44 - } catch (IOException e) {  
45 - e.printStackTrace();  
46 - }  
47 - driver = browserEngine.buyerGetBrowser();  
48 - }  
49 -  
50 - /**  
51 - * bpms初始化登录页面,登录  
52 - * @param account  
53 - */  
54 - public void loginValid(String account) {  
55 - LoginPage loginPage = PageFactory.initElements(driver, LoginPage.class);  
56 - loginPage.login(account, "essa123");  
57 - }  
58 - /**  
59 - * buyer初始化登录  
60 - * @param account  
61 - */  
62 - public void loginBuyerValid(String account,String password) {  
63 - IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class);  
64 - indexPage.toLoginPage();  
65 - BuyerLoginPage loginPage = PageFactory.initElements(driver, BuyerLoginPage.class);  
66 - loginPage.login(account, password);  
67 - }  
68 -}  
69 -  
src/test/java/com/essa/pageObject/GoodsManage/AddMarketGoodsPage.java deleted
@@ -1,510 +0,0 @@ @@ -1,510 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -import com.essa.framework.Tools;  
11 -  
12 -/**  
13 - * @author Administrator  
14 - *添加市场商品页  
15 - */  
16 -public class AddMarketGoodsPage extends BasePage {  
17 - public AddMarketGoodsPage(WebDriver driver) {  
18 - super(driver);  
19 - }  
20 - public static String skuNameNo = null;  
21 - /*  
22 - * 页面元素定位  
23 - */  
24 - /*  
25 - * 元素定位  
26 - */  
27 - //审核人  
28 - @FindBy(xpath="//*[@ng-model='buyerInfo.auditId']")  
29 - WebElement auditor;  
30 -  
31 - //选择供应商  
32 - @FindBy (xpath="//*[@ng-click='supplier()']")  
33 - WebElement selectSupplier;  
34 -  
35 - //供应商查询方式选择  
36 - @FindBy (xpath="//*[@ng-click='showSelect()']")  
37 - WebElement showSelect;  
38 -  
39 - //供应商名称查询  
40 - @FindBy (xpath="//*[contains(@ng-click,'keywordTypeChecked(item)') and @value='name']/..")  
41 - WebElement queryByName;  
42 -  
43 - //查询输入框  
44 - @FindBy (xpath="//*[@ng-keyup='keyupChecked()']")  
45 - WebElement queryKeyword;  
46 -  
47 - //供应商查询按钮  
48 - @FindBy (xpath="//*[@ng-click='search()']")  
49 - WebElement search;  
50 -  
51 - //查询的第一个结果  
52 - @FindBy (xpath="//*[@id='spTableParams']/tbody/tr[1]")  
53 - WebElement firstRestult;  
54 -  
55 - //供应商选择【确定】  
56 - @FindBy (xpath="//*[text()='确定']")  
57 - WebElement sureBotton;  
58 -  
59 - //品牌名称选框  
60 - @FindBy (xpath="//*[text()='品牌名称']/../div[2]/div/div")  
61 - WebElement brandName;  
62 -  
63 - //品牌选项-第一个品牌  
64 - @FindBy (xpath="//*[@class='msgLayer']/li[1]")  
65 - WebElement firstBrand;  
66 -  
67 - //品牌【确定】  
68 - //与供应商选择的确定按钮元素一样,可直接使用  
69 -  
70 - //选择类目  
71 - @FindBy(xpath="//*[text()='主类目']/../../div[1]/div")  
72 - WebElement selectCategory;  
73 -  
74 - //玩具类目一级类目  
75 - @FindBy (xpath="//*[@id='undefined_1_switch']")  
76 - WebElement oneLevel;  
77 -  
78 - //动植物二级类目  
79 - @FindBy (xpath="//*[@id='undefined_7_switch']")  
80 - WebElement twoLevel;  
81 -  
82 - //飞行鸟类三级类目  
83 - @FindBy (xpath="//*[text()='飞行鸟类']")  
84 - WebElement threeLevel;  
85 -  
86 - //[主类目]选择  
87 - @FindBy (xpath="//*[contains(@class,'btn btn-success')]")  
88 - WebElement mainCategory;  
89 -  
90 -  
91 - /*  
92 - * 商品属性  
93 - */  
94 - //商品属性-功能:第二个-遥控  
95 - @FindBy (xpath="//*[text()='功能']/../div[2]/div[2]")  
96 - WebElement secondFunction;  
97 -  
98 - //商品属性-特殊功能:第二个-声控  
99 - @FindBy (xpath="//*[text()='特殊功能']/../div[2]/div[2]")  
100 - WebElement secondSpcialFunction;  
101 -  
102 - //商品属性-外观造型:第一个-仿真  
103 - @FindBy (xpath="//*[text()='外观造型']/../div[2]/div[1]")  
104 - WebElement skin;  
105 -  
106 - //商品属性-是否带人  
107 - @FindBy (xpath="//*[text()='是否带人']/../div[2]/div[1]")  
108 - WebElement withPerson;  
109 -  
110 - //商品属性-适用年龄:第三个-6-18个月  
111 - @FindBy (xpath="//*[text()='适用年龄']/../div[2]/div[3]")  
112 - WebElement forAge;  
113 -  
114 - /*  
115 - * 商品信息  
116 - */  
117 -  
118 - //品名选择  
119 - @FindBy (xpath="//*[text()='品名']/../div[2]/div")  
120 - WebElement selectLanguage;  
121 -  
122 - //品名语言-英语  
123 - @FindBy (xpath="//*[@class='msg2']/ul[1]/li[2]")  
124 - WebElement english;  
125 -  
126 - //品名输入框  
127 - @FindBy (xpath="//*[text()='品名']/../div[3]/div/input")  
128 - WebElement goodsName;  
129 -  
130 - //工厂货号输入框  
131 - @FindBy (xpath="//*[@ng-model='model.factoryNo']")  
132 - WebElement factoryNo;  
133 -  
134 - //包装语言  
135 - @FindBy (xpath = "//*[@dic-list='包装语言']/div[1]")  
136 - WebElement packageLanguage;  
137 -  
138 - //自有版权  
139 - @FindBy (xpath="//*[text()='自有版权']")  
140 - WebElement ownCopyright;  
141 -  
142 - //第三方版权  
143 - @FindBy (xpath="//*[text()='第三方版权']")  
144 - WebElement thirdCopyright;  
145 -  
146 - //无授权  
147 - @FindBy (xpath="//*[text()='无版权']")  
148 - WebElement noCopyright;  
149 -  
150 - //A货  
151 - @FindBy (xpath="//*[text()='A货']")  
152 - WebElement AGoods;  
153 -  
154 - //新品保护期 -第三个:7天  
155 - @FindBy (xpath="//*[@dic-list='新品保护期']/div[3]")  
156 - WebElement sevenDays;  
157 -  
158 - /*  
159 - * 商品规格  
160 - */  
161 -  
162 - //计量单位-第一个:只  
163 - @FindBy (xpath="//*[@dic-list='计量单位']/div[1]")  
164 - WebElement countUnit;  
165 -  
166 - //外箱  
167 - @FindBy (xpath="//*[text()='外箱']")  
168 - WebElement outBox;  
169 -  
170 - //遥控模式  
171 - @FindBy (xpath="//*[@placeholder='请选择遥控模式']")  
172 - WebElement remoteMode;  
173 -  
174 - //遥控模式:无线电  
175 - @FindBy (xpath="//*[@placeholder='请选择遥控模式']/../../div[3]/div/span[1]")  
176 - WebElement remoteMode2;  
177 -  
178 - //通道  
179 - @FindBy (xpath="//*[@placeholder='请选择通道']")  
180 - WebElement thoroughfare;  
181 -  
182 - //通道:2通  
183 - @FindBy (xpath="//*[@placeholder='请选择通道']/../../div[3]/div/span[1]")  
184 - WebElement thoroughfare2;  
185 -  
186 - //常规功能  
187 - @FindBy (xpath="//*[@placeholder='请选择常规功能']")  
188 - WebElement normalFunction;  
189 -  
190 - //常规功能:灯光  
191 - @FindBy (xpath="//*[@placeholder='请选择常规功能']/../../div[3]/div/span[2]")  
192 - WebElement normalFunction2;  
193 -  
194 - //是否包电  
195 - @FindBy (xpath="//*[@placeholder='请选择是否包电']")  
196 - WebElement isBattery;  
197 -  
198 - //是否包电:包电  
199 - @FindBy (xpath="//*[@placeholder='请选择是否包电']/../../div[3]/div/span[2]")  
200 - WebElement isBattery2;  
201 -  
202 - //是否可充电  
203 - @FindBy (xpath="//*[@placeholder='请选择是否可充电']")  
204 - WebElement isCharge;  
205 -  
206 - //是否可充电:可充电  
207 - @FindBy (xpath="//*[@placeholder='请选择是否可充电']/../../div[3]/div/span[1]")  
208 - WebElement isCharge2;  
209 -  
210 - //配件  
211 - @FindBy (xpath="//*[@placeholder='请选择配件']")  
212 - WebElement parts;  
213 -  
214 - //配件:无  
215 - @FindBy (xpath="//*[@placeholder='请选择配件']/../../div[3]/div/span[1]")  
216 - WebElement parts2;  
217 -  
218 - //包装图案  
219 - @FindBy (xpath="//*[@placeholder='请选择包装图案']")  
220 - WebElement pattern;  
221 -  
222 - //包装图案:无  
223 - @FindBy (xpath="//*[@placeholder='请选择包装图案']/../../div[3]/div/span[1]")  
224 - WebElement pattern2;  
225 -  
226 - //单品或套装  
227 - @FindBy (xpath="//*[@placeholder='请选择单品或套装']")  
228 - WebElement suit;  
229 -  
230 - //单品或套装:单品  
231 - @FindBy (xpath="//*[@placeholder='请选择单品或套装']/../../div[3]/div/span[1]")  
232 - WebElement suit2;  
233 -  
234 - //局部工艺  
235 - @FindBy (xpath="//*[@placeholder='请选择局部工艺']")  
236 - WebElement localProcess;  
237 -  
238 - //局部工艺:无  
239 - @FindBy (xpath="//*[@placeholder='请选择局部工艺']/../../div[3]/div/span[1]")  
240 - WebElement localProcess2;  
241 -  
242 - //颜色  
243 - @FindBy (xpath="//*[@placeholder='请选择颜色']")  
244 - WebElement color;  
245 -  
246 - //颜色  
247 - @FindBy (xpath="//*[@placeholder='请选择颜色']/../../div[3]/div/span[1]")  
248 - WebElement color2;  
249 -  
250 - //装量  
251 - @FindBy (xpath="//*[@placeholder='请选择装量']")  
252 - WebElement count;  
253 -  
254 - //装量:1  
255 - @FindBy (xpath="//*[@placeholder='请选择装量']/../../div[3]/div/span[2]")  
256 - WebElement count2;  
257 -  
258 - //包装类型  
259 - @FindBy (xpath="//*[@placeholder='请选择包装类型']")  
260 - WebElement packingType;  
261 -  
262 - //包装类型:OPP袋  
263 - @FindBy (xpath="//*[@placeholder='请选择包装类型']/../../div[3]/div/span[1]")  
264 - WebElement packingType2;  
265 -  
266 - //包装方式  
267 - @FindBy (xpath="//*[@placeholder='请选择包装方式']")  
268 - WebElement packingWay;  
269 -  
270 - //包装方式:OPP袋  
271 - @FindBy (xpath="//*[@placeholder='请选择包装方式']/../../div[3]/div/span[1]")  
272 - WebElement packingWay2;  
273 -  
274 - //“+”sku按钮  
275 - @FindBy (xpath="//*[@class='addSku']")  
276 - WebElement addSku;  
277 -  
278 - //计数数量  
279 - @FindBy (xpath="//*[@title='计数数量']/div/input")  
280 - WebElement skuItemCount;  
281 -  
282 - //销售MOQ  
283 - @FindBy (xpath="//*[@title='销售MOQ']/div/input")  
284 - WebElement saleMOQ;  
285 -  
286 - //供货周期  
287 - @FindBy (xpath="//*[@title='供货周期']/div/input")  
288 - WebElement supplyTime;  
289 -  
290 - //供应商报价  
291 - @FindBy (xpath="//*[@placeholder='单品价格']")  
292 - WebElement suppliPrice;  
293 -  
294 - //横向滚动条1  
295 - @FindBy (xpath="//*[@id='customScroll']")  
296 - WebElement widthScroll1;  
297 -  
298 -// //横向滚动条2,滚动条与内容一起,无法拖动  
299 -// @FindBy (xpath="//*[contains(@id,'table-single-goods-sku')]/..")  
300 -// WebElement widthScroll2;  
301 -  
302 - //外箱体积-长  
303 - @FindBy (xpath="//*[@title='外箱体积(cm)']/div[2]/input")  
304 - WebElement packageLong;  
305 -  
306 - //外箱体积-宽  
307 - @FindBy (xpath="//*[@title='外箱体积(cm)']/div[3]/input")  
308 - WebElement packageWidth;  
309 -  
310 - //外箱体积-高  
311 - @FindBy (xpath="//*[@title='外箱体积(cm)']/div[4]/input")  
312 - WebElement packageHigh;  
313 -  
314 - //毛重  
315 - @FindBy (xpath="//*[@title='毛重']/div/input")  
316 - WebElement grossWeight;  
317 -  
318 - //净重  
319 - @FindBy (xpath="//*[@title='净重']/div/input")  
320 - WebElement netWeight;  
321 -  
322 - //上传图片  
323 - @FindBy (xpath="//*[contains(@handler-obj,'skuPicsHandler')]")  
324 - WebElement updatePic;  
325 -  
326 - //图片上传成功验证  
327 - @FindBy (xpath="//*[contains(@ng-click,'deleteInfo')]")  
328 - WebElement isUpudate;  
329 -  
330 - //提交审核  
331 - @FindBy (xpath="//*[text()='提交审核']")  
332 - WebElement submit;  
333 -  
334 - //提交审核后弹窗--确定按钮  
335 - @FindBy(xpath="//*[text()='确定']")  
336 - WebElement confirm;  
337 -  
338 - //提交审核后弹窗--商品编号  
339 - @FindBy (xpath="//*[@ng-bind='item.no']")  
340 - WebElement skuNo;  
341 -  
342 - /*  
343 - * 页面方法  
344 - */  
345 - /**  
346 - * 选择供应商  
347 - * @param 供应商名称  
348 - * @throws InterruptedException  
349 - */  
350 - public void selectSupplier(){  
351 - dynamicWait(By.xpath("//*[@ng-click='supplier()']"));  
352 - selectElement(auditor, "邢昌勇");  
353 - click(selectSupplier);  
354 - click(showSelect);  
355 - click(queryByName);  
356 - sendKeys(queryKeyword,Model.getSupplierName());  
357 - click(search);  
358 - forceWait(1000);  
359 - mywait(firstRestult);  
360 - click(firstRestult);  
361 - click(sureBotton);  
362 - }  
363 - /**  
364 - * 选择品牌  
365 - */  
366 - public void selectBrand() {  
367 - forceWait(1000);  
368 - click(brandName);  
369 - mywait(firstBrand);  
370 - click(firstBrand);  
371 - click(sureBotton);  
372 - }  
373 - /**  
374 - * 选择主类目  
375 - * 注意:这里只能用js点击事件才能展开那个“+”  
376 - * @throws InterruptedException  
377 - */  
378 - public void selectCategory(){  
379 - forceWait(1000);  
380 - mywait(selectCategory);  
381 - click(selectCategory);  
382 - jsExecutorClick(oneLevel);  
383 - jsExecutorClick(twoLevel);  
384 - jsExecutorClick(threeLevel);  
385 - jsExecutorClick(mainCategory);  
386 - click(sureBotton);  
387 - }  
388 - /**  
389 - * 配置商品属性  
390 - */  
391 - public void goodsProperty() {  
392 - mywait(secondFunction);  
393 - click(secondFunction);  
394 - click(secondSpcialFunction);  
395 - click(skin);  
396 - click(withPerson);  
397 - click(forAge);  
398 - }  
399 - /**  
400 - * 配置商品信息  
401 - */  
402 - public void goodsInfo() {  
403 - skuNameNo = Tools.getCurrentTime();  
404 - //挪动滚动条,否则查找不到元素  
405 - moveHeightScroll("40");  
406 - sendKeys(goodsName, "市场"+skuNameNo);  
407 - click(selectLanguage);  
408 - click(english);  
409 - sendKeys(goodsName, "Market"+skuNameNo);  
410 - sendKeys(factoryNo, Tools.getFactoryNo());  
411 - click(packageLanguage);  
412 - click(ownCopyright);  
413 - click(sevenDays);  
414 - }  
415 - /**  
416 - * 选择sku属性,并提交  
417 - * @return 商品发布页  
418 - */  
419 - public void goodsSpecifications() {  
420 - moveHeightScroll("65");  
421 - click(countUnit);  
422 - click(outBox);  
423 - click(remoteMode);  
424 - click(remoteMode2);  
425 - click(thoroughfare);  
426 - click(thoroughfare2);  
427 - click(normalFunction);  
428 - click(normalFunction2);  
429 - click(isBattery);  
430 - click(isBattery2);  
431 - click(isCharge);  
432 - click(isCharge2);  
433 - click(parts);  
434 - click(parts2);  
435 - click(pattern);  
436 - click(pattern2);  
437 - click(suit);  
438 - click(suit2);  
439 - click(localProcess);  
440 - click(localProcess2);  
441 - click(color);  
442 - click(color2);  
443 - click(count);  
444 - click(count2);  
445 - click(packingType);  
446 - click(packingType2);  
447 - click(packingWay);  
448 - click(packingWay2);  
449 - click(addSku);  
450 -  
451 - sendKeys(skuItemCount, "10");  
452 - sendKeys(saleMOQ, "10");  
453 - sendKeys(supplyTime, "3");  
454 -  
455 - //供应商报价,随机生成一个1-200的价格  
456 - int sp = (int)(1+Math.random()*200);  
457 - sendKeys(suppliPrice, sp+"");  
458 -  
459 - jsExecutorDragAndDrop(widthScroll1,2000,0);  
460 - mywait(packageLong);  
461 -  
462 - //外箱体积  
463 - sendKeys(packageLong, "100");  
464 - sendKeys(packageWidth, "50");  
465 - sendKeys(packageHigh, "40");  
466 - //毛重,净重  
467 - sendKeys(grossWeight, "1.5");  
468 - sendKeys(netWeight, "1.2");  
469 - }  
470 -  
471 - /**  
472 - * 上传sku图片并提交审核,确认弹框  
473 - */  
474 - public void updatePic() {  
475 - click(updatePic);  
476 - uploadFile(Model.getPicPath());  
477 - /*while(!isElementExist(isUpudate)) {  
478 - forceWait(1000);  
479 - }*/  
480 - dynamicWait(By.xpath("//*[contains(@ng-click,'deleteInfo')]"));  
481 - forceWait(1000);  
482 - click(submit);  
483 - forceWait(1000);  
484 - mywait(confirm);  
485 - setSkuNo();  
486 - click(confirm);  
487 - }  
488 -  
489 - /**  
490 - * 市场商品建档,将上面的方法整合  
491 - * @return MarketGoodsRelesePage  
492 - */  
493 - public MarketGoodsRelesePage addMarketGoods() {  
494 - selectSupplier();  
495 - selectBrand();  
496 - selectCategory();  
497 - goodsProperty();  
498 - goodsInfo();  
499 - goodsSpecifications();  
500 - updatePic();  
501 - return new MarketGoodsRelesePage(driver);  
502 - }  
503 -  
504 - /**  
505 - * 将商品编号写进model  
506 - */  
507 - public void setSkuNo() {  
508 - Model.setSkuNo(skuNo.getText());  
509 - }  
510 -}  
src/test/java/com/essa/pageObject/GoodsManage/AddOriginalGoodsPage.java deleted
@@ -1,505 +0,0 @@ @@ -1,505 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Tools;  
10 -  
11 -/**  
12 - * 新增原厂商品页面  
13 - * @author Administrator  
14 - *  
15 - */  
16 -public class AddOriginalGoodsPage extends BasePage {  
17 - public AddOriginalGoodsPage(WebDriver driver) {  
18 - super(driver);  
19 - }  
20 -  
21 - public static String skuNameNo = null;  
22 - public static String supplierName ;  
23 -  
24 - /*  
25 - * 元素定位  
26 - */  
27 -  
28 - //选择供应商  
29 - @FindBy (xpath="//*[@ng-click='supplier()']")  
30 - WebElement selectSupplier;  
31 -  
32 - //供应商查询方式选择  
33 - @FindBy (xpath="//*[@ng-click='showSelect()']")  
34 - WebElement showSelect;  
35 -  
36 - //供应商名称查询  
37 - @FindBy (xpath="//*[contains(@ng-click,'keywordTypeChecked(item)') and @value='name']/..")  
38 -// @FindBy (xpath="//*[@ng-click='showSelect()']/../ul[1]")  
39 - WebElement queryByName;  
40 -  
41 - //查询输入框  
42 - @FindBy (xpath="//*[@ng-keyup='keyupChecked()']")  
43 - WebElement queryKeyword;  
44 -  
45 - //供应商查询按钮  
46 - @FindBy (xpath="//*[@ng-click='search()']")  
47 - WebElement search;  
48 -  
49 - //查询的第一个结果  
50 - @FindBy (xpath="//*[@id='spTableParams']/tbody/tr[1]")  
51 - WebElement firstRestult;  
52 -  
53 - //供应商选择【确定】  
54 - @FindBy (xpath="//*[text()='确定']")  
55 - WebElement sureBotton;  
56 -  
57 - //品牌名称选框  
58 - @FindBy (xpath="//*[text()='品牌名称']/../div[2]/div/div")  
59 - WebElement brandName;  
60 -  
61 - //品牌选项-第一个品牌  
62 - @FindBy (xpath="//*[@class='msgLayer']/li[1]")  
63 - WebElement firstBrand;  
64 -  
65 - //品牌【确定】  
66 - //与供应商选择的确定按钮元素一样,可直接使用  
67 -  
68 - //选择类目  
69 - @FindBy(xpath="//*[text()='主类目']/../../div[1]/div")  
70 - WebElement selectCategory;  
71 -  
72 - //玩具类目一级类目  
73 - @FindBy (xpath="//*[@id='undefined_1_switch']")  
74 - WebElement oneLevel;  
75 -  
76 - //动植物二级类目  
77 - @FindBy (xpath="//*[@id='undefined_7_switch']")  
78 - WebElement twoLevel;  
79 -  
80 - //飞行鸟类三级类目  
81 - @FindBy (xpath="//*[text()='飞行鸟类']")  
82 - WebElement threeLevel;  
83 -  
84 - //[主类目]选择  
85 - @FindBy (xpath="//*[contains(@class,'btn btn-success')]")  
86 - WebElement mainCategory;  
87 -  
88 -  
89 - /*  
90 - * 商品属性  
91 - */  
92 - //商品属性-功能:第二个-遥控  
93 - @FindBy (xpath="//*[text()='功能']/../div[2]/div[2]")  
94 - WebElement secondFunction;  
95 -  
96 - //商品属性-特殊功能:第二个-声控  
97 - @FindBy (xpath="//*[text()='特殊功能']/../div[2]/div[2]")  
98 - WebElement secondSpcialFunction;  
99 -  
100 - //商品属性-外观造型:第一个-仿真  
101 - @FindBy (xpath="//*[text()='外观造型']/../div[2]/div[1]")  
102 - WebElement skin;  
103 -  
104 - //商品属性-是否带人  
105 - @FindBy (xpath="//*[text()='是否带人']/../div[2]/div[1]")  
106 - WebElement withPerson;  
107 -  
108 - //商品属性-适用年龄:第三个-6-18个月  
109 - @FindBy (xpath="//*[text()='适用年龄']/../div[2]/div[3]")  
110 - WebElement forAge;  
111 -  
112 - /*  
113 - * 商品信息  
114 - */  
115 -  
116 - //品名选择  
117 - @FindBy (xpath="//*[text()='品名']/../div[2]/div")  
118 - WebElement selectLanguage;  
119 -  
120 - //品名语言-英语  
121 - @FindBy (xpath="//*[@class='msg2']/ul[1]/li[2]")  
122 - WebElement english;  
123 -  
124 - //品名输入框  
125 - @FindBy (xpath="//*[text()='品名']/../div[3]/div/input")  
126 - WebElement goodsName;  
127 -  
128 - //工厂货号输入框  
129 - @FindBy (xpath="//*[@ng-model='model.factoryNo']")  
130 - WebElement factoryNo;  
131 -  
132 - //包装语言  
133 - @FindBy (xpath = "//*[@dic-list='包装语言']/div[1]")  
134 - WebElement packageLanguage;  
135 -  
136 - //自有版权  
137 - @FindBy (xpath="//*[text()='自有版权']")  
138 - WebElement ownCopyright;  
139 -  
140 - //第三方版权  
141 - @FindBy (xpath="//*[text()='第三方版权']")  
142 - WebElement thirdCopyright;  
143 -  
144 - //无授权  
145 - @FindBy (xpath="//*[text()='无版权']")  
146 - WebElement noCopyright;  
147 -  
148 - //A货  
149 - @FindBy (xpath="//*[text()='A货']")  
150 - WebElement AGoods;  
151 -  
152 - //新品保护期 -第三个:7天  
153 - @FindBy (xpath="//*[@dic-list='新品保护期']/div[3]")  
154 - WebElement sevenDays;  
155 -  
156 - /*  
157 - * 商品规格  
158 - */  
159 -  
160 - //计量单位-第一个:只  
161 - @FindBy (xpath="//*[@dic-list='计量单位']/div[1]")  
162 - WebElement countUnit;  
163 -  
164 - //外箱  
165 - @FindBy (xpath="//*[text()='外箱']")  
166 - WebElement outBox;  
167 -  
168 - //遥控模式  
169 - @FindBy (xpath="//*[@placeholder='请选择遥控模式']")  
170 - WebElement remoteMode;  
171 -  
172 - //遥控模式:无线电  
173 - @FindBy (xpath="//*[@placeholder='请选择遥控模式']/../../div[3]/div/span[1]")  
174 - WebElement remoteMode2;  
175 -  
176 - //通道  
177 - @FindBy (xpath="//*[@placeholder='请选择通道']")  
178 - WebElement thoroughfare;  
179 -  
180 - //通道:2通  
181 - @FindBy (xpath="//*[@placeholder='请选择通道']/../../div[3]/div/span[1]")  
182 - WebElement thoroughfare2;  
183 -  
184 - //常规功能  
185 - @FindBy (xpath="//*[@placeholder='请选择常规功能']")  
186 - WebElement normalFunction;  
187 -  
188 - //常规功能:灯光  
189 - @FindBy (xpath="//*[@placeholder='请选择常规功能']/../../div[3]/div/span[2]")  
190 - WebElement normalFunction2;  
191 -  
192 - //是否包电  
193 - @FindBy (xpath="//*[@placeholder='请选择是否包电']")  
194 - WebElement isBattery;  
195 -  
196 - //是否包电:包电  
197 - @FindBy (xpath="//*[@placeholder='请选择是否包电']/../../div[3]/div/span[2]")  
198 - WebElement isBattery2;  
199 -  
200 - //是否可充电  
201 - @FindBy (xpath="//*[@placeholder='请选择是否可充电']")  
202 - WebElement isCharge;  
203 -  
204 - //是否可充电:可充电  
205 - @FindBy (xpath="//*[@placeholder='请选择是否可充电']/../../div[3]/div/span[1]")  
206 - WebElement isCharge2;  
207 -  
208 - //配件  
209 - @FindBy (xpath="//*[@placeholder='请选择配件']")  
210 - WebElement parts;  
211 -  
212 - //配件:无  
213 - @FindBy (xpath="//*[@placeholder='请选择配件']/../../div[3]/div/span[1]")  
214 - WebElement parts2;  
215 -  
216 - //包装图案  
217 - @FindBy (xpath="//*[@placeholder='请选择包装图案']")  
218 - WebElement pattern;  
219 -  
220 - //包装图案:无  
221 - @FindBy (xpath="//*[@placeholder='请选择包装图案']/../../div[3]/div/span[1]")  
222 - WebElement pattern2;  
223 -  
224 - //单品或套装  
225 - @FindBy (xpath="//*[@placeholder='请选择单品或套装']")  
226 - WebElement suit;  
227 -  
228 - //单品或套装:单品  
229 - @FindBy (xpath="//*[@placeholder='请选择单品或套装']/../../div[3]/div/span[1]")  
230 - WebElement suit2;  
231 -  
232 - //局部工艺  
233 - @FindBy (xpath="//*[@placeholder='请选择局部工艺']")  
234 - WebElement localProcess;  
235 -  
236 - //局部工艺:无  
237 - @FindBy (xpath="//*[@placeholder='请选择局部工艺']/../../div[3]/div/span[1]")  
238 - WebElement localProcess2;  
239 -  
240 - //颜色  
241 - @FindBy (xpath="//*[@placeholder='请选择颜色']")  
242 - WebElement color;  
243 -  
244 - //颜色  
245 - @FindBy (xpath="//*[@placeholder='请选择颜色']/../../div[3]/div/span[1]")  
246 - WebElement color2;  
247 -  
248 - //装量  
249 - @FindBy (xpath="//*[@placeholder='请选择装量']")  
250 - WebElement count;  
251 -  
252 - //装量:9 装量的具体值  
253 - @FindBy (xpath="//*[@placeholder='请选择装量']/../../div[3]/div/span[2]")  
254 - WebElement count2;  
255 -  
256 - //包装类型  
257 - @FindBy (xpath="//*[@placeholder='请选择包装类型']")  
258 - WebElement packingType;  
259 -  
260 - //包装类型:OPP袋  
261 - @FindBy (xpath="//*[@placeholder='请选择包装类型']/../../div[3]/div/span[1]")  
262 - WebElement packingType2;  
263 -  
264 - //包装方式  
265 - @FindBy (xpath="//*[@placeholder='请选择包装方式']")  
266 - WebElement packingWay;  
267 -  
268 - //包装方式:OPP袋  
269 - @FindBy (xpath="//*[@placeholder='请选择包装方式']/../../div[3]/div/span[1]")  
270 - WebElement packingWay2;  
271 -  
272 - //“+”sku按钮  
273 - @FindBy (xpath="//*[@class='addSku']")  
274 - WebElement addSku;  
275 -  
276 - //计数数量  
277 - @FindBy (xpath="//*[@title='计数数量']/div/input")  
278 - WebElement skuItemCount;  
279 -  
280 - //销售MOQ  
281 - @FindBy (xpath="//*[@title='销售MOQ']/div/input")  
282 - WebElement saleMOQ;  
283 -  
284 - //供货周期  
285 - @FindBy (xpath="//*[@title='供货周期']/div/input")  
286 - WebElement supplyTime;  
287 -  
288 - //供应商报价  
289 - @FindBy (xpath="//*[@placeholder='单品价格']")  
290 - WebElement suppliPrice;  
291 -  
292 - //横向滚动条1  
293 - @FindBy (xpath="//*[@id='customScroll']")  
294 - WebElement widthScroll1;  
295 -  
296 -// //横向滚动条2,滚动条与内容一起,无法拖动  
297 -// @FindBy (xpath="//*[contains(@id,'table-single-goods-sku')]/..")  
298 -// WebElement widthScroll2;  
299 -  
300 - //外箱体积-长  
301 - @FindBy (xpath="//*[@title='外箱体积(cm)']/div[2]/input")  
302 - WebElement packageLong;  
303 -  
304 - //外箱体积-宽  
305 - @FindBy (xpath="//*[@title='外箱体积(cm)']/div[3]/input")  
306 - WebElement packageWidth;  
307 -  
308 - //外箱体积-高  
309 - @FindBy (xpath="//*[@title='外箱体积(cm)']/div[4]/input")  
310 - WebElement packageHigh;  
311 -  
312 - //毛重  
313 - @FindBy (xpath="//*[@title='毛重']/div/input")  
314 - WebElement grossWeight;  
315 -  
316 - //净重  
317 - @FindBy (xpath="//*[@title='净重']/div/input")  
318 - WebElement netWeight;  
319 -  
320 - //保存  
321 - @FindBy (xpath="//*[text()='保存']")  
322 - WebElement save;  
323 -  
324 - //提示  
325 - @FindBy(xpath="//*[text()='原厂商品保存成功']")  
326 - WebElement succeedMessage;  
327 -  
328 - /*  
329 - * 以下为页面方法  
330 - */  
331 -  
332 - /**  
333 - * 选择供应商  
334 - * @param 供应商名称  
335 - * @throws InterruptedException  
336 - */  
337 - public void selectSupplier(String supplierName){  
338 - forceWait(2000);  
339 - dynamicWait(By.xpath("//*[@ng-click='supplier()']"));  
340 - click(selectSupplier);  
341 - click(showSelect);  
342 - click(queryByName);  
343 - sendKeys(queryKeyword,supplierName);  
344 - click(search);  
345 - forceWait(1000);  
346 - dynamicWait(By.xpath("//*[@id='spTableParams']/tbody/tr[1]"));  
347 - click(firstRestult);  
348 - click(sureBotton);  
349 - }  
350 -  
351 - /**  
352 - * 选择品牌  
353 - */  
354 - public void selectBrand() {  
355 - forceWait(1000);  
356 - click(brandName);  
357 - dynamicWait(By.xpath("//*[@class='msgLayer']/li[1]"));  
358 - click(firstBrand);  
359 - click(sureBotton);  
360 - }  
361 -  
362 - /**  
363 - * 选择主类目  
364 - * 注意:这里只能用js点击事件才能展开那个“+”  
365 - * @throws InterruptedException  
366 - */  
367 - public void selectCategory(){  
368 - forceWait(1000);  
369 - mywait(selectCategory);  
370 - click(selectCategory);  
371 - jsExecutorClick(oneLevel);  
372 - jsExecutorClick(twoLevel);  
373 - jsExecutorClick(threeLevel);  
374 - jsExecutorClick(mainCategory);  
375 - click(sureBotton);  
376 - }  
377 -  
378 - /**  
379 - * 配置商品属性  
380 - */  
381 - public void goodsProperty() {  
382 - mywait(secondFunction);  
383 - click(secondFunction);  
384 - click(secondSpcialFunction);  
385 - click(skin);  
386 - click(withPerson);  
387 - click(forAge);  
388 - }  
389 -  
390 - /**  
391 - * 配置商品信息  
392 - */  
393 - public void goodsInfo() {  
394 - skuNameNo = Tools.getCurrentTime();  
395 - //挪动滚动条,否则查找不到元素  
396 - moveHeightScroll("40");  
397 - sendKeys(goodsName, "原厂"+skuNameNo);  
398 - click(selectLanguage);  
399 - click(english);  
400 - sendKeys(goodsName, "Original"+skuNameNo);  
401 - sendKeys(factoryNo, Tools.getFactoryNo());  
402 - click(packageLanguage);  
403 - click(ownCopyright);  
404 - click(sevenDays);  
405 - }  
406 -  
407 - /**  
408 - * 选择sku属性,并提交  
409 - * @return 商品发布页  
410 - */  
411 - public GoodsRelesePage goodsSpecifications() {  
412 - moveHeightScroll("65");  
413 - click(countUnit);  
414 - click(outBox);  
415 - click(remoteMode);  
416 - click(remoteMode2);  
417 - click(thoroughfare);  
418 - click(thoroughfare2);  
419 - click(normalFunction);  
420 - click(normalFunction2);  
421 - click(isBattery);  
422 - click(isBattery2);  
423 - click(isCharge);  
424 - click(isCharge2);  
425 - click(parts);  
426 - click(parts2);  
427 - click(pattern);  
428 - click(pattern2);  
429 - click(suit);  
430 - click(suit2);  
431 - click(localProcess);  
432 - click(localProcess2);  
433 - click(color);  
434 - click(color2);  
435 - click(count);  
436 - click(count2);  
437 - click(packingType);  
438 - click(packingType2);  
439 - click(packingWay);  
440 - click(packingWay2);  
441 - click(addSku);  
442 -  
443 - sendKeys(skuItemCount, "10");  
444 - sendKeys(saleMOQ, "10");  
445 - sendKeys(supplyTime, "3");  
446 -  
447 - //供应商报价,随机生成一个1-200的价格  
448 - int sp = (int)(1+Math.random()*200);  
449 - sendKeys(suppliPrice, sp+"");  
450 -  
451 - jsExecutorDragAndDrop(widthScroll1,2000,0);  
452 - mywait(packageLong);  
453 -  
454 - //外箱体积  
455 - sendKeys(packageLong, "100");  
456 - sendKeys(packageWidth, "50");  
457 - sendKeys(packageHigh, "40");  
458 - //毛重,净重  
459 - sendKeys(grossWeight, "1.5");  
460 - sendKeys(netWeight, "1.2");  
461 -  
462 - click(save);  
463 - return new GoodsRelesePage(driver);  
464 - }  
465 -  
466 - /**  
467 - * 原厂商品建档,将上面的方法整合  
468 - * @param supplierName  
469 - * @return  
470 - * @throws InterruptedException  
471 - */  
472 - public GoodsRelesePage addOriginalGoods() {  
473 - selectSupplier(supplierName);  
474 - selectBrand();  
475 - selectCategory();  
476 - goodsProperty();  
477 - goodsInfo();  
478 - goodsSpecifications();  
479 - return new GoodsRelesePage(driver);  
480 - }  
481 -  
482 - /**  
483 - * 用于断言是否商品建档成功  
484 - * @return boolean  
485 - */  
486 - public boolean isSucceed() {  
487 - return isElementExist(succeedMessage);  
488 - }  
489 -  
490 - /**  
491 - * 返回商品名称后面的那串数字  
492 - * @return  
493 - */  
494 - public static String getSkuNameNo() {  
495 - return skuNameNo;  
496 - }  
497 -  
498 - /**  
499 - * 通过GUI设置供应商名称  
500 - * @param suppliername  
501 - */  
502 - public static void setSupplierName(String suppliername) {  
503 - supplierName = suppliername;  
504 - }  
505 -}  
src/test/java/com/essa/pageObject/GoodsManage/AuditMarketGoodsPage.java deleted
@@ -1,70 +0,0 @@ @@ -1,70 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator  
13 - *审核市场商品列表页  
14 - */  
15 -public class AuditMarketGoodsPage extends BasePage {  
16 - public AuditMarketGoodsPage(WebDriver driver) {  
17 - super(driver);  
18 - }  
19 - /*  
20 - * 元素定位  
21 - */  
22 -  
23 - /*搜索控件*/  
24 - //采购商编号  
25 - @FindBy (xpath="//*[@placeholder='请输入采购商编号']")  
26 - WebElement buyerNo;  
27 -  
28 - //sku编号  
29 - @FindBy (xpath="//*[contains(@placeholder,'请输入多个商品编号')]")  
30 - WebElement skuNo;  
31 -  
32 - //查询  
33 - @FindBy (xpath="//*[text()='查询']")  
34 - WebElement search;  
35 -  
36 - //搜索结果-第一个复选框  
37 - @FindBy (xpath="//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input")  
38 - WebElement firstCheckBox;  
39 -  
40 - //审核按钮  
41 - @FindBy (xpath="//*[text()='审核']")  
42 - WebElement audit;  
43 -  
44 - /*  
45 - * 页面方法  
46 - */  
47 - /**  
48 - * 选择要审核的商品,并点击审核按钮  
49 - * @return AuditMarketOpreatePage  
50 - */  
51 - public AuditMarketOpreatePage auditMarketGoods() {  
52 - forceWait(500);  
53 - sendKeys(skuNo, Model.getSkuNo());  
54 - click(search);  
55 - forceWait(1000);  
56 - mywait(firstCheckBox);  
57 - click(firstCheckBox);  
58 - click(audit);  
59 - return new AuditMarketOpreatePage(driver);  
60 - }  
61 -  
62 - /**  
63 - * 如果审核成功,返回false,列表中已经不存在该待审核sku  
64 - * @return boolean  
65 - */  
66 - public boolean isSucceed() {  
67 - forceWait(1500);  
68 - return isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]"));  
69 - }  
70 -}  
src/test/java/com/essa/pageObject/GoodsManage/AuditMarketOpreatePage.java deleted
@@ -1,34 +0,0 @@ @@ -1,34 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -/**  
10 - * @author Administrator  
11 - *审核市场商品操作页,点击审核的那个页面  
12 - */  
13 -public class AuditMarketOpreatePage extends BasePage {  
14 - public AuditMarketOpreatePage(WebDriver driver) {  
15 - super(driver);  
16 - }  
17 - /*元素定位*/  
18 -  
19 - //审核通过  
20 - @FindBy(xpath="//*[text()='审核通过']")  
21 - WebElement pass;  
22 -  
23 - /*页面方法*/  
24 - /**  
25 - * 审核通过  
26 - * @return  
27 - */  
28 - public AuditMarketGoodsPage auditPass() {  
29 - forceWait(2000);  
30 - moveHeightScroll("100");  
31 - click(pass);  
32 - return new AuditMarketGoodsPage(driver);  
33 - }  
34 -}  
src/test/java/com/essa/pageObject/GoodsManage/AuditOriginalGoodsPage.java deleted
@@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *审核原厂商品列表页  
13 - */  
14 -public class AuditOriginalGoodsPage extends BasePage {  
15 - public AuditOriginalGoodsPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 -  
19 - /*  
20 - * 元素定位  
21 - */  
22 -  
23 - //第一个复选框,同时也是检查点  
24 - @FindBy(xpath="//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input")  
25 - WebElement checkBox;  
26 -  
27 - /**  
28 - * 根据商品名称获得其复选框  
29 - * @return WebElement  
30 - */  
31 - private WebElement getCheckBox() {  
32 - String no = AddOriginalGoodsPage.getSkuNameNo();  
33 - return driver.findElement(By.xpath("//*[contains(@class,'col-sm-') and contains(text(),'"+no+"')]/../../../../td[1]/input"));  
34 - }  
35 -  
36 - //审核  
37 - @FindBy(xpath="//*[text()='审核']")  
38 - WebElement audit;  
39 -  
40 - //批量通过并上架  
41 - @FindBy(xpath="//*[text()='批量通过并上架']")  
42 - WebElement batchAudit;  
43 -  
44 - /*  
45 - * 页面方法  
46 - */  
47 -  
48 - /**  
49 - * 选择商品,并进入审核页面  
50 - * @return AuditOriginalOpreatePage  
51 - */  
52 - public AuditOriginalOpreatePage toAuditOriginalSku() {  
53 -// forceWait(2000);  
54 -// mywait(checkBox);  
55 - dynamicWait(By.xpath("//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input"));  
56 - click(getCheckBox());  
57 - click(audit);  
58 - return new AuditOriginalOpreatePage(driver);  
59 - }  
60 -  
61 - /**  
62 - * 用于断言列表是否有要找的商品  
63 - * @return boolean  
64 - */  
65 - public boolean isSucceed() {  
66 -// mywait(checkBox);  
67 -// forceWait(2000);  
68 - dynamicWait(By.xpath("//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input"));  
69 - String SkuNameNo = AddOriginalGoodsPage.getSkuNameNo();  
70 - boolean b = isVisibility(By.xpath("//*[contains(text(),'"+SkuNameNo+"')]"));  
71 - return b;  
72 - }  
73 -  
74 -}  
src/test/java/com/essa/pageObject/GoodsManage/AuditOriginalOpreatePage.java deleted
@@ -1,52 +0,0 @@ @@ -1,52 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -/**  
10 - * @author Administrator  
11 - *审核原厂商品页面  
12 - */  
13 -public class AuditOriginalOpreatePage extends BasePage {  
14 - public AuditOriginalOpreatePage(WebDriver driver) {  
15 - super(driver);  
16 - }  
17 - /*  
18 - * 元素定位  
19 - */  
20 -  
21 - //审核通过  
22 - @FindBy(xpath="//*[text()='审核通过']")  
23 - WebElement pass;  
24 -  
25 - //审核通过提示语  
26 - @FindBy(xpath="//*[text()='商品审核已通过'")  
27 - WebElement succeedMessage;  
28 -  
29 - /*  
30 - * 页面方法  
31 - */  
32 -  
33 - /**  
34 - * 挪动滚动条至底部,点击审核通过  
35 - * @return AuditOriginalGoodsPage  
36 - */  
37 - public AuditOriginalGoodsPage auditPass() {  
38 - forceWait(2000);  
39 - moveHeightScroll("100");  
40 - click(pass);  
41 - return new AuditOriginalGoodsPage(driver);  
42 - }  
43 -  
44 - /**  
45 - * 用于断言商品审核是否通过  
46 - * @return boolean  
47 - */  
48 - public boolean isSucceed() {  
49 - return isElementExist(succeedMessage);  
50 - }  
51 -  
52 -}  
src/test/java/com/essa/pageObject/GoodsManage/EditSpuPage.java deleted
@@ -1,45 +0,0 @@ @@ -1,45 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -/**  
10 - * @author Administrator  
11 - *编辑spu页  
12 - */  
13 -public class EditSpuPage extends BasePage {  
14 - public EditSpuPage(WebDriver driver) {  
15 - super(driver);  
16 - }  
17 - /*  
18 - * 页面元素定位  
19 - */  
20 -  
21 - //上传图片  
22 - @FindBy(xpath="//*[@class='webuploader-element-invisible']/../label")  
23 - WebElement upDatePic;  
24 -  
25 - //保存  
26 - @FindBy(xpath="//*[text()='保存']")  
27 - WebElement save;  
28 -  
29 - /*  
30 - * 页面方法  
31 - */  
32 -  
33 - /**  
34 - * 编辑spu图片  
35 - * @return GoodsRelesePage  
36 - * @throws InterruptedException  
37 - */  
38 - public GoodsRelesePage editSpuPic() throws InterruptedException {  
39 - moveHeightScroll("30");  
40 - jsExecutorClick(upDatePic);  
41 - moveHeightScroll("0");  
42 - click(save);  
43 - return new GoodsRelesePage(driver);  
44 - }  
45 -}  
src/test/java/com/essa/pageObject/GoodsManage/GoodsBankPage.java deleted
@@ -1,47 +0,0 @@ @@ -1,47 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import com.essa.framework.BasePage;  
7 -import com.essa.framework.Model;  
8 -  
9 -/**  
10 - * @author Administrator  
11 - *商品库页  
12 - */  
13 -public class GoodsBankPage extends BasePage {  
14 - public GoodsBankPage(WebDriver driver) {  
15 - super(driver);  
16 - }  
17 - /*  
18 - * 页面元素定位  
19 - */  
20 -  
21 - //商品名称  
22 - private WebElement getSkuName() {  
23 - String no = AddOriginalGoodsPage.skuNameNo;  
24 - return driver.findElement(By.xpath("//*[contains(text(),'"+no+"')]"));  
25 - }  
26 -  
27 - //商品编号  
28 - private WebElement getSkuNo() {  
29 - String no = AddOriginalGoodsPage.skuNameNo;  
30 - return driver.findElement(By.xpath("//*[contains(text(),'"+no+"')]/../li[3]"));  
31 - }  
32 -  
33 - /*  
34 - * 页面方法  
35 - */  
36 -  
37 - /**  
38 - * 获取商品编号  
39 - * @return No  
40 - */  
41 - public String getNo() {  
42 - dynamicWait(By.xpath("//*[@id='undercarriageGoods']/tbody[1]/tr[1]/td[1]/input"));  
43 - String skuNo = getSkuNo().getText();  
44 - Model.setSkuNo(skuNo);  
45 - return skuNo;  
46 - }  
47 -}  
src/test/java/com/essa/pageObject/GoodsManage/GoodsRelesePage.java deleted
@@ -1,88 +0,0 @@ @@ -1,88 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *商品发布管理  
13 - */  
14 -public class GoodsRelesePage extends BasePage {  
15 - public GoodsRelesePage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 - /*  
19 - * 元素定位  
20 - */  
21 -  
22 - //商品发布--检查点  
23 - @FindBy(xpath="//*[text()='商品发布']")  
24 - WebElement checkPoint;  
25 -  
26 - /*  
27 - //勾选第1个复选框--后续最好根据商品名称来定位勾选框  
28 - @FindBy(xpath="//*[@ng-table='preUploadCtrlTableParams']/tbody[1]/tr[1]/td[1]/input")  
29 - WebElement checkBox;  
30 - */  
31 -  
32 - /**  
33 - * 根据商品名称获得其复选框  
34 - * @return  
35 - */  
36 - private WebElement getCheckBox() {  
37 - String no = AddOriginalGoodsPage.getSkuNameNo();  
38 - return driver.findElement(By.xpath("//*[contains(text(),'"+no+"')]/../../td[1]/input"));  
39 - }  
40 -  
41 - //图片更新  
42 - @FindBy(xpath="//*[contains(text(),'图片更新')]")  
43 - WebElement updatePic;  
44 -  
45 - //编辑  
46 - @FindBy(xpath="//*[contains(text(),'编辑')]")  
47 - WebElement edit;  
48 -  
49 - /*  
50 - * 页面方法  
51 - */  
52 -  
53 - /**  
54 - * 进入更新图片页面  
55 - * @return UpdatePicPage  
56 - */  
57 - public UpdatePicPage toUpDatePic() {  
58 - forceWait(2000);  
59 - dynamicWait(By.xpath("//*[@ng-table='preUploadCtrlTableParams']/tbody[1]/tr[1]/td[1]/input"));  
60 - click(getCheckBox());  
61 - click(updatePic);  
62 - return new UpdatePicPage(driver);  
63 - }  
64 -  
65 - /**  
66 - * 进入编辑页面  
67 - * @return EditSpuPage  
68 - * @throws InterruptedException  
69 - */  
70 - public EditSpuPage toEditSpuPage() {  
71 - isThisPage("商品发布", checkPoint);  
72 - click(getCheckBox());  
73 - click(edit);  
74 - return new EditSpuPage(driver);  
75 - }  
76 -  
77 - /**  
78 - * 断言商品建档是否成功  
79 - * @return boolean  
80 - */  
81 - public boolean isAddOrignalSucceed() {  
82 - forceWait(1000);  
83 - dynamicWait(By.xpath("//*[@ng-table='preUploadCtrlTableParams']/tbody[1]/tr[1]/td[1]/input"));  
84 - String SkuNameNo = AddOriginalGoodsPage.getSkuNameNo();  
85 - //由于@findby只能输入常量,不能输入变量,所以这里用最底层的方法来寻找元素  
86 - return isVisibility((driver.findElement(By.xpath("//*[contains(text(),'"+SkuNameNo+"')]"))));  
87 - }  
88 -}  
src/test/java/com/essa/pageObject/GoodsManage/MarketGoodsRelesePage.java deleted
@@ -1,54 +0,0 @@ @@ -1,54 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -import com.essa.framework.Model;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *市场商品发布页  
13 - */  
14 -public class MarketGoodsRelesePage extends BasePage {  
15 -  
16 - public MarketGoodsRelesePage (WebDriver driver) {  
17 - super(driver);  
18 - }  
19 - /*  
20 - * 页面元素定位  
21 - */  
22 -  
23 - //采购商编号  
24 - @FindBy (xpath="//*[@placeholder='请输入采购商编号']")  
25 - WebElement buyerNo;  
26 -  
27 - //查询按钮  
28 - @FindBy (xpath="//*[text()='查询']")  
29 - WebElement search;  
30 -  
31 - //市场商品发布--列表第一个  
32 - @FindBy (xpath="//*[@id='tableViewList']/div/div/div/div[2]/table/tbody/tr[1]/td[9]/button")  
33 - WebElement goodsRelese1;  
34 -  
35 - /*  
36 - * 页面方法  
37 - */  
38 - /**  
39 - * 选择采购商,点击市场发布,进入市场商品建档页面  
40 - * @return AddMarketGoodsPage  
41 - */  
42 - public AddMarketGoodsPage toAddMarketGoodsPage() {  
43 - mywait(goodsRelese1);  
44 - sendKeys(buyerNo, Model.getBuyerNo());  
45 - click(search);  
46 - forceWait(1000);  
47 - mywait(goodsRelese1);  
48 - click(goodsRelese1);  
49 - forceWait(1000);  
50 - switchWindow();  
51 - return new AddMarketGoodsPage(driver);  
52 - }  
53 -  
54 -}  
src/test/java/com/essa/pageObject/GoodsManage/UpdatePicPage.java deleted
@@ -1,98 +0,0 @@ @@ -1,98 +0,0 @@
1 -package com.essa.pageObject.GoodsManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *更新图片  
13 - */  
14 -public class UpdatePicPage extends BasePage {  
15 - public UpdatePicPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 - public static String picPath;  
19 -  
20 - /*  
21 - * 元素定位  
22 - */  
23 -  
24 - //检查点  
25 - @FindBy(xpath="//*[text()='SPU信息']")  
26 - WebElement checkPoint;  
27 -  
28 - //spu上传图片按钮  
29 - @FindBy(xpath="//*[@id='spuWrapper']/div[3]/div[2]")  
30 - WebElement spuUploadPic;  
31 -  
32 - //spu的主图  
33 - @FindBy(xpath="//*[@class='load-pic']")  
34 - WebElement spuPic;  
35 -  
36 - //sku上传图片按钮  
37 - @FindBy(xpath="//*[@id='skuWrapper']/div/div/div[1]/div[2]")  
38 - WebElement skuUploadPic;  
39 -  
40 - //SKU图片上的X  
41 - @FindBy(xpath="//*[contains(@ng-click,'picInfo,')]")  
42 - WebElement skuPic;  
43 -  
44 - //保存按钮  
45 - @FindBy(xpath="//*[text()='保存']")  
46 - WebElement save;  
47 -  
48 - //保存成功提示  
49 - @FindBy(xpath="保存成功")  
50 - WebElement succeedMessage;  
51 -  
52 - /*  
53 - * 以下为页面方法  
54 - */  
55 -  
56 - /**  
57 - * 更新商品图片  
58 - * @param picPath 作为商品图片的本机地址  
59 - * @return GoodsRelesePage  
60 - */  
61 - public GoodsRelesePage upDatePic() {  
62 - forceWait(2000);  
63 - dynamicWait(By.xpath("//*[text()='SPU信息']"));  
64 - click(spuUploadPic);  
65 - uploadFile(picPath);  
66 - //如果spu图片还在上传,则等待2秒  
67 - /*while(!isElementExist(spuPic)) {  
68 - forceWait(2000);  
69 - }*/  
70 - dynamicWait(By.xpath("//*[@class='load-pic']"));  
71 - click(skuUploadPic);  
72 - uploadFile(picPath);  
73 - //如果默认的sku图片还存在,说明图片还在上传,继续等待  
74 - /*while (!isElementExist(skuPic)) {  
75 - forceWait(2000);  
76 - }*/  
77 - dynamicWait(By.xpath("//*[contains(@ng-click,'picInfo,')]"));  
78 - forceWait(1000);  
79 - click(save);  
80 - return new GoodsRelesePage(driver);  
81 - }  
82 -  
83 - /**  
84 - * 断言更新图片是否成功  
85 - * @return  
86 - */  
87 - public boolean isSucceed() {  
88 - return isElementExist(succeedMessage);  
89 - }  
90 -  
91 - /**  
92 - * 通过GUI设置本机图片路径  
93 - * @param picpath  
94 - */  
95 - public static void setPicPath(String picpath) {  
96 - picPath = picpath;  
97 - }  
98 -}  
src/test/java/com/essa/pageObject/HomePage.java deleted
@@ -1,347 +0,0 @@ @@ -1,347 +0,0 @@
1 -package com.essa.pageObject;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -import com.essa.framework.BasePage;  
7 -import com.essa.framework.Model;  
8 -import com.essa.pageObject.GoodsManage.AddOriginalGoodsPage;  
9 -import com.essa.pageObject.GoodsManage.AuditMarketGoodsPage;  
10 -import com.essa.pageObject.GoodsManage.AuditOriginalGoodsPage;  
11 -import com.essa.pageObject.GoodsManage.GoodsBankPage;  
12 -import com.essa.pageObject.GoodsManage.GoodsRelesePage;  
13 -import com.essa.pageObject.GoodsManage.MarketGoodsRelesePage;  
14 -import com.essa.pageObject.buyPlaneManage.SkuCategoryManagerCongfigPage;  
15 -import com.essa.pageObject.buyerManage.InvateCodePage;  
16 -import com.essa.pageObject.inquiryManage.ProductInquiryTaskPage;  
17 -import com.essa.pageObject.marketingManage.GroupControlPage;  
18 -import com.essa.pageObject.marketingManage.GroupSettingPage;  
19 -import com.essa.pageObject.needDealt.NeedDealtApplyPage;  
20 -  
21 -/**  
22 - * @author Administrator  
23 - *bpms后台首页  
24 - */  
25 -public class HomePage extends BasePage{  
26 - public HomePage(WebDriver driver) {  
27 - super(driver);  
28 - }  
29 -  
30 - /*  
31 - * 元素定位  
32 - */  
33 -  
34 - //退出  
35 - @FindBy (xpath="//*[text()='退出']")  
36 - WebElement logout;  
37 -  
38 - //左上角图标--用于回到首页  
39 - @FindBy (xpath="//*[@class='logo-text']")  
40 - WebElement essaIcon;  
41 -  
42 - //供应商管理  
43 - @FindBy (xpath="//*[text()='供应商管理']")  
44 - WebElement supplier;  
45 -  
46 - //平台运营跟进管理  
47 - @FindBy (xpath="//*/a[contains(text(),'平台运营跟进管理')]")  
48 - WebElement operationsTrack;  
49 -  
50 - //供应商查询  
51 - @FindBy (xpath="//*[text()='供应商查询']")  
52 - WebElement searchSuppliers;  
53 -  
54 - //商品管理  
55 - @FindBy (xpath="//*[text()='商品管理']")  
56 - WebElement goodsManage;  
57 -  
58 - //商品库  
59 - @FindBy (xpath="//*[text()='商品库']")  
60 - WebElement goodBank;  
61 -  
62 - //原厂商品发布  
63 - @FindBy (xpath="//*[text()='原厂商品发布']")  
64 - WebElement addOriginalGoods;  
65 -  
66 - //市场商品发布  
67 - @FindBy (xpath="//*[text()='市场商品发布']")  
68 - WebElement marketGoodsRelese;  
69 -  
70 - //商品发布管理-子元素  
71 - @FindBy(xpath="//*[@name='child.text' and text()='商品发布管理']")  
72 - WebElement goodsPublish;  
73 -  
74 - //原厂商品发布审核  
75 - @FindBy(xpath="//*[text()='原厂商品发布审核']")  
76 - WebElement auditOriginal;  
77 -  
78 - //市场商品发布审核  
79 - @FindBy(xpath="//*[text()='市场商品发布审核']")  
80 - WebElement auditMarket;  
81 -  
82 - //采购计划管理  
83 - @FindBy(xpath="//*[text()='采购计划管理']")  
84 - WebElement buyerPlaneManage;  
85 -  
86 - //商品类目经理分配配置  
87 - @FindBy(xpath="//*[text()='商品类目经理分配配置']")  
88 - WebElement skuManagerConfig;  
89 -  
90 - //营销管理  
91 - @FindBy (xpath="//*[text()='营销管理']")  
92 - WebElement marketingManage;  
93 -  
94 - //团购设置  
95 - @FindBy (xpath="//*[text()='团购设置']/..")  
96 - WebElement groupSetting;  
97 -  
98 - //团购控制  
99 - @FindBy (xpath="//*[text()='团购控制']/..")  
100 - WebElement groupControl;  
101 -  
102 - //采购商管理  
103 - @FindBy (xpath="//*[text()='采购商管理']")  
104 - WebElement buyerManage;  
105 -  
106 - //生成邀请码  
107 - @FindBy (xpath="//*[text()='生成邀请码']" )  
108 - WebElement inviteCode;  
109 -  
110 - //询价管理  
111 - @FindBy (xpath ="//span[text()='询价管理']")  
112 - WebElement inquiryManage;  
113 -  
114 - //成品询价任务列表  
115 - @FindBy (xpath = "//*[text()='成品询价任务列表']")  
116 - WebElement productInquiryTask;  
117 -  
118 - //产品开发  
119 - @FindBy (xpath ="//*[text()='产品开发']")  
120 - WebElement productDev;  
121 -  
122 - //项目立项书新增  
123 - @FindBy (xpath ="//*[text()='项目立项书新增']")  
124 - WebElement addProject;  
125 -  
126 - //项目立项书查询  
127 - @FindBy (xpath ="//*[text()='项目立项书查询']")  
128 - WebElement quiryProject;  
129 -  
130 - //待办中的"采购计划审核流程"  
131 - @FindBy (xpath = "//*[@title='采购计划审核流程']")  
132 - WebElement purchasePlaneProcess;  
133 -  
134 - //第一条待办  
135 - @FindBy (xpath = "//*[@ng-table='tableParams']/tbody/tr[1]")  
136 - WebElement firstNeedDealt;  
137 -  
138 - //待办搜索文本框  
139 - @FindBy (xpath ="//*[@name='searchForm']/div/input")  
140 - WebElement searchText;  
141 -  
142 - //待办搜索按钮  
143 - @FindBy (xpath = "//*[@name='searchForm']/div/span/button")  
144 - WebElement search;  
145 -  
146 - /*  
147 - * 方法  
148 - */  
149 -  
150 - /**  
151 - * 进入运营跟进管理页面  
152 - * @return SupplierOperationsTrackPage  
153 - */  
154 - public SupplierOperationsTrackPage goToSupplierOperationsTrack() {  
155 -  
156 - //点击 供应商管理  
157 - click(supplier);  
158 -  
159 - //点击 平台运营跟进管理  
160 - click(operationsTrack);  
161 -  
162 - //此时,系统会加载一个平台运营跟进管理页面,故在此初始化该页面并将driver传递过去  
163 - return new SupplierOperationsTrackPage(driver);  
164 -  
165 - }  
166 -  
167 - /**  
168 - * 进入原厂商品发布  
169 - * @return AddOriginalGoodsPage  
170 - */  
171 - public AddOriginalGoodsPage tOriginalGoodsPage() {  
172 - click(goodsManage);  
173 - isElementExist(addOriginalGoods);  
174 - click(addOriginalGoods);  
175 - return new AddOriginalGoodsPage(driver);  
176 - }  
177 -  
178 - /**  
179 - * 进入商品发布管理  
180 - * @return GoodsRelesePage  
181 - */  
182 - public GoodsRelesePage tGoodsRelesePage() {  
183 - click(goodsManage);  
184 - click(goodsPublish);  
185 - return new GoodsRelesePage(driver);  
186 - }  
187 -  
188 - /**  
189 - * 进入原厂商品发布审核  
190 - * @return AuditOriginalGoodsPage  
191 - */  
192 - public AuditOriginalGoodsPage toAuditOriginalGoodsPage() {  
193 - mywait(logout);  
194 - click(goodsManage);  
195 - click(auditOriginal);  
196 - return new AuditOriginalGoodsPage(driver);  
197 - }  
198 -  
199 - /**  
200 - * 进入商品库  
201 - * @return GoodsBankPage  
202 - */  
203 - public GoodsBankPage toGoodsBankPage() {  
204 - click(goodsManage);  
205 - click(goodBank);  
206 - return new GoodsBankPage(driver);  
207 - }  
208 -  
209 - /**  
210 - * 进入市场商品发布  
211 - * @return MarketGoodsRelesePage  
212 - */  
213 - public MarketGoodsRelesePage toMarketGoodsRelesePage() {  
214 - click(goodsManage);  
215 - click(marketGoodsRelese);  
216 - return new MarketGoodsRelesePage(driver);  
217 - }  
218 - /**  
219 - * 进入市场商品发布审核  
220 - * @return AuditMarketGoodsPage  
221 - */  
222 - public AuditMarketGoodsPage toAuditMarketGoodsPage() {  
223 - click(goodsManage);  
224 - click(auditMarket);  
225 - return new AuditMarketGoodsPage(driver);  
226 - }  
227 - /**  
228 - * 进入商品类目经理分配配置  
229 - * @return SkuCategoryManagerCongfigPage  
230 - */  
231 - public SkuCategoryManagerCongfigPage toSkuCategoryManagerCongfig() {  
232 - mywait(logout);  
233 - click(buyerPlaneManage);  
234 - click(skuManagerConfig);  
235 - return new SkuCategoryManagerCongfigPage(driver);  
236 - }  
237 - /**  
238 - * 进入团购设置  
239 - * @return GroupSettingPage  
240 - */  
241 - public GroupSettingPage toGroupSettingPage() {  
242 - getHome();  
243 - click(marketingManage);  
244 - click(groupSetting);  
245 - return new GroupSettingPage(driver);  
246 - }  
247 - /**  
248 - * 进入团购控制  
249 - * @return GroupControlPage  
250 - */  
251 - public GroupControlPage toGroupControlPage() {  
252 -// getHome();  
253 - jsExecutorClick(essaIcon);  
254 - click(marketingManage);  
255 - click(groupControl);  
256 - return new GroupControlPage(driver);  
257 - }  
258 - /**  
259 - * 进入生成邀请码  
260 - * @return InvateCodePage  
261 - */  
262 - public InvateCodePage toInvateCodePage() {  
263 - click(buyerManage);  
264 - moveHeightScroll("100");  
265 - click(inviteCode);  
266 - return new InvateCodePage(driver);  
267 - }  
268 - /**  
269 - * 进入成品询价任务列表  
270 - * @return ProductInquiryTask  
271 - */  
272 - public ProductInquiryTaskPage toProductInquiryTask() {  
273 - click(inquiryManage);  
274 - click(productInquiryTask);  
275 - return new ProductInquiryTaskPage(driver);  
276 - }  
277 -  
278 -  
279 - /**  
280 - * 判断是否进入后台首页  
281 - * @return boolean  
282 - */  
283 - public boolean isSucceed() {  
284 - return isThisPage("退出", logout);  
285 - }  
286 -  
287 - /**  
288 - * 判断是否选中“供应商管理”  
289 - * @return  
290 - */  
291 - public boolean isSearchSuppliers() {  
292 - return isElementExist(searchSuppliers);  
293 - }  
294 -  
295 - /**  
296 - *点击essa图标, 回到bpms后台首页  
297 - */  
298 - public void getHome() {  
299 - forceWait(500);  
300 - jsExecutorClick(essaIcon);  
301 - forceWait(1000);  
302 - }  
303 - /**  
304 - * 退出登录  
305 - */  
306 - public void logout() {  
307 - click(logout);  
308 - }  
309 -  
310 - /**  
311 - * 点击退出,有弹框确认是否离开时,用这个  
312 - */  
313 - public void sureLogout() {  
314 - click(logout);  
315 - alert(true);  
316 - forceWait(1000);  
317 - }  
318 -  
319 - /**  
320 - * 团购活动达成,类目经理采购计划单申请  
321 - * @return 询价待办申请页面  
322 - */  
323 - public NeedDealtApplyPage applyPurchasePlane() {  
324 - mywait(firstNeedDealt);  
325 - click(purchasePlaneProcess);  
326 - forceWait(500);  
327 - click(firstNeedDealt);  
328 - switchWindow();  
329 - return new NeedDealtApplyPage(driver);  
330 - }  
331 -  
332 - /**  
333 - * 待办详情页  
334 - * @return 进入待办详情页  
335 - */  
336 - public NeedDealtApplyPage toNeedDealtDetailPage() {  
337 - mywait(firstNeedDealt);  
338 - sendKeys(searchText, Model.getSerialNum());  
339 - click(search);  
340 - forceWait(1000);  
341 - mywait(firstNeedDealt);  
342 - click(firstNeedDealt);  
343 -// switchWindow();  
344 - switchMoreWindow();  
345 - return new NeedDealtApplyPage(driver);  
346 - }  
347 -}  
348 \ No newline at end of file 0 \ No newline at end of file
src/test/java/com/essa/pageObject/LoginPage.java deleted
@@ -1,54 +0,0 @@ @@ -1,54 +0,0 @@
1 -package com.essa.pageObject;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -/**  
10 - * @author Administrator  
11 - *bpms登录页  
12 - */  
13 -public class LoginPage extends BasePage{  
14 -  
15 - public LoginPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 -  
19 - /*  
20 - * 元素定位  
21 - */  
22 -  
23 - //账号输入框  
24 - @FindBy (xpath="//*[@id='username']")  
25 - WebElement login_account;  
26 -  
27 - //密码输入框  
28 - @FindBy (xpath="//*[@id='password']")  
29 - WebElement login_password;  
30 -  
31 - //登录按钮  
32 - @FindBy (xpath="//*[@id='subBtn']")  
33 - WebElement login_submit;  
34 -  
35 - /*  
36 - * 页面方法  
37 - */  
38 -  
39 - /**  
40 - * 1.输入帐号  
41 - * 2.输入密码  
42 - * 3.点击登录  
43 - * 4.将driver返回  
44 - * @param account  
45 - * @param password  
46 - * @return HomePage  
47 - */  
48 - public HomePage login(String account,String password) {  
49 - sendKeys(login_account, account);  
50 - sendKeys(login_password, password);  
51 - click(login_submit);  
52 - return new HomePage(driver);  
53 - }  
54 -}  
src/test/java/com/essa/pageObject/SupplierOperationsTrackPage.java deleted
@@ -1,79 +0,0 @@ @@ -1,79 +0,0 @@
1 -package com.essa.pageObject;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -public class SupplierOperationsTrackPage extends BasePage {  
10 - public SupplierOperationsTrackPage(WebDriver driver) {  
11 - super(driver);  
12 - }  
13 -  
14 - /*  
15 - * 元素定位  
16 - */  
17 -  
18 - // 查询输入框  
19 - @FindBy(xpath = "//*[contains(text(),'关键字查询')]/../div/div/input")  
20 - WebElement query;  
21 -  
22 - // 查询按钮  
23 - @FindBy(xpath = "//*[text()='查询']")  
24 - WebElement search;  
25 -  
26 - // 综合实力更新  
27 - @FindBy(xpath = "//*/button[contains(text(),'综合实力更新')]")  
28 - WebElement supplierStrength;  
29 -  
30 - // 第一条查询结果(用于确定是否查询完毕)  
31 - @FindBy(xpath = "//*[@id='content-table']/tbody/tr[1]")  
32 - WebElement firstResult;  
33 -  
34 - // 检查点:自主发布商品数  
35 - @FindBy(xpath = "//*[@id='content-table']/thead/tr/th[10]")  
36 - WebElement checkPoint;  
37 -  
38 - /*  
39 - * 页面方法  
40 - */  
41 -  
42 - // 输入要查询的文本  
43 - public void searchText(String text) throws InterruptedException {  
44 -  
45 - // 输入要查询的供应商或者编号等,点击查询按钮  
46 -  
47 - sendKeys(query, text);  
48 -  
49 - click(search);  
50 -  
51 - }  
52 -  
53 - // 检查是否进入平台运营跟进管理  
54 - public boolean isSucceed() {  
55 -  
56 - return isThisPage("自主发布商品数", checkPoint);  
57 -  
58 - }  
59 -  
60 - // 跳转到综合实力更新  
61 - public SupplierStrengthPage goToSupplierStrengthPage(String supplierName) throws InterruptedException {  
62 - /*  
63 - * 查询供应商,点击 综合实力更新,将driver传递至综合实力更新页面  
64 - */  
65 - searchText(supplierName);  
66 -  
67 - click(supplierStrength);  
68 -  
69 -  
70 - return new SupplierStrengthPage(driver);  
71 -  
72 - }  
73 -  
74 - // 列表是否有查询结果,没有则等待  
75 - public void waitResult() throws InterruptedException {  
76 - while(!(firstResult.isDisplayed()))  
77 - Thread.sleep(1000);  
78 - }  
79 -}  
src/test/java/com/essa/pageObject/SupplierStrengthPage.java deleted
@@ -1,307 +0,0 @@ @@ -1,307 +0,0 @@
1 -package com.essa.pageObject;  
2 -  
3 -import java.util.List;  
4 -  
5 -import org.openqa.selenium.By;  
6 -import org.openqa.selenium.WebDriver;  
7 -import org.openqa.selenium.WebElement;  
8 -import org.openqa.selenium.support.FindBy;  
9 -  
10 -import com.essa.framework.BasePage;  
11 -  
12 -public class SupplierStrengthPage extends BasePage{  
13 - public SupplierStrengthPage(WebDriver driver) {  
14 - super(driver);  
15 - }  
16 -  
17 -  
18 - /*  
19 - * 元素定位  
20 - */  
21 -  
22 - //配合度  
23 - @FindBy (xpath="//*[contains(text(),'配合度')]/../div[1]/div/select")  
24 - WebElement cooperateDegree;  
25 -  
26 - //主打产品定位  
27 - @FindBy (xpath="//*[@dict-check-list='supplier_main_product_location']/select")  
28 - WebElement mainProduct;  
29 -  
30 - //是否有研发能力:否  
31 - @FindBy (xpath = "//*[contains(text(),'是否有研发能力')]/../div/label[2]")  
32 - WebElement notDev;  
33 -  
34 - //是否研发能力:是  
35 - @FindBy (xpath = "//*[contains(text(),'是否有研发能力')]/../div/label[1]")  
36 - WebElement isDev;  
37 -  
38 - //每个季度有新品推出  
39 - @FindBy (xpath = ".//*[@class='col-md-20']/div/label[1]/input")  
40 - WebElement newGoodsEveryQuarter;  
41 -  
42 - //有配备工程师  
43 - @FindBy (xpath =".//*[@class='col-md-20']/div/label[2]/input")  
44 - WebElement existsEngineer;  
45 -  
46 - //有产品研发团队  
47 - @FindBy (xpath = ".//*[@class='col-md-20']/div/label[3]/input")  
48 - WebElement existsProductDev;  
49 -  
50 - //其他  
51 - @FindBy (xpath = ".//*[@class='col-md-20']/div/label[4]/input")  
52 - WebElement others;  
53 -  
54 - //其他文本输入框  
55 - @FindBy (xpath = ".//*[@ng-model='ctrl.model.otherDevelopmentAbilityValue']")  
56 - WebElement otherDevAbilValue;  
57 -  
58 - //是否有证书:是  
59 - @FindBy (xpath = ".//*[contains(text(),'是否有证书')]/../div/label[1]")  
60 - WebElement isCertificate;  
61 -  
62 - //是否有证书:否  
63 - @FindBy (xpath =".//*[contains(text(),'是否有证书')]/../div/label[2]")  
64 - WebElement notCertificate;  
65 -  
66 - //添加证书的“+”  
67 - @FindBy (xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[1]/div/button[1]")  
68 - WebElement addCertificate;  
69 -  
70 - /*  
71 - * 由于这个是动态表格,表格行数会变化,必须自己写方法来定位元素  
72 - * 证书类型选择项,value值:0~8 0:BSCI,1:SA8000,2:ICTT……  
73 - */  
74 - public WebElement itemType(int i) {  
75 - String xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[1]/table/tbody/tr["+i+"]/td[2]/div/select";  
76 - return driver.findElement(By.xpath(xpath));  
77 - }  
78 -  
79 - //证书编号文本框  
80 - public WebElement itemCode(int i) {  
81 - String xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[1]/table/tbody/tr["+i+"]/td[3]/input";  
82 - return driver.findElement(By.xpath(xpath));  
83 - }  
84 -  
85 - //证书说明文本框  
86 - public WebElement itemDec(int i) {  
87 - String xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[1]/table/tbody/tr["+i+"]/td[4]/input";  
88 - return driver.findElement(By.xpath(xpath));  
89 - }  
90 -  
91 - //证书图片,用于判断图片是否上传成功  
92 - public WebElement imge(int i) {  
93 - String xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[2]/div[2]/div/div["+i+"]/div[1]/img";  
94 - return driver.findElement(By.xpath(xpath));  
95 - }  
96 -  
97 - //添加证书文件  
98 - public WebElement itemFile(int i) {  
99 - String xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[2]/div[2]/div/div["+i+"]/div[4]";  
100 - return driver.findElement(By.xpath(xpath));  
101 - }  
102 -  
103 - //已添加证书下的证书集合  
104 - @FindBy (xpath = ".//*[@list='ctrl.model.supplierCertificationList']/div[1]/table/tbody/tr")  
105 - List<WebElement> checkBoxes;  
106 -  
107 - //是否服务过大客户:是  
108 - @FindBy (xpath = ".//*[contains(text(),'是否服务过大客户')]/../div[1]/label[1]")  
109 - WebElement isServLargeCus;  
110 -  
111 - //是否服务过大客户:否  
112 - @FindBy (xpath = ".//*[contains(text(),'是否服务过大客户')]/../div[1]/label[2]")  
113 - WebElement notServLargeCus;  
114 -  
115 - //服务过的大客户数  
116 - @FindBy (xpath = ".//*[@list='ctrl.model.serviceLargeCustomerList']/div/table/tbody/tr")  
117 - List<WebElement> customers;  
118 -  
119 - //大客户的“+”  
120 - @FindBy (xpath = ".//*[@list='ctrl.model.serviceLargeCustomerList']/div/div/button[1]")  
121 - WebElement addCustomer;  
122 -  
123 - //大客户名称文本框  
124 - public WebElement largeCusName(int i) {  
125 - String xpath = ".//*[@list='ctrl.model.serviceLargeCustomerList']/div/table/tbody/tr["+i+"]/td[2]/input";  
126 - return driver.findElement(By.xpath(xpath));  
127 - }  
128 -  
129 - //备注文本框  
130 - public WebElement note(int i) {  
131 - String xpath = ".//*[@list='ctrl.model.serviceLargeCustomerList']/div/table/tbody/tr["+i+"]/td[3]/input";  
132 - return driver.findElement(By.xpath(xpath));  
133 - }  
134 -  
135 - //确定按钮  
136 - @FindBy (xpath = "//*[text()='确定']")  
137 - WebElement submit;  
138 -  
139 - //标签页名称  
140 - @FindBy (xpath ="//*/a[contains(text(),'综合实力评估')]")  
141 - WebElement labelName;  
142 -  
143 - //提交完成后,操作成功的弹框关闭按钮  
144 - @FindBy (xpath="//*[@class='close']")  
145 - WebElement alertClosed;  
146 -  
147 - //关闭页面  
148 - @FindBy(xpath = "//*[text()='综合实力评估']/../span")  
149 - WebElement closed;  
150 -  
151 -  
152 - /*  
153 - * 方法  
154 - */  
155 -  
156 - //选择配合度  
157 - public void selectCooperateDegree(String cooperateGrade) {  
158 -  
159 - //选择配合度:高、中、低  
160 - selectElement(cooperateDegree, cooperateGrade);  
161 -  
162 - }  
163 -  
164 - //是否有研发能力,参数可选 是/否  
165 - public void isDevAblity(String ablity) {  
166 - if("是".equals(ablity))  
167 - click(isDev);  
168 - else {  
169 - click(notDev);  
170 - }  
171 - }  
172 -  
173 - //  
174 -  
175 - //提交编辑  
176 - public void submit() {  
177 - moveHeightScroll("0");  
178 - click(submit);  
179 -  
180 - }  
181 -  
182 - //勾选每季度有新品推出  
183 - public void newProduct() {  
184 - if(newGoodsEveryQuarter.isSelected());//判断是否已勾选  
185 - else {  
186 - isElementExist(newGoodsEveryQuarter);  
187 - click(newGoodsEveryQuarter);  
188 - }  
189 - }  
190 -  
191 - //勾选有配备工程师  
192 - public void haveEngineer() {  
193 - if(existsEngineer.isSelected());  
194 - else {  
195 - isElementExist(existsEngineer);  
196 - click(existsEngineer);  
197 - }  
198 - }  
199 -  
200 - //勾选有研发团队  
201 - public void haveTeam() {  
202 - if (existsProductDev.isSelected());  
203 - else {  
204 - isElementExist(existsProductDev);  
205 - click(existsProductDev);  
206 - }  
207 - }  
208 -  
209 - //勾选“其他”  
210 - public void other() {  
211 - if(others.isSelected());  
212 - else {  
213 - click(others);  
214 - isElementExist(otherDevAbilValue);  
215 - sendKeys(otherDevAbilValue, "我们每天都有新品推出!");  
216 - }  
217 - }  
218 -  
219 -  
220 - //拖动滚动条,因为本页面如果数据量多,就看不到头部的关闭本页面的X  
221 - public void moveScroll() {  
222 -  
223 - moveHeightScroll("100");  
224 -  
225 - }  
226 -  
227 - //检查是否列表加载完成  
228 - public boolean isSucceed() throws InterruptedException {  
229 - while(!(labelName.isDisplayed())) {  
230 - Thread.sleep(1000);  
231 - }  
232 - return isElementExist(labelName);  
233 -  
234 - }  
235 -  
236 - //判断是否提交成功  
237 - public boolean isSubmit() {  
238 -  
239 - return isElementExist(alertClosed);  
240 -  
241 - }  
242 -  
243 - //关闭“操作成功”提示  
244 - public void alertClosed() {  
245 - click(alertClosed);  
246 - }  
247 -  
248 - /*  
249 - * 添加证书逻辑:  
250 - * 1.点击是否有证书:是  
251 - * 2.点击“+”  
252 - * 3.统计已有x个证书  
253 - * 4.i=x  
254 - * 5.选择证书类型WRAP,证书编号,证书说明,传证书图片  
255 - * 6.判断证书是否上传成功,不成功则等待  
256 - */  
257 - public void addCertification() throws Exception {  
258 - click(isCertificate);  
259 - isElementExist(addCertificate);  
260 - click(addCertificate);  
261 -  
262 - java.util.List<WebElement> list= checkBoxes;  
263 - int x = list.size();  
264 -  
265 - selectElement(itemType(x), "WRAP");  
266 - sendKeys(itemCode(x), "20180331:"+x);  
267 - sendKeys(itemDec(x), "证书说明:这是第"+x+"个证书");  
268 - click(itemFile(x));  
269 - uploadFile("E:\\pic\\证书.jpg");  
270 -  
271 - //如果图片是系统默认的图片,则等待1秒  
272 - while("/img/nopic.jpg".equals(imge(x).getAttribute("ng-src"))) {  
273 - Thread.sleep(1000);  
274 - }  
275 - }  
276 -  
277 - /*  
278 - * 添加服务大客户记录  
279 - * 先把滚动条拉下来,不然找不到元素  
280 - * 1.是否服务过大客户,点击:是  
281 - * 2.点击“+”  
282 - * 3.判断已有服务过的次数x,i=x  
283 - * 4.写入大客户名称,备注  
284 - */  
285 - public void addSerLargeCus() {  
286 - moveHeightScroll("0");  
287 - click(isServLargeCus);  
288 - isElementExist(addCustomer);  
289 - click(addCustomer);  
290 - List<WebElement> list = customers;  
291 - int x = list.size();  
292 - sendKeys(largeCusName(x), "第"+x+"大客户");  
293 - sendKeys(note(x), "这个是备注信息"+x);  
294 - }  
295 -  
296 - //选择主打产品  
297 - public void selMainProduct(String degree) {  
298 - selectElement(mainProduct, degree);  
299 - }  
300 -  
301 - //关闭本页面  
302 - public void closed() {  
303 -  
304 - click(closed);  
305 -  
306 - }  
307 -}  
src/test/java/com/essa/pageObject/buyPlaneManage/SkuCategoryManagerCongfigPage.java deleted
@@ -1,84 +0,0 @@ @@ -1,84 +0,0 @@
1 -package com.essa.pageObject.buyPlaneManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -import com.essa.framework.Model;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *商品类目经理管理配置页  
13 - */  
14 -public class SkuCategoryManagerCongfigPage extends BasePage {  
15 - public SkuCategoryManagerCongfigPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 - /*  
19 - * 页面元素定位  
20 - */  
21 -  
22 - //查询输入框  
23 - @FindBy (xpath="//*[@placeholder='请输入关键信息查询']")  
24 - WebElement searchContent;  
25 -  
26 - //高级查询  
27 - @FindBy (xpath="//*[contains(text(),'高级查询')]")  
28 - WebElement advancedQuery;  
29 -  
30 - //sku编号  
31 - @FindBy (xpath="//*[contains(text(),'SKU编号')]/../div/input")  
32 - WebElement skuNoQuery;  
33 -  
34 - //高级查询按钮  
35 - @FindBy (xpath="//*[text()='查询']")  
36 - WebElement query;  
37 -  
38 - //查询按钮  
39 - @FindBy (xpath="//*[@ng-click='search()']")  
40 - WebElement search;  
41 -  
42 - //右下角分页的GO按钮,用作检查点,等待页面加载完成  
43 - @FindBy (xpath="//*[text()='GO']")  
44 - WebElement checkPoint;  
45 -  
46 - //列表第一条数据的复选框  
47 - @FindBy (xpath="//*[@ng-table='tableParams']/tbody/tr[1]/td[1]/input")  
48 - WebElement firstCheckBox;  
49 -  
50 - //分配类目经理  
51 - @FindBy (xpath="//*[text()='分配类目经理']")  
52 - WebElement distribute;  
53 -  
54 - //选择类目经理  
55 - @FindBy (xpath="//*[@ng-model='mgrOpt']")  
56 - WebElement selectManager;  
57 -  
58 - //确认类目经理  
59 - @FindBy(xpath="//*[text()='确认']")  
60 - WebElement confirm;  
61 -  
62 - /*  
63 - * 页面方法  
64 - */  
65 -  
66 - /**  
67 - * 商品分配类目经理  
68 - * @return SkuCategoryManagerCongfigPage  
69 - */  
70 - public SkuCategoryManagerCongfigPage distributeManager() {  
71 - forceWait(1000);  
72 - mywait(advancedQuery);  
73 - click(advancedQuery);  
74 - sendKeys(skuNoQuery, Model.getSkuNo());  
75 - click(query);  
76 - mywait(firstCheckBox);  
77 - click(firstCheckBox);  
78 - click(distribute);  
79 - mywait(confirm);  
80 - selectElement(selectManager, "林荣");  
81 - click(confirm);  
82 - return new SkuCategoryManagerCongfigPage(driver);  
83 - }  
84 -}  
src/test/java/com/essa/pageObject/buyerManage/InvateCodePage.java deleted
@@ -1,69 +0,0 @@ @@ -1,69 +0,0 @@
1 -package com.essa.pageObject.buyerManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -import com.essa.framework.Model;  
9 -  
10 -/**  
11 - * @author Administrator  
12 - *邀请码生成页面  
13 - */  
14 -public class InvateCodePage extends BasePage {  
15 - public InvateCodePage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 - /*  
19 - * 元素定位  
20 - */  
21 -  
22 - //第一个业务员复选框  
23 - @FindBy(xpath ="//*[text()='选择人员']/../div/dl/dd[1]/b/input")  
24 - WebElement firstCheckbox;  
25 -  
26 - //推广方式  
27 - @FindBy (xpath="//select[contains(@ng-change,'changeChannelList')]")  
28 - WebElement spreadForm;  
29 -  
30 - //推广渠道  
31 - @FindBy (xpath="//select[@ng-model='parame.create.promoteChannelId']")  
32 - WebElement spreadChannel;  
33 -  
34 - //生成  
35 - @FindBy (xpath="//button[contains(text(),'生成')]")  
36 - WebElement create;  
37 -  
38 - //确认  
39 - @FindBy (xpath ="//*[text()='确认']")  
40 - WebElement confirm;  
41 -  
42 - //关闭  
43 - @FindBy (xpath ="//*[text()='关闭']")  
44 - WebElement close;  
45 -  
46 - //生成的邀请码  
47 - @FindBy (xpath="//tbody[@class='ng-scope']/tr[1]/td[5]")  
48 - WebElement invateCode;  
49 -  
50 - /*  
51 - * 页面方法  
52 - */  
53 - /**  
54 - * 生成邀请码  
55 - */  
56 - public void generateCode() {  
57 - mywait(firstCheckbox);  
58 - click(firstCheckbox);  
59 - selectElement(spreadForm, "搜索引擎");  
60 - selectElement(spreadChannel, "Google");  
61 - click(create);  
62 - forceWait(500);  
63 - click(confirm);  
64 - forceWait(500);  
65 - click(close);  
66 - String code = invateCode.getText();  
67 - Model.setInvateCode(code);  
68 - }  
69 -}  
src/test/java/com/essa/pageObject/inquiryManage/ProductInquiryFeedbackPage.java deleted
@@ -1,113 +0,0 @@ @@ -1,113 +0,0 @@
1 -package com.essa.pageObject.inquiryManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator 成品询价反馈页  
13 - */  
14 -public class ProductInquiryFeedbackPage extends BasePage {  
15 - public ProductInquiryFeedbackPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 -  
19 - /*  
20 - * 元素定位  
21 - */  
22 - // 查询类型  
23 - @FindBy(xpath = "//*[@ng-change='changeSearchType()']")  
24 - WebElement searchType;  
25 -  
26 - // 查询条件输入框  
27 - @FindBy(xpath = "//*[@placeholder='请输入查询条件']")  
28 - WebElement searchText;  
29 -  
30 - // 查询按钮  
31 - @FindBy(xpath = "//button[@ng-click='getFeedbackDetailBySearchInfo()']")  
32 - WebElement search;  
33 -  
34 - // 单箱金额  
35 - @FindBy(xpath = "//*[contains(text(),'单箱金额')]")  
36 - WebElement singlePrice;  
37 -  
38 - // 待反馈任务  
39 - @FindBy(xpath = "//*[contains(text(),'待反馈任务')]")  
40 - WebElement waitFeedback;  
41 -  
42 - // 提交审核  
43 - @FindBy(xpath = "//*[@ng-click='submitFeedback(1)']")  
44 - WebElement submit;  
45 -  
46 - /*  
47 - * 页面方法  
48 - */  
49 - /**  
50 - * 提交询价任务  
51 - *  
52 - * @return ProductInquiryTask  
53 - */  
54 - public ProductInquiryTaskPage submit() {  
55 - // 根据单箱价格是否为空来判断页面是否加载成功  
56 - for (int count = 0;"单箱金额:".equals(getText(singlePrice))&& count < 7;count++) {  
57 - forceWait(1000);  
58 - }  
59 - selectElement(searchType, "商品编号");  
60 - sendKeys(searchText, Model.getSkuNo());  
61 - // 根据sku编号来判断是否加载出想要的sku信息  
62 - click(search);  
63 -// boolean b = isVisibility(By.xpath("//*[contains(text(),'" + Model.getSkuNo() + "')]"));  
64 -// while (!b) {  
65 -// forceWait(1000);  
66 -// }  
67 - dynamicWait(By.xpath("//*[contains(text(),'" + Model.getSkuNo() + "')]"));  
68 - click(waitFeedback);  
69 - // 判断是否加载待反馈视图  
70 -// boolean b1 = isVisibility(By.xpath("//*[contains(text(),'询价要求完成时间')]"));  
71 -// while (!b1) {  
72 -// forceWait(1000);  
73 -// }  
74 - dynamicWait(By.xpath("//*[contains(text(),'询价要求完成时间')]"));  
75 - moveHeightScroll("100");  
76 - click(submit);  
77 - return new ProductInquiryTaskPage(driver);  
78 - }  
79 -  
80 - /**  
81 - * 根据PO单,询价  
82 - * @return  
83 - */  
84 - public ProductInquiryTaskPage POsubmit() {  
85 - // 根据单箱价格是否为空来判断页面是否加载成功  
86 - for (int count=0;"单箱金额:".equals(getText(singlePrice))&&count<7;count++) {  
87 - forceWait(1000);  
88 - }  
89 - selectElement(searchType, "来源PO单/成品采购单号");  
90 - sendKeys(searchText, Model.getPoNum());  
91 - click(search);  
92 -// while (!(isVisibility(By.xpath("//*[@id='mask' and @style='display: none;']")))) {  
93 -// forceWait(1000);  
94 -// }  
95 - dynamicLoad(By.xpath("//*[@id='mask' and @style='display: none;']"));  
96 - forceWait(1000);  
97 - click(waitFeedback);  
98 - dynamicWait(By.xpath("//*[contains(text(),'询价要求完成时间')]"));  
99 - moveHeightScroll("100");  
100 - toSubmit();  
101 - return new ProductInquiryTaskPage(driver);  
102 - }  
103 -  
104 - /**  
105 - * 如果【提交审核】在页面中存在,则一直点击,最多等7秒  
106 - */  
107 - private void toSubmit() {  
108 - for (int count =0;isVisibility(By.xpath("//*[@ng-click='submitFeedback(1)']"))&&count<7;count++) {  
109 - click(submit);  
110 - forceWait(1000);  
111 - }  
112 - }  
113 -}  
src/test/java/com/essa/pageObject/inquiryManage/ProductInquiryTaskPage.java deleted
@@ -1,121 +0,0 @@ @@ -1,121 +0,0 @@
1 -package com.essa.pageObject.inquiryManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator 成品询价任务列表  
13 - */  
14 -public class ProductInquiryTaskPage extends BasePage {  
15 - public ProductInquiryTaskPage(WebDriver driver) {  
16 - super(driver);  
17 - }  
18 -  
19 - /*  
20 - * 元素定位  
21 - */  
22 - // 高级查询  
23 - @FindBy(xpath = "//*[contains(text(),'高级查询')]")  
24 - WebElement advancedQuery;  
25 -  
26 - // 商品编码查询  
27 - @FindBy(xpath = "//*[text()='商品编码']/../div/input")  
28 - WebElement skuNoQuery;  
29 -  
30 - // 根据PO查询  
31 - @FindBy(xpath = "//*[text()='来源单号']/../div[1]/input")  
32 - WebElement POQuery;  
33 -  
34 - // 高级查询-查询按钮  
35 - @FindBy(xpath = "//*[@name='advSearch']/div[12]/button[1]")  
36 - WebElement search;  
37 -  
38 - // 列表第一行数据  
39 - @FindBy(xpath = "//*[@ng-table='tableParams1']/tbody/tr[1]")  
40 - WebElement firstRow;  
41 -  
42 - // 询价反馈  
43 - @FindBy(xpath = "//*[contains(text(),'询价反馈')]")  
44 - WebElement feedBack;  
45 -  
46 - // 暂无数据--用于检查是否已经成功  
47 - @FindBy(xpath = "//*[text()='暂无数据']")  
48 - WebElement isSucceed;  
49 -  
50 - /*  
51 - * 页面方法  
52 - */  
53 - /**  
54 - * 查出要成品询价的商品,进入成品询价反馈页面  
55 - *  
56 - * @return ProductInquiryFeedback  
57 - */  
58 - public ProductInquiryFeedbackPage toFeedback() {  
59 -// mywait(firstRow);  
60 - click(advancedQuery);  
61 - sendKeys(skuNoQuery, Model.getSkuNo());  
62 - click(search);  
63 - mywait(firstRow);  
64 - click(firstRow);  
65 - click(feedBack);  
66 - return new ProductInquiryFeedbackPage(driver);  
67 - }  
68 -  
69 - /**  
70 - * 判断页面是否查询不到该商品  
71 - *  
72 - * @return boolean  
73 - */  
74 - public boolean isSucceed() {  
75 - click(advancedQuery);  
76 - sendKeys(skuNoQuery, Model.getSkuNo());  
77 - click(search);  
78 - forceWait(1000);  
79 - return isVisibility(By.xpath("//*[text()='暂无数据']"));  
80 - }  
81 -  
82 - /**  
83 - * 判断根据po单查询,是否全部询价完成  
84 - *  
85 - * @return boolean  
86 - */  
87 - public boolean isPOSucceed() {  
88 - forceWait(1000);  
89 - return isVisibility(By.xpath("//*[@ng-table='tableParams1']/tbody/tr[1]"));  
90 - }  
91 -  
92 - /**  
93 - * 根据PO单号查询询价  
94 - *  
95 - * @return 询价反馈页面  
96 - */  
97 - public ProductInquiryFeedbackPage POtoFeedback() {  
98 - dynamicWait(By.xpath("//*[@ng-table='tableParams1']/tbody/tr[1]"));  
99 - click(advancedQuery);  
100 - sendKeys(POQuery, Model.getPoNum());  
101 - click(search);  
102 - dynamicWait(By.xpath("//*[@id='mask' and @style='display: none;']"));  
103 -// dynamicWait(By.xpath("//*[@ng-table='tableParams1']/tbody/tr[1]"));  
104 -// mywait(firstRow);  
105 -// forceWait(2000);  
106 - click(firstRow);  
107 - click(feedBack);  
108 - return new ProductInquiryFeedbackPage(driver);  
109 - }  
110 -  
111 - /**  
112 - * 如果列表中还存在待询价的单,循环方法,继续询价  
113 - *  
114 - * @return  
115 - */  
116 - public ProductInquiryFeedbackPage POcircle() {  
117 - click(firstRow);  
118 - click(feedBack);  
119 - return new ProductInquiryFeedbackPage(driver);  
120 - }  
121 -}  
src/test/java/com/essa/pageObject/marketingManage/CollectBillControlPage.java deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -package com.essa.pageObject.marketingManage;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -  
5 -import com.essa.framework.BasePage;  
6 -  
7 -/**  
8 - * @author Administrator  
9 - *集单控制  
10 - */  
11 -public class CollectBillControlPage extends BasePage {  
12 - public CollectBillControlPage(WebDriver driver) {  
13 - super(driver);  
14 - }  
15 -}  
src/test/java/com/essa/pageObject/marketingManage/CollectBillSettingPage.java deleted
@@ -1,223 +0,0 @@ @@ -1,223 +0,0 @@
1 -package com.essa.pageObject.marketingManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator  
13 - *集单设置  
14 - */  
15 -public class CollectBillSettingPage extends BasePage {  
16 - public CollectBillSettingPage(WebDriver driver) {  
17 - super(driver);  
18 - }  
19 - /*  
20 - * 元素定位  
21 - */  
22 -  
23 - //添加商品-查询输入框  
24 - @FindBy (xpath = "//*[@name='keyword']")  
25 - WebElement searchContent;  
26 -  
27 - //团购设置中的关键字输入框  
28 - @FindBy (xpath="//*[@ng-model='searchKeyword']")  
29 - WebElement content;  
30 -  
31 - //查询按钮  
32 - @FindBy (xpath = "//button[@ng-click='gotoSearch()']")  
33 - WebElement search;  
34 -  
35 - //添加商品  
36 - @FindBy (xpath = "//*[text()='添加商品']")  
37 - WebElement addSku;  
38 -  
39 - //loading,判断是否加载完成  
40 - @FindBy (xpath="//*[@class='loading ng-scope']")  
41 - WebElement loading;  
42 -  
43 - //查询列表中的第一个复选框  
44 - @FindBy (xpath = "//*[@class='table marketing-collectbill-products']/tbody/tr[1]/td[1]/input")  
45 - WebElement firstCheckBox;  
46 -  
47 - //MOQ设置  
48 - @FindBy (xpath = "//*[text()='MOQ设置']")  
49 - WebElement MOQSet;  
50 -  
51 - //阶梯价  
52 - @FindBy (xpath = "//*[text()='阶梯价']")  
53 - WebElement setPrice;  
54 -  
55 - //配置主推市场  
56 - @FindBy (xpath = "//*[text()='配置主推市场']")  
57 - WebElement mainMarket;  
58 -  
59 - //发布商品  
60 - @FindBy (xpath = "//*[text()='发布商品']")  
61 - WebElement publishSku;  
62 -  
63 - //添加商品-查询按钮  
64 - @FindBy (xpath = "//*[@ng-click='search(false)']")  
65 - WebElement addSkuSearch;  
66 -  
67 - //添加商品-展开商品信息  
68 - @FindBy (xpath = "//*[contains(@class,'fa fa-angle-double-dow')]")  
69 - WebElement showSku;  
70 -  
71 - //添加商品-搜索结果复选框  
72 - @FindBy (xpath = "//*[@ng-repeat='list in item.skus']/tbody/tr[1]/td[1]/input")  
73 - WebElement skuCheckbox;  
74 -  
75 - //确定按钮  
76 - @FindBy (xpath = "//*[contains(text(),'确定')]")  
77 - WebElement confirm;  
78 -  
79 - //活动成功MOQ  
80 - @FindBy (xpath = "//*[@ng-model='activitySuccessMoq']")  
81 - WebElement successMoq;  
82 -  
83 - //活动销售MOQ  
84 - @FindBy (xpath = "//*[@ng-model='activitySaleMoq']")  
85 - WebElement saleMoq;  
86 -  
87 - //成本价格  
88 - @FindBy (xpath = "//*[contains(text(),'成本')]")  
89 - WebElement firstCost;  
90 -  
91 - //最低价  
92 - @FindBy (xpath = "//*[@ng-model='minPrice']")  
93 - WebElement minPrice;  
94 -  
95 - //最高价  
96 - @FindBy (xpath = "//*[@ng-model='maxPrice']")  
97 - WebElement maxPrice;  
98 -  
99 - //阶梯数  
100 - @FindBy (xpath = "//*[@ng-model='ladderCount']")  
101 - WebElement ladderCount;  
102 -  
103 - //生成阶梯  
104 - @FindBy (xpath = "//*[text()='生成阶梯']")  
105 - WebElement creatLadder;  
106 -  
107 - //可选区域-东欧  
108 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[1]/input")  
109 - WebElement easternEurope;  
110 -  
111 - //可选区域-南美  
112 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[2]/input")  
113 - WebElement southAmerican;  
114 -  
115 - //可选区域-欧美  
116 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[3]/input")  
117 - WebElement europeAndAmerica;  
118 -  
119 - //可选区域-东南亚  
120 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[4]/input")  
121 - WebElement southeastAsia;  
122 -  
123 - //可选区域-中东  
124 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[5]/input")  
125 - WebElement middleEast;  
126 -  
127 - /*  
128 - * 页面方法  
129 - */  
130 - /**  
131 - * 添加商品  
132 - */  
133 - public void addSku() {  
134 - mywait(addSku);  
135 - click(addSku);  
136 - /*while (isVisibility(By.xpath("//*[@class='loading ng-scope']"))) {  
137 - forceWait(1000);  
138 - };*/  
139 - dynamicLoad(By.xpath("//*[@class='loading ng-scope']"));  
140 - sendKeys(searchContent, Model.getSkuNo());  
141 - click(addSkuSearch);  
142 - forceWait(1000);  
143 - click(showSku);  
144 - click(skuCheckbox);  
145 - click(confirm);  
146 - }  
147 -  
148 - /**  
149 - * 设置MOQ  
150 - */  
151 - public void setMoq() {  
152 - forceWait(1000);  
153 - mywait(firstCheckBox);  
154 - sendKeys(content, Model.getSkuNo());  
155 - click(search);  
156 - mywait(firstCheckBox);  
157 - click(firstCheckBox);  
158 - click(MOQSet);  
159 -//===================================================================此处要修改  
160 - sendKeys(successMoq, "150");  
161 - sendKeys(saleMoq, "15");  
162 - click(confirm);  
163 - }  
164 - /**  
165 - * 设置阶梯价  
166 - */  
167 - public void setPrice() {  
168 - forceWait(1000);  
169 - click(setPrice);  
170 - mywait(creatLadder);  
171 - int firstCost = getFirstCost();  
172 - sendKeys(minPrice, firstCost+30+"");  
173 - sendKeys(maxPrice, firstCost+100+"");  
174 - sendKeys(ladderCount, "2");  
175 - click(creatLadder);  
176 - forceWait(1000);  
177 - click(confirm);  
178 - }  
179 - /**  
180 - * 设置主推市场  
181 - */  
182 - public void setMarket() {  
183 - forceWait(1000);  
184 - click(mainMarket);  
185 - mywait(easternEurope);  
186 - click(easternEurope);  
187 - click(southAmerican);  
188 - click(easternEurope);  
189 - click(southeastAsia);  
190 - click(middleEast);  
191 - forceWait(500);  
192 - click(confirm);  
193 - forceWait(1000);  
194 - click(confirm);  
195 - }  
196 -  
197 - /**  
198 - * 组装以上操作  
199 - * 添加商品并发布团购  
200 - * @return GroupSettingPage  
201 - */  
202 - public GroupSettingPage publishGroup() {  
203 - addSku();  
204 - setMoq();  
205 - setPrice();  
206 - setMarket();  
207 - forceWait(1000);  
208 - click(publishSku);  
209 - forceWait(1000);  
210 - click(confirm);  
211 - return new GroupSettingPage(driver);  
212 - }  
213 -  
214 - /**  
215 - * 获取到商品的成本价  
216 - * @return price  
217 - */  
218 - private int getFirstCost() {  
219 - String p = partialStr(firstCost.getText(), "成本:¥");  
220 - int price = Integer.parseInt(p);  
221 - return price;  
222 - }  
223 -}  
src/test/java/com/essa/pageObject/marketingManage/GroupControlPage.java deleted
@@ -1,45 +0,0 @@ @@ -1,45 +0,0 @@
1 -package com.essa.pageObject.marketingManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator  
13 - *团购控制  
14 - */  
15 -public class GroupControlPage extends BasePage {  
16 - public GroupControlPage(WebDriver driver) {  
17 - super(driver);  
18 - }  
19 - /*  
20 - * 页面元素定位  
21 - */  
22 -  
23 - //关键字查询输入  
24 - @FindBy (xpath = "//*[@ng-model='searchKeyword']")  
25 - WebElement searchKeyword;  
26 -  
27 - //查询按钮  
28 - @FindBy (xpath = "//*[@ng-click='gotoSearch()']")  
29 - WebElement search;  
30 -  
31 - /*  
32 - * 页面方法  
33 - */  
34 - /**  
35 - * 判断团购的商品是否发布成功  
36 - * @return boolean  
37 - */  
38 - public boolean isSuccess() {  
39 - mywait(searchKeyword);  
40 - sendKeys(searchKeyword, Model.getSkuNo());  
41 - click(search);  
42 - forceWait(1500);  
43 - return isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]"));  
44 - }  
45 -}  
src/test/java/com/essa/pageObject/marketingManage/GroupSettingPage.java deleted
@@ -1,222 +0,0 @@ @@ -1,222 +0,0 @@
1 -package com.essa.pageObject.marketingManage;  
2 -  
3 -import org.openqa.selenium.By;  
4 -import org.openqa.selenium.WebDriver;  
5 -import org.openqa.selenium.WebElement;  
6 -import org.openqa.selenium.support.FindBy;  
7 -  
8 -import com.essa.framework.BasePage;  
9 -import com.essa.framework.Model;  
10 -  
11 -/**  
12 - * @author Administrator  
13 - *团购设置  
14 - */  
15 -public class GroupSettingPage extends BasePage {  
16 - public GroupSettingPage(WebDriver driver) {  
17 - super(driver);  
18 - }  
19 - /*  
20 - * 元素定位  
21 - */  
22 -  
23 - //添加商品-查询输入框  
24 - @FindBy (xpath = "//*[@name='keyword']")  
25 - WebElement searchContent;  
26 -  
27 - //团购设置中的关键字输入框  
28 - @FindBy (xpath="//*[@ng-model='searchKeyword']")  
29 - WebElement content;  
30 -  
31 - //查询按钮  
32 - @FindBy (xpath = "//button[@ng-click='gotoSearch()']")  
33 - WebElement search;  
34 -  
35 - //添加商品  
36 - @FindBy (xpath = "//*[text()='添加商品']")  
37 - WebElement addSku;  
38 -  
39 - //loading,判断是否加载完成  
40 - @FindBy (xpath="//*[@class='loading ng-scope']")  
41 - WebElement loading;  
42 -  
43 - //查询列表中的第一个复选框  
44 - @FindBy (xpath = "//*[@class='table marketing-collectbill-products']/tbody/tr[1]/td[1]/input")  
45 - WebElement firstCheckBox;  
46 -  
47 - //MOQ设置  
48 - @FindBy (xpath = "//*[text()='MOQ设置']")  
49 - WebElement MOQSet;  
50 -  
51 - //阶梯价  
52 - @FindBy (xpath = "//*[text()='阶梯价']")  
53 - WebElement setPrice;  
54 -  
55 - //配置主推市场  
56 - @FindBy (xpath = "//*[text()='配置主推市场']")  
57 - WebElement mainMarket;  
58 -  
59 - //发布商品  
60 - @FindBy (xpath = "//*[text()='发布商品']")  
61 - WebElement publishSku;  
62 -  
63 - //添加商品-查询按钮  
64 - @FindBy (xpath = "//*[@ng-click='search(false)']")  
65 - WebElement addSkuSearch;  
66 -  
67 - //添加商品-展开商品信息  
68 - @FindBy (xpath = "//*[contains(@class,'fa fa-angle-double-dow')]")  
69 - WebElement showSku;  
70 -  
71 - //添加商品-搜索结果复选框  
72 - @FindBy (xpath = "//*[@ng-repeat='list in item.skus']/tbody/tr[1]/td[1]/input")  
73 - WebElement skuCheckbox;  
74 -  
75 - //确定按钮  
76 - @FindBy (xpath = "//*[contains(text(),'确定')]")  
77 - WebElement confirm;  
78 -  
79 - //活动成功MOQ  
80 - @FindBy (xpath = "//*[@ng-model='activitySuccessMoq']")  
81 - WebElement successQoq;  
82 -  
83 - //活动销售MOQ  
84 - @FindBy (xpath = "//*[@ng-model='activitySaleMoq']")  
85 - WebElement saleQoq;  
86 -  
87 - //成本价格  
88 - @FindBy (xpath = "//*[contains(text(),'成本')]")  
89 - WebElement firstCost;  
90 -  
91 - //最低价  
92 - @FindBy (xpath = "//*[@ng-model='minPrice']")  
93 - WebElement minPrice;  
94 -  
95 - //最高价  
96 - @FindBy (xpath = "//*[@ng-model='maxPrice']")  
97 - WebElement maxPrice;  
98 -  
99 - //阶梯数  
100 - @FindBy (xpath = "//*[@ng-model='ladderCount']")  
101 - WebElement ladderCount;  
102 -  
103 - //生成阶梯  
104 - @FindBy (xpath = "//*[text()='生成阶梯']")  
105 - WebElement creatLadder;  
106 -  
107 - //可选区域-东欧  
108 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[1]/input")  
109 - WebElement easternEurope;  
110 -  
111 - //可选区域-南美  
112 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[2]/input")  
113 - WebElement southAmerican;  
114 -  
115 - //可选区域-欧美  
116 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[3]/input")  
117 - WebElement europeAndAmerica;  
118 -  
119 - //可选区域-东南亚  
120 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[4]/input")  
121 - WebElement southeastAsia;  
122 -  
123 - //可选区域-中东  
124 - @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[5]/input")  
125 - WebElement middleEast;  
126 -  
127 - /*  
128 - * 页面方法  
129 - */  
130 - /**  
131 - * 添加商品  
132 - */  
133 - public void addSku() {  
134 - mywait(addSku);  
135 - click(addSku);  
136 - /*while (isVisibility(By.xpath("//*[@class='loading ng-scope']"))) {  
137 - forceWait(1000);  
138 - };*/  
139 - dynamicLoad(By.xpath("//*[@class='loading ng-scope']"));  
140 - sendKeys(searchContent, Model.getSkuNo());  
141 - click(addSkuSearch);  
142 - forceWait(1000);  
143 - click(showSku);  
144 - click(skuCheckbox);  
145 - click(confirm);  
146 - }  
147 -  
148 - /**  
149 - * 设置MOQ  
150 - */  
151 - public void setMoq() {  
152 - forceWait(1000);  
153 - mywait(firstCheckBox);  
154 - sendKeys(content, Model.getSkuNo());  
155 - click(search);  
156 - mywait(firstCheckBox);  
157 - click(firstCheckBox);  
158 - click(MOQSet);  
159 - sendKeys(successQoq, "150");  
160 - sendKeys(saleQoq, "15");  
161 - click(confirm);  
162 - }  
163 - /**  
164 - * 设置阶梯价  
165 - */  
166 - public void setPrice() {  
167 - forceWait(1000);  
168 - click(setPrice);  
169 - mywait(creatLadder);  
170 - int firstCost = getFirstCost();  
171 - sendKeys(minPrice, firstCost+30+"");  
172 - sendKeys(maxPrice, firstCost+100+"");  
173 - sendKeys(ladderCount, "2");  
174 - click(creatLadder);  
175 - forceWait(1000);  
176 - click(confirm);  
177 - }  
178 - /**  
179 - * 设置主推市场  
180 - */  
181 - public void setMarket() {  
182 - forceWait(1000);  
183 - click(mainMarket);  
184 - mywait(easternEurope);  
185 - click(easternEurope);  
186 - click(southAmerican);  
187 - click(easternEurope);  
188 - click(southeastAsia);  
189 - click(middleEast);  
190 - forceWait(500);  
191 - click(confirm);  
192 - forceWait(1000);  
193 - click(confirm);  
194 - }  
195 -  
196 - /**  
197 - * 组装以上操作  
198 - * 添加商品并发布团购  
199 - * @return GroupSettingPage  
200 - */  
201 - public GroupSettingPage publishGroup() {  
202 - addSku();  
203 - setMoq();  
204 - setPrice();  
205 - setMarket();  
206 - forceWait(1000);  
207 - click(publishSku);  
208 - forceWait(1000);  
209 - click(confirm);  
210 - return new GroupSettingPage(driver);  
211 - }  
212 -  
213 - /**  
214 - * 获取到商品的成本价  
215 - * @return price  
216 - */  
217 - private int getFirstCost() {  
218 - String p = partialStr(firstCost.getText(), "成本:¥");  
219 - int price = Integer.parseInt(p);  
220 - return price;  
221 - }  
222 -}  
src/test/java/com/essa/pageObject/productDev/AddProjectPage.java deleted
@@ -1,75 +0,0 @@ @@ -1,75 +0,0 @@
1 -package com.essa.pageObject.productDev;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.WebElement;  
5 -import org.openqa.selenium.support.FindBy;  
6 -  
7 -import com.essa.framework.BasePage;  
8 -  
9 -/**  
10 - * @author Administrator  
11 - *新增项目立项书  
12 - */  
13 -public class AddProjectPage extends BasePage {  
14 - public AddProjectPage(WebDriver driver) {  
15 - super(driver);  
16 - }  
17 - /*  
18 - * 元素定位  
19 - */  
20 - //改版类型  
21 - @FindBy (xpath ="//*[@dic-list='改版类型']")  
22 - WebElement revisonType;  
23 -  
24 - //项目名称  
25 - @FindBy (xpath ="//*[@ng-model='model.name']")  
26 - WebElement projectName;  
27 -  
28 - //项目负责人  
29 - @FindBy (xpath ="//*[@ng-model='model.leaderId']/input")  
30 - WebElement projectLeader;  
31 -  
32 - //项目负责人-林荣  
33 - @FindBy (xpath ="//*[@id='role-user-select-box']/ul/li[3]/span")  
34 - WebElement linrong;  
35 -  
36 - //开发程度  
37 - @FindBy (xpath ="//*[@dic-list='开发程度']")  
38 - WebElement devLevel;  
39 -  
40 - //开发系列  
41 - @FindBy (xpath ="//*[@ng-model='model.serialId']")  
42 - WebElement devSerial;  
43 -  
44 - //团队成员-新增  
45 - @FindBy (xpath ="//button[text()='新增']")  
46 - WebElement addMember;  
47 -  
48 - //任务处理人 -第一个  
49 - @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[1]/td[2]/div/input")  
50 - WebElement Transactor1;  
51 -  
52 - //处理人-linrong  
53 - @FindBy (xpath ="//*[@id='role-user-select-box']/ul/li[3]/span")  
54 - WebElement linrong1;  
55 -  
56 - //任务处理人 -第二个  
57 - @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[2]/td[2]/div/input")  
58 - WebElement Transactor2;  
59 -  
60 - //成员角色 -第一个  
61 - @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[1]/td[3]/select")  
62 - WebElement role1;  
63 -  
64 - //成员角色 -第二个  
65 - @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[2]/td[3]/select")  
66 - WebElement role2;  
67 -  
68 - //选择改版商品信息  
69 - @FindBy (xpath ="//*[text()='选择']")  
70 - WebElement selectGoods;  
71 -  
72 - //保存  
73 - @FindBy (xpath ="//*[contains(text(),'保存')]")  
74 - WebElement save;  
75 -}  
src/test/java/com/essa/testSuite/SendEmail.java deleted
@@ -1,113 +0,0 @@ @@ -1,113 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import java.util.Properties;  
4 -  
5 -import javax.activation.DataHandler;  
6 -import javax.activation.DataSource;  
7 -import javax.activation.FileDataSource;  
8 -import javax.mail.BodyPart;  
9 -import javax.mail.Message;  
10 -import javax.mail.MessagingException;  
11 -import javax.mail.Multipart;  
12 -import javax.mail.PasswordAuthentication;  
13 -import javax.mail.Session;  
14 -import javax.mail.Transport;  
15 -import javax.mail.internet.InternetAddress;  
16 -import javax.mail.internet.MimeBodyPart;  
17 -import javax.mail.internet.MimeMessage;  
18 -import javax.mail.internet.MimeMultipart;  
19 -  
20 -public class SendEmail {  
21 -  
22 - public static void main(String[] args) {  
23 -  
24 - // 创建一个Property文件对象  
25 - Properties props = new Properties();  
26 -  
27 - // 设置邮件服务器的信息,这里设置smtp主机名称  
28 - props.put("mail.smtp.host", "smtp.qq.com");  
29 -  
30 - // 设置socket factory 的端口  
31 - props.put("mail.smtp.socketFactory.port", "465");  
32 -  
33 - // 设置socket factory  
34 - props.put("mail.smtp.socketFactory.class","javax.net.ssl.SSLSocketFactory");  
35 -  
36 - // 设置需要身份验证  
37 - props.put("mail.smtp.auth", "true");  
38 -  
39 - // 设置SMTP的端口,QQ的smtp端口是25  
40 - props.put("mail.smtp.port", "25");  
41 -  
42 - // 身份验证实现  
43 - Session session = Session.getDefaultInstance(props, new javax.mail.Authenticator() {  
44 -  
45 - protected PasswordAuthentication getPasswordAuthentication() {  
46 - // 第二个参数,就是我QQ开启smtp的授权码  
47 - return new PasswordAuthentication("278953238@qq.com", "pfpzqcamljytbjec");  
48 -  
49 - }  
50 -  
51 - });  
52 -  
53 - try {  
54 -  
55 - // 创建一个MimeMessage类的实例对象  
56 - Message message = new MimeMessage(session);  
57 -  
58 - // 设置发件人邮箱地址  
59 - message.setFrom(new InternetAddress("278953238@qq.com"));  
60 -  
61 - // 设置收件人邮箱地址  
62 - message.setRecipients(Message.RecipientType.TO,InternetAddress.parse("3289714863@qq.com"));  
63 -  
64 - // 设置邮件主题  
65 - message.setSubject("测试发送邮件");  
66 -  
67 - // 创建一个MimeBodyPart的对象,以便添加内容  
68 - BodyPart messageBodyPart1 = new MimeBodyPart();  
69 -  
70 - // 设置邮件正文内容  
71 - messageBodyPart1.setText("这个是邮件的正文部分");  
72 -  
73 - // 创建另外一个MimeBodyPart对象,以便添加其他内容  
74 - MimeBodyPart messageBodyPart2 = new MimeBodyPart();  
75 -  
76 - // 设置邮件中附件文件的路径  
77 - String filename = ".\\test-output\\emailable-report.html";  
78 -  
79 - // 创建一个datasource对象,并传递文件  
80 - DataSource source = new FileDataSource(filename);  
81 -  
82 - // 设置handler  
83 - messageBodyPart2.setDataHandler(new DataHandler(source));  
84 -  
85 - // 加载文件  
86 - messageBodyPart2.setFileName(filename);  
87 -  
88 - // 创建一个MimeMultipart类的实例对象  
89 - Multipart multipart = new MimeMultipart();  
90 -  
91 - // 添加正文1内容  
92 - multipart.addBodyPart(messageBodyPart1);  
93 -  
94 - // 添加正文2内容  
95 - multipart.addBodyPart(messageBodyPart2);  
96 -  
97 - // 设置内容  
98 - message.setContent(multipart);  
99 -  
100 - // 最终发送邮件  
101 - Transport.send(message);  
102 -  
103 - System.out.println("=====邮件已经发送=====");  
104 -  
105 - } catch (MessagingException e) {  
106 -  
107 - throw new RuntimeException(e);  
108 -  
109 - }  
110 -  
111 - }  
112 -  
113 -}  
src/test/java/com/essa/testSuite/TestAddMarketGoods.java deleted
@@ -1,86 +0,0 @@ @@ -1,86 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import java.io.IOException;  
4 -  
5 -import org.openqa.selenium.WebDriver;  
6 -import org.openqa.selenium.support.PageFactory;  
7 -import org.testng.annotations.AfterClass;  
8 -import org.testng.annotations.BeforeClass;  
9 -import org.testng.annotations.Test;  
10 -import org.testng.asserts.SoftAssert;  
11 -  
12 -import com.essa.framework.Model;  
13 -import com.essa.pageObject.BaseTest;  
14 -import com.essa.pageObject.HomePage;  
15 -import com.essa.pageObject.GoodsManage.AddMarketGoodsPage;  
16 -import com.essa.pageObject.GoodsManage.AuditMarketGoodsPage;  
17 -import com.essa.pageObject.GoodsManage.AuditMarketOpreatePage;  
18 -import com.essa.pageObject.GoodsManage.MarketGoodsRelesePage;  
19 -  
20 -/**  
21 - * @author Administrator  
22 - *测试用例:添加市场商品  
23 - */  
24 -public class TestAddMarketGoods extends BaseTest {  
25 -  
26 - WebDriver driver;  
27 -  
28 - @BeforeClass  
29 - public void setUp() throws IOException {  
30 - initsetUp();  
31 - loginValid("maomeixiang");  
32 - }  
33 - /**  
34 - * 进入市场商品发布页,选择对应的采购商  
35 - */  
36 - @Test(description="进入市场商品发布列表,选择采购商")  
37 - public void toMarketGoodsRelesePage() {  
38 - this.driver = getDriver();  
39 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
40 - homePage.toMarketGoodsRelesePage();  
41 - MarketGoodsRelesePage marketGoodsRelesePage = PageFactory.initElements(driver, MarketGoodsRelesePage.class);  
42 - marketGoodsRelesePage.toAddMarketGoodsPage();  
43 - }  
44 - /**  
45 - * 市场商品建档  
46 - */  
47 - @Test(description="市场商品建档")  
48 - public void addMarketGoods() {  
49 - this.driver = getDriver();  
50 - AddMarketGoodsPage addMarketGoodsPage = PageFactory.initElements(driver, AddMarketGoodsPage.class);  
51 - addMarketGoodsPage.addMarketGoods();  
52 -  
53 - //断言是否建档成功,如果model中的skuNo不为null则成功  
54 - SoftAssert softAssert = new SoftAssert();  
55 - boolean actual = !(Model.getSkuNo().isEmpty());  
56 - softAssert.assertEquals(actual, true, "市场商品建档失败");  
57 - softAssert.assertAll();  
58 -  
59 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
60 - homePage.getHome();  
61 - homePage.logout();  
62 - }  
63 - /**  
64 - * 对市场商品进行审核  
65 - */  
66 - @Test(description="市场商品审核")  
67 - public void auditMarketGoods() {  
68 - loginValid("xingchangyong");  
69 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
70 - homePage.toAuditMarketGoodsPage();  
71 - AuditMarketGoodsPage auditMarketGoodsPage = PageFactory.initElements(driver, AuditMarketGoodsPage.class);  
72 - auditMarketGoodsPage.auditMarketGoods();  
73 - AuditMarketOpreatePage auditMarketOpreatePage = PageFactory.initElements(driver, AuditMarketOpreatePage.class);  
74 - auditMarketOpreatePage.auditPass();  
75 - //断言是否审核成功  
76 - boolean actual = auditMarketGoodsPage.isSucceed();  
77 - SoftAssert softAssert = new SoftAssert();  
78 - softAssert.assertEquals(actual, false, "市场商品审核失败!");  
79 - softAssert.assertAll();  
80 - }  
81 -  
82 - @AfterClass  
83 - public void tearDown() {  
84 - driver.quit();  
85 - }  
86 -}  
src/test/java/com/essa/testSuite/TestAddOriginalGoods.java deleted
@@ -1,117 +0,0 @@ @@ -1,117 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import java.io.IOException;  
4 -  
5 -import org.openqa.selenium.WebDriver;  
6 -import org.openqa.selenium.support.PageFactory;  
7 -import org.testng.annotations.AfterClass;  
8 -import org.testng.annotations.BeforeClass;  
9 -import org.testng.annotations.Test;  
10 -import org.testng.asserts.SoftAssert;  
11 -  
12 -import com.essa.pageObject.BaseTest;  
13 -import com.essa.pageObject.HomePage;  
14 -import com.essa.pageObject.GoodsManage.AddOriginalGoodsPage;  
15 -import com.essa.pageObject.GoodsManage.AuditOriginalGoodsPage;  
16 -import com.essa.pageObject.GoodsManage.AuditOriginalOpreatePage;  
17 -import com.essa.pageObject.GoodsManage.GoodsBankPage;  
18 -import com.essa.pageObject.GoodsManage.GoodsRelesePage;  
19 -import com.essa.pageObject.GoodsManage.UpdatePicPage;  
20 -  
21 -/**  
22 - * @author Administrator  
23 - *测试用例:天机原厂商品  
24 - */  
25 -public class TestAddOriginalGoods extends BaseTest {  
26 -  
27 - WebDriver driver;  
28 -  
29 - @BeforeClass  
30 - public void setUp() throws IOException {  
31 - initsetUp();  
32 - loginValid("linxun");  
33 - }  
34 -  
35 - /**  
36 - * 商品建档  
37 - *  
38 - * @throws InterruptedException  
39 - */  
40 - @Test(description="原厂商品建档")  
41 - public void toAddOriginalGoodsPage() throws InterruptedException {  
42 - this.driver = getDriver();  
43 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
44 - homePage.tOriginalGoodsPage();  
45 - AddOriginalGoodsPage addOriginalGoodsPage = PageFactory.initElements(driver, AddOriginalGoodsPage.class);  
46 - addOriginalGoodsPage.addOriginalGoods();  
47 -  
48 - }  
49 -  
50 - /**  
51 - * 更新商品图片  
52 - *  
53 - * @throws Exception  
54 - * @throws InterruptedException  
55 - */  
56 - @Test(description="更新图片")  
57 - public void updatePic() throws Exception {  
58 - this.driver = getDriver();  
59 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
60 - homePage.tGoodsRelesePage();  
61 - GoodsRelesePage goodsRelesePage = PageFactory.initElements(driver, GoodsRelesePage.class);  
62 -  
63 - //断言上一步商品建档是否成功  
64 - boolean actual = goodsRelesePage.isAddOrignalSucceed();  
65 - SoftAssert assertion = new SoftAssert();  
66 - assertion.assertEquals(actual, true, "商品建档失败!");  
67 - assertion.assertAll();  
68 -  
69 - goodsRelesePage.toUpDatePic();  
70 - UpdatePicPage updatePicPage = PageFactory.initElements(driver, UpdatePicPage.class);  
71 - // 传入要上传的图片的本机地址  
72 -// updatePicPage.upDatePic("C:\\Users\\Administrator\\Pictures\\Camera Roll\\4.jpg");  
73 - updatePicPage.upDatePic();  
74 - }  
75 -  
76 - /**  
77 - * 审核原厂商品  
78 - */  
79 - @Test(description="原厂商品审核")  
80 - public void auditOriginal() {  
81 - this.driver = getDriver();  
82 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
83 - homePage.toAuditOriginalGoodsPage();  
84 - AuditOriginalGoodsPage auditOriginalGoodsPage = PageFactory.initElements(driver, AuditOriginalGoodsPage.class);  
85 - // 断言上一步更新图片是否成功  
86 - boolean actual1 = auditOriginalGoodsPage.isSucceed();  
87 - SoftAssert assertion = new SoftAssert();  
88 - assertion.assertEquals(actual1, true, "更新图片失败!");  
89 -  
90 - auditOriginalGoodsPage.toAuditOriginalSku();  
91 - AuditOriginalOpreatePage auditOriginalOpreatePage = PageFactory.initElements(driver,  
92 - AuditOriginalOpreatePage.class);  
93 - auditOriginalOpreatePage.auditPass();  
94 -  
95 - // 断言是否审核成功,如果发布审核页面没有找到刚刚的商品,说明审核成功了  
96 - boolean actual = auditOriginalGoodsPage.isSucceed();  
97 - assertion.assertEquals(actual, false, "审核原厂商品时失败!");  
98 - assertion.assertAll();  
99 - }  
100 -  
101 - /**  
102 - * 获取新增的商品编号  
103 - */  
104 - @Test(description="去商品库获取添加的sku编号")  
105 - public void getSkuNo() {  
106 - this.driver = getDriver();  
107 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
108 - homePage.toGoodsBankPage();  
109 - GoodsBankPage goodsBankPage = PageFactory.initElements(driver, GoodsBankPage.class);  
110 - goodsBankPage.getNo();  
111 - }  
112 -  
113 - @AfterClass  
114 - public void tearDown() {  
115 - driver.quit();  
116 - }  
117 -}  
src/test/java/com/essa/testSuite/TestDevelopmentAbility.java deleted
@@ -1,124 +0,0 @@ @@ -1,124 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import static org.testng.Assert.assertEquals;  
4 -  
5 -import java.io.IOException;  
6 -  
7 -import org.openqa.selenium.WebDriver;  
8 -import org.openqa.selenium.support.PageFactory;  
9 -import org.testng.annotations.AfterClass;  
10 -import org.testng.annotations.BeforeClass;  
11 -import org.testng.annotations.DataProvider;  
12 -import org.testng.annotations.Test;  
13 -import org.testng.asserts.SoftAssert;  
14 -  
15 -import com.essa.pageObject.HomePage;  
16 -import com.essa.pageObject.SupplierOperationsTrackPage;  
17 -import com.essa.pageObject.SupplierStrengthPage;  
18 -import com.essa.pageObject.BaseTest;  
19 -  
20 -public class TestDevelopmentAbility extends BaseTest {  
21 -  
22 - WebDriver driver;  
23 -  
24 - // 登录  
25 - @BeforeClass  
26 - public void setUp() throws IOException {  
27 -  
28 - initsetUp();  
29 -  
30 - loginValid("admin");  
31 -  
32 - }  
33 -  
34 - // 切换到“供应商管理”菜单  
35 - @Test  
36 - public void toSupplierOperationsTrack() {  
37 -  
38 - /*  
39 - * 由于我们只能对一个driver进行操作,要先将driver获取 我们要操作的页面为HomePage,所以要初始化一个HomePage对象  
40 - * 调用进入平台运营管理,断言  
41 - */  
42 - this.driver = getDriver();  
43 -  
44 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
45 -  
46 - homePage.goToSupplierOperationsTrack();  
47 -  
48 - assertEquals(homePage.isSearchSuppliers(), true, "切换到“供应商管理”菜单失败!");  
49 -  
50 - }  
51 -  
52 - @Test(dataProvider = "suppliers", dependsOnMethods = { "toSupplierOperationsTrack" })  
53 - public void editDevelopmentAbility(String supplier) throws Exception {  
54 -  
55 - SupplierOperationsTrackPage sotp =  
56 - PageFactory.initElements(driver, SupplierOperationsTrackPage.class);  
57 - SoftAssert softAssert = new SoftAssert();  
58 - softAssert.assertEquals(sotp.isSucceed(), true, "进入平台运营跟进管理失败!");  
59 -  
60 - sotp.goToSupplierStrengthPage(supplier);  
61 - SupplierStrengthPage strengthPage =  
62 - PageFactory.initElements(driver, SupplierStrengthPage.class);  
63 - softAssert.assertEquals(strengthPage.isSucceed(), true, "进入实力评估页面失败!");  
64 -  
65 - /*  
66 - * 配合度选择“高”,主打产品:中高  
67 - * 是否研发能力选择“是”,勾选:每个季度有新品推出,有配备工程师,产品研发团队,其他  
68 - * 添加证书,服务过大客户  
69 - * 点击提交  
70 - */  
71 -  
72 - strengthPage.selectCooperateDegree("高");  
73 - Thread.sleep(500);  
74 -  
75 - strengthPage.selMainProduct("中高");  
76 - Thread.sleep(500);  
77 -  
78 - strengthPage.isDevAblity("是");  
79 - strengthPage.newProduct();  
80 - strengthPage.haveEngineer();  
81 - strengthPage.haveTeam();  
82 - strengthPage.other();  
83 -  
84 - strengthPage.addCertification();  
85 - strengthPage.addSerLargeCus();  
86 -  
87 - strengthPage.submit();  
88 - Thread.sleep(1000);  
89 -  
90 - softAssert.assertEquals(strengthPage.isSubmit(), true, "提交失败!");  
91 -  
92 - softAssert.assertAll();  
93 -  
94 - strengthPage.alertClosed();  
95 -  
96 - }  
97 -  
98 -  
99 - // 读取excel表格 表格位置在data文件夹下 表格名称为“供应商”,读取的sheet名称为“供应商”  
100 - @DataProvider(name = "suppliers")  
101 - public Object[][] suppliersData() {  
102 -  
103 - try {  
104 -  
105 - return com.essa.framework.BasePage.readExcel(".\\src\\main\\resources", "data.xlsx", "供应商");  
106 -  
107 - } catch (Exception e) {  
108 -  
109 - e.printStackTrace();  
110 -  
111 - return null;  
112 -  
113 - }  
114 - }  
115 -  
116 - // 测试完要清理,不占用资源  
117 -  
118 - @AfterClass  
119 - public void tearDown() {  
120 -  
121 - driver.quit();  
122 -  
123 - }  
124 -}  
src/test/java/com/essa/testSuite/TestGenrateCode.java deleted
@@ -1,45 +0,0 @@ @@ -1,45 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import java.io.IOException;  
4 -  
5 -import org.openqa.selenium.WebDriver;  
6 -import org.openqa.selenium.support.PageFactory;  
7 -import org.testng.annotations.AfterClass;  
8 -import org.testng.annotations.BeforeClass;  
9 -import org.testng.annotations.Test;  
10 -  
11 -import com.essa.pageObject.BaseTest;  
12 -import com.essa.pageObject.HomePage;  
13 -import com.essa.pageObject.buyerManage.InvateCodePage;  
14 -  
15 -/**  
16 - * @author Administrator  
17 - *测试用例:生成邀请码  
18 - */  
19 -public class TestGenrateCode extends BaseTest {  
20 -  
21 -WebDriver driver;  
22 -  
23 - @BeforeClass  
24 - public void setUp() throws IOException {  
25 - initsetUp();  
26 - loginValid("admin");  
27 - }  
28 -  
29 - @AfterClass  
30 - public void tearDown() {  
31 - driver.quit();  
32 - }  
33 -  
34 - /**  
35 - * 生成邀请码  
36 - */  
37 - @Test(description="生成采购商注册邀请码")  
38 - public void genrateCode() {  
39 - this.driver = getDriver();  
40 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
41 - homePage.toInvateCodePage();  
42 - InvateCodePage invateCodePage = PageFactory.initElements(driver, InvateCodePage.class);  
43 - invateCodePage.generateCode();  
44 - }  
45 -}  
src/test/java/com/essa/testSuite/TestGroupPurchase.java deleted
@@ -1,75 +0,0 @@ @@ -1,75 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.support.PageFactory;  
5 -import org.testng.annotations.AfterClass;  
6 -import org.testng.annotations.BeforeClass;  
7 -import org.testng.annotations.Test;  
8 -import org.testng.asserts.SoftAssert;  
9 -  
10 -import com.essa.pageObject.BaseTest;  
11 -import com.essa.pageObject.HomePage;  
12 -import com.essa.pageObject.buyPlaneManage.SkuCategoryManagerCongfigPage;  
13 -import com.essa.pageObject.marketingManage.GroupControlPage;  
14 -import com.essa.pageObject.marketingManage.GroupSettingPage;  
15 -  
16 -/**  
17 - * @author Administrator  
18 - *测试用例:发布团购  
19 - */  
20 -public class TestGroupPurchase extends BaseTest {  
21 -  
22 - WebDriver driver;  
23 -  
24 - @BeforeClass  
25 - public void setUp() {  
26 - initsetUp();  
27 - loginValid("linrong");  
28 - }  
29 -  
30 - /**  
31 - * 配置商品类目经理  
32 - */  
33 - @Test(description="配置商品类目经理")  
34 - public void SkuCategoryManagerCongfig() {  
35 - this.driver = getDriver();  
36 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
37 - homePage.toSkuCategoryManagerCongfig();  
38 - SkuCategoryManagerCongfigPage skuCategoryManagerCongfigPage = PageFactory.initElements(driver,  
39 - SkuCategoryManagerCongfigPage.class);  
40 - skuCategoryManagerCongfigPage.distributeManager();  
41 - }  
42 -  
43 - /**  
44 - * 发布团购商品  
45 - */  
46 - @Test(description="发布团购")  
47 - public void publishGroupPurchase() {  
48 - this.driver = getDriver();  
49 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
50 - homePage.toGroupSettingPage();  
51 - GroupSettingPage groupSettingPage = PageFactory.initElements(driver, GroupSettingPage.class);  
52 - groupSettingPage.publishGroup();  
53 - }  
54 -  
55 - /**  
56 - * 进入团购控制,查找是否有发布成功,并进行断言  
57 - */  
58 - @Test(description="检查团购是否发布成功")  
59 - public void isPublish() {  
60 - this.driver = getDriver();  
61 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
62 - homePage.toGroupControlPage();  
63 - GroupControlPage groupControlPage = PageFactory.initElements(driver, GroupControlPage.class);  
64 - boolean actual = groupControlPage.isSuccess();  
65 - SoftAssert softAssert = new SoftAssert();  
66 - softAssert.assertEquals(actual, true, "发布团购失败了!");  
67 - softAssert.assertAll();  
68 - }  
69 -  
70 - @AfterClass  
71 - public void tearDown() {  
72 - driver.quit();  
73 - }  
74 -  
75 -}  
src/test/java/com/essa/testSuite/TestLogin.java deleted
@@ -1,104 +0,0 @@ @@ -1,104 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import java.io.IOException;  
4 -  
5 -import org.openqa.selenium.WebDriver;  
6 -import org.openqa.selenium.support.PageFactory;  
7 -import org.testng.annotations.AfterClass;  
8 -import org.testng.annotations.BeforeClass;  
9 -import org.testng.annotations.DataProvider;  
10 -import org.testng.annotations.Test;  
11 -import org.testng.asserts.SoftAssert;  
12 -  
13 -import com.essa.framework.BrowserEngine;  
14 -import com.essa.pageObject.HomePage;  
15 -import com.essa.pageObject.LoginPage;  
16 -  
17 -/**  
18 - * @author Administrator  
19 - *测试用例:登录测试  
20 - */  
21 -public class TestLogin {  
22 - WebDriver driver;  
23 -  
24 - /*  
25 - * 调用浏览器,打开网页  
26 - * 执行任何测试之前都应执行这个步骤  
27 - * 后面我会把这个方法封装在pageObject.function里面  
28 - */  
29 -  
30 - @BeforeClass  
31 - public void setUp() throws IOException {  
32 -  
33 - BrowserEngine browserEngine = new BrowserEngine();  
34 -  
35 - browserEngine.initConfigData();  
36 -  
37 - driver = browserEngine.getBrowser();  
38 -  
39 - }  
40 -  
41 - /*  
42 - * 初始化(实例化)一个登录页面  
43 - * 做登录操作  
44 - * 登录完后会跳转到后台首页  
45 - * 故要初始化一个后台首页用于断言是否登录成功  
46 - * 这里登录成功的标识是有“退出”按钮  
47 - */  
48 -  
49 - @Test(dataProvider="users")  
50 - public void login(String account,String password) {  
51 -  
52 - LoginPage loginPage = PageFactory.initElements(driver, LoginPage.class);  
53 -  
54 - loginPage.login(account, password);  
55 -  
56 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
57 -  
58 - /*  
59 - * 软断言,即就算此用例失败,依然会继续执行  
60 - * 断言后,做退出登录操作  
61 - */  
62 -  
63 - SoftAssert softAssert = new SoftAssert();  
64 -  
65 - softAssert.assertEquals(homePage.isSucceed(), true, "登录失败!");  
66 -  
67 - softAssert.assertAll();  
68 -  
69 - homePage.logout();  
70 -  
71 - }  
72 -  
73 - /*  
74 - * 提供数据对象  
75 - * 此方法读取当前项目根目录下的data\\data.xlsx文件中的“users”工作表  
76 - */  
77 -  
78 - @DataProvider(name="users")  
79 - public Object[][] suppliersData() {  
80 -  
81 - try {  
82 -  
83 - return com.essa.framework.BasePage.readExcel(".\\src\\main\\resources", "data.xlsx", "users");  
84 -  
85 - } catch (Exception e) {  
86 -  
87 - e.printStackTrace();  
88 -  
89 - return null;  
90 -  
91 - }  
92 - }  
93 -  
94 - /*  
95 - * 最后要做清理工作,避免占用资源  
96 - */  
97 -  
98 - @AfterClass  
99 - public void tearDown() {  
100 -  
101 - driver.quit();  
102 -  
103 - }  
104 -}  
src/test/java/com/essa/testSuite/TestProductInquiry.java deleted
@@ -1,51 +0,0 @@ @@ -1,51 +0,0 @@
1 -package com.essa.testSuite;  
2 -  
3 -import org.openqa.selenium.WebDriver;  
4 -import org.openqa.selenium.support.PageFactory;  
5 -import org.testng.annotations.AfterClass;  
6 -import org.testng.annotations.BeforeClass;  
7 -import org.testng.annotations.Test;  
8 -import org.testng.asserts.SoftAssert;  
9 -  
10 -import com.essa.pageObject.BaseTest;  
11 -import com.essa.pageObject.HomePage;  
12 -import com.essa.pageObject.inquiryManage.ProductInquiryFeedbackPage;  
13 -import com.essa.pageObject.inquiryManage.ProductInquiryTaskPage;  
14 -  
15 -/**  
16 - * @author Administrator 测试用例:成品询价  
17 - */  
18 -public class TestProductInquiry extends BaseTest {  
19 -  
20 - WebDriver driver;  
21 -  
22 - @BeforeClass  
23 - public void setUp() {  
24 - initsetUp();  
25 - loginValid("chenhong");  
26 - }  
27 -  
28 - @AfterClass  
29 - public void tearDown() {  
30 - driver.quit();  
31 - }  
32 -  
33 - /**  
34 - * 成品询价  
35 - */  
36 - @Test(description = "成品询价流程")  
37 - public void productInquiry() {  
38 - this.driver = getDriver();  
39 - HomePage homePage = PageFactory.initElements(driver, HomePage.class);  
40 - homePage.toProductInquiryTask();  
41 - ProductInquiryTaskPage productInquiryTask = PageFactory.initElements(driver, ProductInquiryTaskPage.class);  
42 - productInquiryTask.toFeedback();  
43 - ProductInquiryFeedbackPage productInquiryFeedback = PageFactory.initElements(driver,  
44 - ProductInquiryFeedbackPage.class);  
45 - productInquiryFeedback.submit();  
46 - // 断言  
47 - SoftAssert softAssert = new SoftAssert();  
48 - softAssert.assertEquals(productInquiryTask.isSucceed(), true, "成品询价失败!");  
49 - softAssert.assertAll();  
50 - }  
51 -}  
src/test/java/swing/SwingMain.java deleted
@@ -1,701 +0,0 @@ @@ -1,701 +0,0 @@
1 -package swing;  
2 -  
3 -import java.awt.EventQueue;  
4 -  
5 -import javax.swing.JFrame;  
6 -import javax.swing.ButtonGroup;  
7 -import javax.swing.JButton;  
8 -import java.awt.event.ActionListener;  
9 -import java.io.BufferedReader;  
10 -import java.io.File;  
11 -import java.io.FileInputStream;  
12 -import java.io.FileNotFoundException;  
13 -import java.io.FileOutputStream;  
14 -import java.io.IOException;  
15 -import java.io.InputStream;  
16 -import java.io.InputStreamReader;  
17 -import java.io.RandomAccessFile;  
18 -import java.io.StringReader;  
19 -import java.text.SimpleDateFormat;  
20 -import java.util.ArrayList;  
21 -import java.util.Date;  
22 -import java.util.List;  
23 -import java.util.Properties;  
24 -import java.util.concurrent.Executors;  
25 -import java.util.concurrent.ScheduledExecutorService;  
26 -import java.util.concurrent.TimeUnit;  
27 -import java.awt.event.ActionEvent;  
28 -import javax.swing.JTextField;  
29 -  
30 -import org.apache.xmlbeans.impl.xb.xsdschema.Public;  
31 -import org.jdom.Document;  
32 -import org.jdom.Element;  
33 -import org.jdom.JDOMException;  
34 -import org.jdom.input.SAXBuilder;  
35 -import org.jdom.output.XMLOutputter;  
36 -import org.testng.TestNG;  
37 -  
38 -import com.essa.framework.BrowserEngine;  
39 -import com.essa.framework.Logger;  
40 -import com.essa.framework.Model;  
41 -import com.essa.pageObject.GoodsManage.AddOriginalGoodsPage;  
42 -import com.essa.pageObject.GoodsManage.GoodsBankPage;  
43 -import com.essa.pageObject.GoodsManage.UpdatePicPage;  
44 -  
45 -import javax.swing.JLabel;  
46 -import javax.swing.JRadioButton;  
47 -import javax.swing.JComboBox;  
48 -import javax.swing.JFileChooser;  
49 -import javax.swing.JScrollPane;  
50 -import javax.swing.JTextArea;  
51 -  
52 -import java.awt.Color;  
53 -import javax.swing.DefaultComboBoxModel;  
54 -import javax.swing.ImageIcon;  
55 -import java.awt.Toolkit;  
56 -import java.awt.BorderLayout;  
57 -import java.awt.Choice;  
58 -import java.awt.Font;  
59 -import java.awt.Graphics;  
60 -  
61 -import javax.swing.JList;  
62 -import javax.swing.JMenuBar;  
63 -import javax.swing.JTextPane;  
64 -import java.awt.event.InputMethodListener;  
65 -import java.awt.event.InputMethodEvent;  
66 -import java.beans.VetoableChangeListener;  
67 -import java.beans.PropertyChangeEvent;  
68 -import javax.swing.JPanel;  
69 -import java.beans.PropertyChangeListener;  
70 -import java.awt.event.MouseAdapter;  
71 -import java.awt.event.MouseEvent;  
72 -import javax.swing.UIManager;  
73 -import java.awt.TextField;  
74 -import java.awt.Panel;  
75 -import javax.swing.JScrollBar;  
76 -import javax.swing.ScrollPaneConstants;  
77 -import javax.swing.SwingWorker;  
78 -import javax.swing.border.LineBorder;  
79 -  
80 -/**  
81 - * @author Administrator 图形化  
82 - */  
83 -public class SwingMain {  
84 -  
85 - private JFrame frmvBy;  
86 - private JTextField supplierName;  
87 - private JTextField buyerNo2;  
88 - public static String no;  
89 - private JTextField account;  
90 - private JTextArea SkuNo;  
91 - private JTextField password;  
92 - private JTextField registerAccount;  
93 - private JTextArea ja;  
94 - private JTextField po;  
95 -  
96 - private String buyerAccount;//采购商账号,存储于配置文件中,记录上一次使用的账号  
97 - private String supplier;//供应商  
98 - private String buyerNo;//采购商编号  
99 -  
100 - /**  
101 - * Launch the application.  
102 - */  
103 - public static void main(String[] args) {  
104 - EventQueue.invokeLater(new Runnable() {  
105 - public void run() {  
106 - try {  
107 - SwingMain window = new SwingMain();  
108 - window.frmvBy.setVisible(true);  
109 - } catch (Exception e) {  
110 - e.printStackTrace();  
111 - }  
112 - }  
113 - });  
114 - }  
115 -  
116 - /**  
117 - * Create the application.  
118 - */  
119 - public SwingMain() {  
120 -  
121 - initData();  
122 - initialize();  
123 - }  
124 -  
125 - /**  
126 - * 读取data.xml文件保存的用户使用的数据,用于读取该用户上一次输入的数据  
127 - * @throws JDOMException  
128 - * @throws IOException  
129 - */  
130 - public void initData() {  
131 - try {  
132 - SAXBuilder builder = new SAXBuilder();  
133 - Document document = builder.build(new File(".\\resources\\data.xml"));  
134 - Element root = document.getRootElement();  
135 - Element element = root.getChild("data");  
136 - this.buyerAccount = element.getChildText("buyerAccount");  
137 - this.supplier = element.getChildText("supplier");  
138 - this.buyerNo = element.getChildText("buyerNo");  
139 - } catch (Exception e) {  
140 - e.printStackTrace();  
141 - }  
142 - }  
143 -  
144 - /**  
145 - * 将用户输入过的数据保存在data.xml文件中  
146 - * @param key 字段名  
147 - * @param value 参数值  
148 - * @throws JDOMException  
149 - * @throws IOException  
150 - */  
151 - public void setData(String key,String value) {  
152 - try {  
153 - SAXBuilder builder = new SAXBuilder();  
154 - Document document = builder.build(new File(".\\resources\\data.xml"));  
155 - Element root = document.getRootElement();  
156 - Element element = root.getChild("data");  
157 - element.getChild(key).setText(value);  
158 - XMLOutputter XMLOut = new XMLOutputter();  
159 - XMLOut.output(document,new FileOutputStream(".\\resources\\data.xml"));  
160 - } catch (Exception e) {  
161 - e.printStackTrace();  
162 - }  
163 - }  
164 -  
165 - /**  
166 - * 获取当前时间  
167 - * @return  
168 - */  
169 - public String getCurrentTime() {  
170 - SimpleDateFormat format = new SimpleDateFormat("[yyyy-MM-dd HH:mm:ss] ");  
171 - Date today = new Date();  
172 - String time = format.format(today);  
173 - return time;  
174 - }  
175 -  
176 - /**  
177 - * frame初始化.  
178 - */  
179 - private void initialize() {  
180 - frmvBy = new JFrame("ESSA自动化测试工具v1.0.0");  
181 - frmvBy.getContentPane().setBackground(UIManager.getColor("Button.background"));  
182 - frmvBy.setTitle("ESSA自动化测试工具v1.0.1");  
183 - frmvBy.setIconImage(Toolkit.getDefaultToolkit().getImage(SwingMain.class.getResource("/swing/icon.png")));  
184 - frmvBy.getContentPane().setEnabled(false);  
185 - frmvBy.setResizable(false);  
186 - frmvBy.setBackground(UIManager.getColor("Button.background"));  
187 - frmvBy.setForeground(Color.LIGHT_GRAY);  
188 - frmvBy.setBounds(650, 350, 526, 467);  
189 - frmvBy.setSize(686, 405);  
190 - frmvBy.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
191 - frmvBy.getContentPane().setLayout(null);  
192 -  
193 - //日志  
194 - JScrollPane jsp;  
195 - ja = new JTextArea();  
196 - jsp = new JScrollPane(ja);  
197 - jsp.setBounds(22, 186, 631, 134);  
198 - frmvBy.getContentPane().add(jsp);  
199 -  
200 - ja.setEditable(false);  
201 - ja.setWrapStyleWord(true);  
202 - ja.setLineWrap(true);  
203 - ja.setFont(new Font("微软雅黑", Font.PLAIN, 13));  
204 - ja.append(getCurrentTime() + "默认选择场景:新增原厂商品\r\n");  
205 -  
206 - //操作环境选择  
207 - JLabel label = new JLabel("操作环境:");  
208 - label.setBounds(24, 53, 78, 15);  
209 - label.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
210 - frmvBy.getContentPane().add(label);  
211 -  
212 - //加入到购物车场景  
213 - final JPanel ToCart = new JPanel();  
214 - ToCart.setBounds(231, 42, 230, 128);  
215 - ToCart.setVisible(false);  
216 - frmvBy.getContentPane().add(ToCart);  
217 - ToCart.setLayout(null);  
218 -  
219 - //可视化操作选项  
220 - JLabel label_1 = new JLabel("可视化操作:");  
221 - label_1.setBounds(10, 119, 88, 15);  
222 - label_1.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
223 - frmvBy.getContentPane().add(label_1);  
224 -  
225 - //可视化  
226 - JRadioButton view = new JRadioButton("是");  
227 - view.setBounds(103, 115, 42, 23);  
228 - view.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
229 - view.setSelected(true);  
230 - frmvBy.getContentPane().add(view);  
231 -  
232 - //无头浏览器  
233 - JRadioButton notView = new JRadioButton("否");  
234 - notView.setBounds(160, 115, 44, 23);  
235 - notView.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
236 - notView.setEnabled(false);  
237 - frmvBy.getContentPane().add(notView);  
238 -  
239 - ButtonGroup group = new ButtonGroup();  
240 - group.add(view);  
241 - group.add(notView);  
242 -  
243 - //po询价场景  
244 - final JPanel POInquiry = new JPanel();  
245 - POInquiry.setBounds(231, 42, 234, 134);  
246 - frmvBy.getContentPane().add(POInquiry);  
247 - POInquiry.setVisible(false);  
248 - POInquiry.setLayout(null);  
249 -  
250 - // po单号字段  
251 - JLabel POnum = new JLabel("PO单号:");  
252 - POnum.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
253 - POnum.setBounds(25, 5, 68, 25);  
254 - POInquiry.add(POnum);  
255 -  
256 - // po单号文本值  
257 - po = new JTextField();  
258 - po.setBounds(90, 6, 110, 25);  
259 - POInquiry.add(po);  
260 - po.setColumns(10);  
261 -  
262 - //必填文本  
263 - JLabel lblNewLabel = new JLabel("*必填");  
264 - lblNewLabel.setFont(new Font("微软雅黑", Font.PLAIN, 12));  
265 - lblNewLabel.setForeground(Color.RED);  
266 - lblNewLabel.setBounds(200, 10, 44, 15);  
267 - POInquiry.add(lblNewLabel);  
268 -  
269 - //右侧流程介绍文本  
270 - final JLabel process = new JLabel();  
271 - process.setBounds(474, 25, 179, 170);  
272 - process.setForeground(Color.GRAY);  
273 - process.setFont(new Font("微软雅黑", Font.PLAIN, 12));  
274 - process.setText(  
275 - "<html><body>新增原厂商品场景流程:<br>1.商品建档<br>2.更新商品图片<br>3.审核商品<br>4.检查商品库,验证是否新增成功<br>PS:以上均由账号(linxun)操作<br><br></body></html>");  
276 - frmvBy.getContentPane().add(process);  
277 -  
278 - //操作场景  
279 - JLabel label_2 = new JLabel("操作场景:");  
280 - label_2.setBounds(24, 87, 78, 15);  
281 - label_2.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
282 - frmvBy.getContentPane().add(label_2);  
283 -  
284 - //新增原厂商品场景  
285 - final JPanel addOriginal = new JPanel();  
286 - addOriginal.setBounds(231, 37, 234, 134);  
287 - addOriginal.setVisible(true);  
288 - frmvBy.getContentPane().add(addOriginal);  
289 - addOriginal.setLayout(null);  
290 -  
291 - //场景选择,插入对应的值,并打印在日志上  
292 - final JComboBox selectSystem = new JComboBox<String>();  
293 - selectSystem.setBounds(102, 51, 114, 20);  
294 - selectSystem.addActionListener(new ActionListener() {  
295 - public void actionPerformed(ActionEvent e) {  
296 - if ("SIT".equals((String) selectSystem.getSelectedItem())) {  
297 - Model.setEnv("SIT");  
298 - ja.append(getCurrentTime() + "已选择环境:SIT\r\n");  
299 - } else if ("DIT".equals((String) selectSystem.getSelectedItem())) {  
300 - Model.setEnv("DIT");  
301 - ja.append(getCurrentTime() + "已选择环境:DIT\r\n");  
302 - } else if ("HOTFIX".equals((String) selectSystem.getSelectedItem())) {  
303 - Model.setEnv("HOTFIX");  
304 - ja.append(getCurrentTime() + "已选择环境:HOTFIX\r\n");  
305 - } else if ("UAT".equals((String) selectSystem.getSelectedItem())) {  
306 - Model.setEnv("UAT");  
307 - ja.append(getCurrentTime() + "已选择环境:UAT\r\n");  
308 - }  
309 - }  
310 - });  
311 - selectSystem.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
312 - selectSystem.addItem("SIT");  
313 - selectSystem.addItem("HOTFIX");  
314 - selectSystem.addItem("UAT");  
315 - selectSystem.addItem("DIT");  
316 - frmvBy.getContentPane().add(selectSystem);  
317 -  
318 - //添加市场商品  
319 - final JPanel addMarket = new JPanel();  
320 - addMarket.setBounds(0, 67, 230, 46);  
321 - addOriginal.add(addMarket);  
322 - addMarket.setVisible(false);  
323 - addMarket.setLayout(null);  
324 -  
325 - //采购商注册  
326 - final JPanel register = new JPanel();  
327 - register.setBounds(231, 42, 224, 134);  
328 - frmvBy.getContentPane().add(register);  
329 -  
330 - //浏览器选择  
331 - final JComboBox browser = new JComboBox();  
332 - browser.setEnabled(false);  
333 - browser.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
334 - browser.setBounds(102, 147, 114, 20);  
335 - browser.setModel(new DefaultComboBoxModel(new String[] { "Chrome", "Firefox", "IE" }));  
336 - frmvBy.getContentPane().add(browser);  
337 -  
338 - //场景选择,根据随选场景做对应的交互  
339 - final JComboBox selectScene = new JComboBox();  
340 - selectScene.setBounds(102, 85, 114, 20);  
341 - selectScene.setForeground(Color.BLACK);  
342 - selectScene.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
343 - selectScene.addActionListener(new ActionListener() {  
344 - public void actionPerformed(ActionEvent e) {  
345 - //此处为默认将所有的场景视图先隐藏,后续根据所选场景显示对应的视图  
346 - addOriginal.setVisible(false);  
347 - addMarket.setVisible(false);  
348 - ToCart.setVisible(false);  
349 - POInquiry.setVisible(false);  
350 - register.setVisible(false);  
351 - if ("新增原厂商品".equals((String) selectScene.getSelectedItem())) {  
352 - process.setText(  
353 - "<html><body>新增原厂商品场景流程:<br>1.商品建档<br>2.更新商品图片<br>3.审核商品<br>4.检查商品库,验证是否新增成功<br>PS:以上均由账号(linxun)操作<br><br></body></html>");  
354 - addOriginal.setVisible(true);  
355 - ja.append(getCurrentTime() + "已选择场景:新增原厂商品\r\n");  
356 - } else if ("新增市场商品".equals((String) selectScene.getSelectedItem())) {  
357 - process.setText("<html><body>新增市场商品场景流程:<br>" + "1.指定采购商编号(默认:RUS00833)<br>"  
358 - + "2.使用账号(maomeixiang)对指定采购商进行市场商品建档并选择审核人为\"邢昌勇\"<br>"  
359 - + "3.使用账号(xingchangyong)对市场商品审核<br></body></html>");  
360 - addOriginal.setVisible(true);  
361 - addMarket.setVisible(true);  
362 - ja.append(getCurrentTime() + "已选择场景:新增市场商品\r\n");  
363 - } else if ("发布团购".equals((String) selectScene.getSelectedItem())) {  
364 - ja.append(getCurrentTime() + "已选择场景:发布团购,运行过程中将会打开关闭浏览器2次!\r\n");  
365 - process.setText(  
366 - "<html><body>发布团购场景流程:<br><font color=\"red\">1.先执行新增原厂商品流程,生成一个原厂SKU</font><br>2.使用账号(linrong)为新增的SKU分配类目经理<br>3.团购设置中添加该SKU,并发布团购,验证团购发布结果</body></html>");  
367 - addOriginal.setVisible(true);  
368 - } else if ("采购商注册".equals((String) selectScene.getSelectedItem())) {  
369 - register.setVisible(true);  
370 - ja.append(getCurrentTime() + "已选择场景:采购商注册,运行过程中将会打开关闭浏览器2次!\r\n");  
371 - process.setText(  
372 - "<html><body>采购商注册流程:<br>1.使用账号(admin)在bpms后台生成一个邀请码<br>2.采购商平台填写注册信息,并填入上一步生成的邀请码<br>PS:新账号密码默认为:essa123<br><br><br></body></html>");  
373 - } else if ("添加SKU至购物车".equals((String) selectScene.getSelectedItem())) {  
374 - ToCart.setVisible(true);  
375 - ja.append(getCurrentTime() + "已选择场景:添加SKU至购物车\r\n");  
376 - process.setText(  
377 - "<html><body>添加SKU至购物车流程:<br>1.Buyer平台根据填入的采购<br>商信息进行登录操作<br>2.若未填写商品编号,将从数<br>据库随机查出一个符合要求的<br>sku添加至购物车<br><br><br></body></html>");  
378 - } else if ("成品询价".equals((String) selectScene.getSelectedItem())) {  
379 - ToCart.setVisible(true);  
380 - ja.append(getCurrentTime() + "已选择场景:成品询价,将重启浏览器多次\r\n");  
381 - process.setText(  
382 - "<html><body>成品询价流程:<br>1.Buyer平台根据填入的采购<br>商信息加入sku,若未填写sku<br>编号,将随机从数据库获取符<br>合要求的sku<br>2.bpms后台登录账号(chenhong)对该sku进行成<br>品询价审核<br></body></html>");  
383 - } else if ("生成PO".equals((String) selectScene.getSelectedItem())) {  
384 - ToCart.setVisible(true);  
385 - ja.append(getCurrentTime() + "已选择场景:生成PO,将重启浏览器多次\r\n");  
386 - process.setText(  
387 - "<html><body>生成PO流程:<br>1.采购商平台加入商品至购物车<br>2.bpms后台登录账号(chenhong)对该sku进行成品询价审核<br>3.再次登录采购商平台,进行拼柜、设置唛头、贴纸和提交PO操作</body></html>");  
388 - } else if ("PO询价".equals((String) selectScene.getSelectedItem())) {  
389 - POInquiry.setVisible(true);  
390 - ja.append(getCurrentTime() + "已选择场景:PO询价\r\n");  
391 - process.setText("<html><body>PO询价使用介绍:<br>1.填入需要询价的PO单号<br>2.工具将对该PO单号循环进行询价,直到所有商品均询价完成<br>3.如果运行过程中出现询价异常等弹框,手工关闭弹窗后脚本仍会继续执行之后的操作</body></html>");  
392 - }  
393 - }  
394 - });  
395 - selectScene.setModel(  
396 - new DefaultComboBoxModel(new String[] { "新增原厂商品", "新增市场商品", "发布团购", "采购商注册", "成品询价", "生成PO", "PO询价" }));  
397 - frmvBy.getContentPane().add(selectScene);  
398 -  
399 - JLabel label_3 = new JLabel("供应商名称:");  
400 - label_3.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
401 - label_3.setBounds(9, 15, 91, 15);  
402 - addOriginal.add(label_3);  
403 -  
404 - //供应商名称  
405 - supplierName = new JTextField();  
406 - supplierName.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
407 - supplierName.setForeground(Color.BLACK);  
408 - supplierName.setBounds(92, 10, 114, 25);  
409 - addOriginal.add(supplierName);  
410 - supplierName.setText(supplier);  
411 - supplierName.setColumns(10);  
412 -  
413 - //选择图片  
414 - JButton button = new JButton("选择图片");  
415 - button.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
416 - button.setBounds(91, 44, 91, 23);  
417 - addOriginal.add(button);  
418 -  
419 - JLabel lblSku = new JLabel("商品图片:");  
420 - lblSku.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
421 - lblSku.setBounds(22, 48, 70, 15);  
422 - addOriginal.add(lblSku);  
423 -  
424 - final JLabel label_7 = new JLabel("*必填");  
425 - label_7.setFont(new Font("微软雅黑", Font.PLAIN, 12));  
426 - label_7.setBounds(192, 48, 42, 15);  
427 - addOriginal.add(label_7);  
428 - label_7.setForeground(Color.RED);  
429 -  
430 - //图片地址  
431 - final JLabel picPath = new JLabel("");  
432 - picPath.setVisible(false);  
433 - addOriginal.add(picPath);  
434 -  
435 - JLabel label_5 = new JLabel("采购商编号:");  
436 - label_5.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
437 - label_5.setBounds(8, 15, 86, 15);  
438 - addMarket.add(label_5);  
439 -  
440 - //采购商编号  
441 - buyerNo2 = new JTextField();  
442 - buyerNo2.setBounds(93, 11, 114, 25);  
443 - addMarket.add(buyerNo2);  
444 - buyerNo2.setFont(new Font("宋体", Font.PLAIN, 14));  
445 - buyerNo2.setText(buyerNo);  
446 - buyerNo2.setColumns(10);  
447 -  
448 - //选择图片按钮  
449 - button.addActionListener(new ActionListener() {  
450 - public void actionPerformed(ActionEvent e) {  
451 - JFileChooser jf = new JFileChooser();  
452 - jf.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);  
453 - jf.showDialog(new JLabel(), "选择图片");  
454 - File file = jf.getSelectedFile();  
455 - String s = null;  
456 - try {  
457 - s = file.getAbsolutePath();  
458 - } catch (NullPointerException exception) {  
459 - }  
460 - if (s == "" || s == null) {  
461 - ja.append(getCurrentTime() + "您未选择图片,请选择图片\r\n");  
462 - } else {  
463 - ja.append(getCurrentTime() + "选择的图片为:" + s + "\r\n");  
464 - picPath.setText(s);  
465 - label_7.setText("已选");  
466 - }  
467 - }  
468 - });  
469 -  
470 - JLabel label_4 = new JLabel("浏览器:");  
471 - label_4.setBounds(38, 149, 62, 15);  
472 - label_4.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
473 - frmvBy.getContentPane().add(label_4);  
474 -  
475 - //开始按钮  
476 - JButton btnNewButton = new JButton("开 始");  
477 - btnNewButton.setBounds(551, 325, 101, 35);  
478 - frmvBy.getContentPane().add(btnNewButton);  
479 - btnNewButton.setFont(new Font("微软雅黑", Font.PLAIN, 17));  
480 -  
481 - JLabel lblEssav = new JLabel("ESSA自动化测试工具 V1.0.1");  
482 - lblEssav.setBounds(225, 10, 228, 29);  
483 - lblEssav.setFont(new Font("微软雅黑", Font.BOLD, 16));  
484 - frmvBy.getContentPane().add(lblEssav);  
485 -  
486 - JLabel lblwindowsjdkbug = new JLabel(  
487 - "<html><body>提示:1.建议使用版本号为68.0的Chrome浏览器<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.由于部分操作会用到鼠标事件,若运行时手动切换界面可能会导致运行出错</body></html>");  
488 - lblwindowsjdkbug.setFont(new Font("微软雅黑", Font.PLAIN, 12));  
489 - lblwindowsjdkbug.setBounds(25, 323, 456, 40);  
490 - frmvBy.getContentPane().add(lblwindowsjdkbug);  
491 -  
492 - JLabel Account = new JLabel("采购商账号:");  
493 - Account.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
494 - Account.setBounds(9, 10, 88, 15);  
495 - ToCart.add(Account);  
496 -  
497 - JLabel Password = new JLabel("密码:");  
498 - Password.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
499 - Password.setBounds(50, 41, 65, 15);  
500 - ToCart.add(Password);  
501 -  
502 - JLabel No = new JLabel("商品编号:");  
503 - No.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
504 - No.setBounds(22, 100, 88, 15);  
505 - ToCart.add(No);  
506 -  
507 - account = new JTextField();  
508 - account.setText(buyerAccount);  
509 - account.setFont(new Font("微软雅黑", Font.PLAIN, 12));  
510 - account.setBounds(92, 4, 130, 25);  
511 - ToCart.add(account);  
512 - account.setColumns(10);  
513 -  
514 - password = new JTextField();  
515 - password.setText("essa123");  
516 - password.setToolTipText("");  
517 - password.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
518 - password.setBounds(92, 37, 130, 25);  
519 - ToCart.add(password);  
520 - password.setColumns(10);  
521 -  
522 - //sku编号  
523 - SkuNo = new JTextArea();  
524 - SkuNo.setText("选填,勿填活动商品");  
525 - SkuNo.setForeground(Color.LIGHT_GRAY);  
526 - SkuNo.setFont(new Font("微软雅黑", Font.PLAIN, 12));  
527 - SkuNo.setLineWrap(true);  
528 - SkuNo.addMouseListener(new MouseAdapter() {  
529 - @Override  
530 - public void mouseClicked(MouseEvent e) {  
531 - if (SkuNo.getText().equals("选填,勿填活动商品") || SkuNo.getText().equals("选填,勿填非活动商品") ) {  
532 - SkuNo.setForeground(Color.black);  
533 - SkuNo.setText("");  
534 - }  
535 - }  
536 - });  
537 - SkuNo.setBounds(92, 100, 130, 25);  
538 - SkuNo.setBorder(new LineBorder(new java.awt.Color(127,157,185), 1, false));  
539 - ToCart.add(SkuNo);  
540 - SkuNo.setColumns(10);  
541 -  
542 - //商品类型  
543 - JLabel kind = new JLabel("商品类型:");  
544 - kind.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
545 - kind.setBounds(22, 75, 70, 15);  
546 - ToCart.add(kind);  
547 -  
548 - //非活动商品  
549 - JRadioButton notActivity = new JRadioButton("非活动");  
550 - notActivity.addActionListener(new ActionListener() {  
551 - public void actionPerformed(ActionEvent arg0) {  
552 - Model.setIsactivity(0);  
553 - SkuNo.setText("选填,勿填活动商品");  
554 - }  
555 - });  
556 - notActivity.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
557 - notActivity.setBounds(92, 71, 70, 23);  
558 - ToCart.add(notActivity);  
559 -  
560 - //活动商品  
561 - JRadioButton isActivity = new JRadioButton("活动");  
562 - isActivity.addActionListener(new ActionListener() {  
563 - public void actionPerformed(ActionEvent e) {  
564 - Model.setIsactivity(1);  
565 - SkuNo.setText("选填,勿填非活动商品");  
566 - }  
567 - });  
568 - isActivity.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
569 - isActivity.setBounds(165, 71, 64, 23);  
570 - ToCart.add(isActivity);  
571 -  
572 - //活动和非活动单选  
573 - ButtonGroup group1 = new ButtonGroup();  
574 - group1.add(notActivity);  
575 - group1.add(isActivity);  
576 - notActivity.setSelected(true);  
577 -  
578 - JLabel RegisterAccount = new JLabel("采购商邮箱:");  
579 - register.add(RegisterAccount);  
580 - RegisterAccount.setFont(new Font("微软雅黑", Font.PLAIN, 14));  
581 -  
582 - registerAccount = new JTextField();  
583 - registerAccount.setForeground(Color.LIGHT_GRAY);  
584 - registerAccount.setText("若不填写将自动生成");  
585 - registerAccount.addMouseListener(new MouseAdapter() {  
586 - @Override  
587 - public void mouseClicked(MouseEvent e) {  
588 - if (registerAccount.getText().equals("若不填写将自动生成")) {  
589 - registerAccount.setForeground(Color.black);  
590 - registerAccount.setText("");  
591 - }  
592 - }  
593 - });  
594 - register.add(registerAccount);  
595 - registerAccount.setFont(new Font("微软雅黑", Font.PLAIN, 13));  
596 - registerAccount.setColumns(10);  
597 -  
598 - btnNewButton.addActionListener(new ActionListener() {  
599 - public void actionPerformed(ActionEvent e) {  
600 - SwingWorker<Void, Void> worker = new SwingWorker<Void, Void>() {// 加入线程  
601 -  
602 - @Override  
603 - protected Void doInBackground() throws Exception {  
604 - String Environment = (String) selectSystem.getSelectedItem();  
605 - String Scene = (String) selectScene.getSelectedItem();  
606 - String Browser = (String) browser.getSelectedItem();  
607 - //记录用户输入的数据,下次读取  
608 - setData("supplier", supplierName.getText());  
609 - setData("buyerNo", buyerNo2.getText());  
610 - setData("buyerAccount", account.getText());  
611 - ja.append(getCurrentTime() + "程序正在启动中……切勿双击【开始】\r\n");  
612 - BrowserEngine.setInit(Environment, Browser);  
613 - TestNG testNG = new TestNG();  
614 - List<String> suites = new ArrayList<String>();  
615 - if (Scene == "新增原厂商品") {  
616 - AddOriginalGoodsPage.setSupplierName(supplierName.getText());  
617 - UpdatePicPage.setPicPath(picPath.getText());  
618 - suites.add(".\\resources\\suites\\addOriginalGoods.xml");// 图形界面  
619 - } else if (Scene == "新增市场商品") {  
620 - Model.setBuyerNo(buyerNo2.getText());  
621 - Model.setPicPath(picPath.getText());  
622 - Model.setSupplierName(supplierName.getText());  
623 - suites.add(".\\resources\\suites\\addMarketGoods.xml");// 图形界面  
624 - } else if (Scene == "发布团购") {  
625 - AddOriginalGoodsPage.setSupplierName(supplierName.getText());  
626 - UpdatePicPage.setPicPath(picPath.getText());  
627 - suites.add(".\\resources\\suites\\publishGroupPurchase.xml");// 图形界面  
628 - } else if (Scene == "采购商注册") {  
629 - if (!(registerAccount.getText().equals("")  
630 - || registerAccount.getText().equals("若不填写将自动生成"))) {  
631 - Model.setEmail(registerAccount.getText());  
632 - }  
633 - suites.add(".\\resources\\suites\\buyerRegister.xml");// 图形界面  
634 - } else if (Scene == "添加SKU至购物车") {// 暂时舍弃  
635 - Model.setBuyerAccount(account.getText());  
636 - Model.setBuyerPassword(password.getText());  
637 - Model.setSkuNo(SkuNo.getText());  
638 - suites.add(".\\resources\\suites\\addSkuToCart.xml");  
639 - } else if (Scene == "成品询价") {  
640 - Model.setBuyerAccount(account.getText());  
641 - Model.setBuyerPassword(password.getText());  
642 - Model.setSkuNo(SkuNo.getText());  
643 - if (Model.getIsactivity() == 1) {  
644 - suites.add(".\\resources\\suites\\activityInquiry.xml");  
645 - }else {  
646 - suites.add(".\\resources\\suites\\productInquiry.xml");  
647 - }  
648 - } else if (Scene == "生成PO") {  
649 - Model.setBuyerAccount(account.getText());  
650 - Model.setBuyerPassword(password.getText());  
651 - Model.setSkuNo(SkuNo.getText());  
652 - if (Model.getIsactivity() == 1) {  
653 - suites.add(".\\resources\\suites\\activitySendPO.xml");  
654 - }else {  
655 - suites.add(".\\resources\\suites\\sendPO.xml");  
656 - }  
657 - } else if (Scene == "PO询价") {  
658 - Model.setPoNum(po.getText());  
659 - suites.add(".\\resources\\suites\\POInquiry.xml");  
660 - }  
661 - testNG.setTestSuites(suites);  
662 - testNG.run();  
663 - ja.append(getCurrentTime() + "=======" + Scene + "场景,执行完毕!=======\r\n");  
664 - if (Scene == "新增原厂商品" || Scene == "新增市场商品" || Scene == "发布团购") {  
665 - no = Model.getSkuNo();  
666 - if (no != null) {  
667 - ja.append(getCurrentTime() + "SKU商品编号:" + no + "\r\n");  
668 - } else {  
669 - ja.append(getCurrentTime()  
670 - + "程序执行失败了!\r\n你可查看目录中test-output/index.html的测试报告,或者查看Log中的执行日志检查原因\r\n");  
671 - }  
672 - } else if (Scene == "采购商注册") {  
673 - String code = Model.getInvateCode();  
674 - String email = Model.getEmail();  
675 - if (code != null && email != null) {  
676 - ja.append(getCurrentTime() + "生成的邀请码:" + Model.getInvateCode() + "\r\n");  
677 - ja.append(getCurrentTime() + "新采购商邮箱:" + Model.getEmail() + "\r\n");  
678 - } else {  
679 - ja.append(getCurrentTime()  
680 - + "程序执行失败了!\r\n你可以分析目录中test-output/index.html的测试报告,或者查看目录中Log文件夹生成的执行日志\r\n");  
681 - }  
682 - } else if (Scene == "添加SKU至购物车") {  
683 - ja.append(getCurrentTime() + "所选采购商账号:" + Model.getBuyerAccount() + "\r\n");  
684 - ja.append(getCurrentTime() + "添加的SKU编号为:" + Model.getSkuNo() + "\r\n");  
685 - } else if (Scene == "成品询价") {  
686 - ja.append(getCurrentTime() + "采购商账号:" + Model.getBuyerAccount() + "\r\n");  
687 - ja.append(getCurrentTime() + "SKU编号:" + Model.getSkuNo() + "\r\n");  
688 - } else if (Scene == "生成PO") {  
689 - ja.append(getCurrentTime() + "采购商账号:" + Model.getBuyerAccount() + "\r\n");  
690 - ja.append(getCurrentTime() + "PO单号:" + Model.getPoNum() + "\r\n");  
691 - }  
692 - return null;  
693 - }  
694 - };  
695 - worker.execute();  
696 -  
697 - }  
698 - });  
699 -  
700 - }  
701 -}  
src/test/java/swing/icon.png deleted

15.6 KB

target/.gitignore deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -/classes/  
2 -/test-classes/  
target/classes/META-INF/MANIFEST.MF deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -Manifest-Version: 1.0  
2 -Built-By: Administrator  
3 -Build-Jdk: 1.8.0_181  
4 -Created-By: Maven Integration for Eclipse  
5 -  
target/classes/META-INF/maven/com.essatest/essa/pom.properties deleted
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -#Generated by Maven Integration for Eclipse  
2 -#Tue Oct 23 15:18:34 CST 2018  
3 -version=0.0.1-SNAPSHOT  
4 -groupId=com.essatest  
5 -m2e.projectName=EssaAuto  
6 -m2e.projectLocation=D\:\\WorkSpace\\EssaAuto  
7 -artifactId=essa  
target/classes/META-INF/maven/com.essatest/essa/pom.xml deleted
@@ -1,135 +0,0 @@ @@ -1,135 +0,0 @@
1 -<project xmlns="http://maven.apache.org/POM/4.0.0"  
2 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
3 - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  
4 - <modelVersion>4.0.0</modelVersion>  
5 -  
6 - <groupId>com.essatest</groupId>  
7 - <artifactId>essa</artifactId>  
8 - <version>0.0.1-SNAPSHOT</version>  
9 - <packaging>jar</packaging>  
10 -  
11 - <name>essa</name>  
12 - <url>http://maven.apache.org</url>  
13 -  
14 - <properties>  
15 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
16 - </properties>  
17 -  
18 - <dependencies>  
19 -  
20 - <dependency>  
21 - <groupId>org.testng</groupId>  
22 - <artifactId>testng</artifactId>  
23 - <version>6.14.3</version>  
24 - <!-- <scope>test</scope> -->  
25 - </dependency>  
26 -  
27 - <dependency>  
28 - <groupId>org.seleniumhq.selenium</groupId>  
29 - <artifactId>selenium-java</artifactId>  
30 - <version>3.11.0</version>  
31 - </dependency>  
32 -  
33 -  
34 - <dependency>  
35 - <groupId>org.seleniumhq.selenium</groupId>  
36 - <artifactId>selenium-firefox-driver</artifactId>  
37 - <version>3.11.0</version>  
38 - </dependency>  
39 -  
40 - <dependency>  
41 - <groupId>org.seleniumhq.selenium</groupId>  
42 - <artifactId>selenium-chrome-driver</artifactId>  
43 - <version>3.11.0</version>  
44 - </dependency>  
45 -  
46 - <dependency>  
47 - <groupId>org.seleniumhq.selenium</groupId>  
48 - <artifactId>selenium-safari-driver</artifactId>  
49 - <version>3.11.0</version>  
50 - </dependency>  
51 -  
52 - <dependency>  
53 - <groupId>org.seleniumhq.selenium</groupId>  
54 - <artifactId>selenium-ie-driver</artifactId>  
55 - <version>3.11.0</version>  
56 - </dependency>  
57 -  
58 -  
59 - <dependency>  
60 - <groupId>org.seleniumhq.selenium</groupId>  
61 - <artifactId>selenium-support</artifactId>  
62 - <version>2.46.0</version>  
63 - </dependency>  
64 -  
65 - <dependency>  
66 - <groupId>javax.mail</groupId>  
67 - <artifactId>mail</artifactId>  
68 - <version>1.4</version>  
69 - </dependency>  
70 -  
71 - <dependency>  
72 - <groupId>org.apache.commons</groupId>  
73 - <artifactId>commons-collections4</artifactId>  
74 - <version>4.1</version>  
75 - </dependency>  
76 -  
77 - <dependency>  
78 - <groupId>org.apache.poi</groupId>  
79 - <artifactId>poi</artifactId>  
80 - <version>3.14</version>  
81 - </dependency>  
82 -  
83 - <dependency>  
84 - <groupId>org.apache.poi</groupId>  
85 - <artifactId>poi-ooxml</artifactId>  
86 - <version>3.14</version>  
87 - </dependency>  
88 -  
89 - <dependency>  
90 - <groupId>org.apache.poi</groupId>  
91 - <artifactId>poi-ooxml-schemas</artifactId>  
92 - <version>3.14</version>  
93 - </dependency>  
94 -  
95 - <dependency>  
96 - <groupId>org.apache.commons</groupId>  
97 - <artifactId>commons-io</artifactId>  
98 - <version>1.3.2</version>  
99 - </dependency>  
100 -  
101 - <dependency>  
102 - <groupId>mysql</groupId>  
103 - <artifactId>mysql-connector-java</artifactId>  
104 - <version>6.0.6</version>  
105 - </dependency>  
106 - <dependency>  
107 - <groupId>org.dbunit</groupId>  
108 - <artifactId>dbunit</artifactId>  
109 - <version>2.5.4</version>  
110 - </dependency>  
111 - <dependency>  
112 - <groupId>jdom</groupId>  
113 - <artifactId>jdom</artifactId>  
114 - <version>1.0</version>  
115 - </dependency>  
116 - </dependencies>  
117 -  
118 - <build>  
119 - <plugins>  
120 - <plugin>  
121 - <groupId>org.apache.maven.plugins</groupId>  
122 - <artifactId>maven-surefire-plugin</artifactId>  
123 - <version>2.7.1</version>  
124 - <configuration>  
125 - <!--<testFailureIgnore>true</testFailureIgnore> -->  
126 - <suiteXmlFiles>  
127 - <suiteXmlFile>resources/suites/testng.xml</suiteXmlFile>  
128 - <!--此处testng.xml即为要运行的testng.xml文件 -->  
129 - </suiteXmlFiles>  
130 - </configuration>  
131 - </plugin>  
132 - </plugins>  
133 - </build>  
134 -  
135 -</project>  
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst deleted
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\testSuite\SendEmail.java  
2 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\framework\BasePage.java  
3 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\pageObject\HomePage.java  
4 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\framework\BrowserEngine.java  
5 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\framework\Logger.java  
6 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\pageObject\LoginPage.java  
7 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\framework\LogType.java  
8 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\pageObject\SupplierStrengthPage.java  
9 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\testSuite\Test_Login.java  
10 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\framework\ListenerSuite.java  
11 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\framework\SendEmail.java  
12 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\pageObject\BaseTest.java  
13 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\testSuite\Test_Development_Ability.java  
14 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\pageObject\SupplierOperationsTrackPage.java  
15 -C:\Users\Administrator\git\selenium_windows\src\test\java\com\essa\pageObject\NewProduct.java  
target/test-classes/com/essa/framework/BasePage.class deleted
No preview for this file type
target/test-classes/com/essa/framework/BrowserEngine.class deleted
No preview for this file type
target/test-classes/com/essa/framework/ListenerSuite.class deleted
No preview for this file type
target/test-classes/com/essa/framework/LogType$LogTypeName.class deleted
No preview for this file type
target/test-classes/com/essa/framework/LogType.class deleted
No preview for this file type
target/test-classes/com/essa/framework/Logger.class deleted
No preview for this file type
target/test-classes/com/essa/framework/SendEmail$1.class deleted
No preview for this file type
target/test-classes/com/essa/framework/SendEmail.class deleted
No preview for this file type
target/test-classes/com/essa/pageObject/BaseTest.class deleted
No preview for this file type
target/test-classes/com/essa/pageObject/HomePage.class deleted
No preview for this file type
target/test-classes/com/essa/pageObject/LoginPage.class deleted
No preview for this file type
target/test-classes/com/essa/pageObject/SupplierOperationsTrackPage.class deleted
No preview for this file type
target/test-classes/com/essa/pageObject/SupplierStrengthPage.class deleted
No preview for this file type
target/test-classes/com/essa/testSuite/SendEmail$1.class deleted
No preview for this file type
target/test-classes/com/essa/testSuite/SendEmail.class deleted
No preview for this file type
test-output/Default suite/Default test.html deleted
@@ -1,71 +0,0 @@ @@ -1,71 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: Default test</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>Default test</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Tue Oct 16 11:58:40 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>0 seconds (8 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -</body>  
71 -</html>  
72 \ No newline at end of file 0 \ No newline at end of file
test-output/Default suite/Default test.xml deleted
@@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="0" tests="0" failures="0" timestamp="16 十月 2018 03:58:40 GMT" time="0.008" errors="0">  
4 -</testsuite>  
test-output/Default suite/testng-failed.xml deleted
@@ -1,13 +0,0 @@ @@ -1,13 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite guice-stage="DEVELOPMENT" name="Failed suite [Default suite]">  
4 - <test thread-count="5" name="Default test(failed)">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestSelenium">  
7 - <methods>  
8 - <include name="testEssa"/>  
9 - </methods>  
10 - </class> <!-- com.essa.testSuite.TestSelenium -->  
11 - </classes>  
12 - </test> <!-- Default test(failed) -->  
13 -</suite> <!-- Failed suite [Default suite] -->  
test-output/bpms自动化测试/addOriginalGoods.html deleted
@@ -1,94 +0,0 @@ @@ -1,94 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: addOriginalGoods</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>addOriginalGoods</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Fri Aug 17 12:48:18 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>68 seconds (68748 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.TestAddOriginalGoods.auditOriginal()'><b>auditOriginal</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods</td>  
79 -<td></td>  
80 -<td>16</td>  
81 -<td>com.essa.testSuite.TestAddOriginalGoods@4a668b6e</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.TestAddOriginalGoods.toAddOriginalGoodsPage()'><b>toAddOriginalGoodsPage</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods</td>  
84 -<td></td>  
85 -<td>30</td>  
86 -<td>com.essa.testSuite.TestAddOriginalGoods@4a668b6e</td></tr>  
87 -<tr>  
88 -<td title='com.essa.testSuite.TestAddOriginalGoods.updatePic()'><b>updatePic</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods</td>  
89 -<td></td>  
90 -<td>12</td>  
91 -<td>com.essa.testSuite.TestAddOriginalGoods@4a668b6e</td></tr>  
92 -</table><p>  
93 -</body>  
94 -</html>  
95 \ No newline at end of file 0 \ No newline at end of file
test-output/bpms自动化测试/addOriginalGoods.xml deleted
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="addOriginalGoods" time="68.748" errors="0" timestamp="17 8月 2018 04:49:27 GMT">  
4 - <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="toAddOriginalGoodsPage" time="30.224"/>  
5 - <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="updatePic" time="12.571"/>  
6 - <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="auditOriginal" time="16.052"/>  
7 -</testsuite> <!-- addOriginalGoods -->  
test-output/bpms自动化测试/login.html deleted
@@ -1,89 +0,0 @@ @@ -1,89 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: login</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>login</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Mon Aug 13 10:09:58 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>13 seconds (13736 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: admin, essa123</td>  
79 -<td></td>  
80 -<td>2</td>  
81 -<td>com.essa.testSuite.Test_Login@5f16132a</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: linrong, essa123</td>  
84 -<td></td>  
85 -<td>2</td>  
86 -<td>com.essa.testSuite.Test_Login@5f16132a</td></tr>  
87 -</table><p>  
88 -</body>  
89 -</html>  
90 \ No newline at end of file 0 \ No newline at end of file
test-output/bpms自动化测试/login.xml deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="login" time="13.736" errors="0" timestamp="13 8月 2018 02:10:12 GMT">  
4 - <testcase classname="com.essa.testSuite.Test_Login" name="login" time="2.878"/>  
5 - <testcase classname="com.essa.testSuite.Test_Login" name="login" time="2.333"/>  
6 -</testsuite> <!-- login -->  
test-output/bpms自动化测试/testng-failed.xml deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite name="Failed suite [bpms自动化测试]" guice-stage="DEVELOPMENT">  
4 - <test thread-count="5" name="addOriginalGoods(failed)">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestAddOriginalGoods">  
7 - <methods>  
8 - <include name="auditOriginal"/>  
9 - <include name="setUp"/>  
10 - <include name="tearDown"/>  
11 - </methods>  
12 - </class> <!-- com.essa.testSuite.TestAddOriginalGoods -->  
13 - </classes>  
14 - </test> <!-- addOriginalGoods(failed) -->  
15 -</suite> <!-- Failed suite [bpms自动化测试] -->  
test-output/bpms自动化测试报告/login.html deleted
@@ -1,89 +0,0 @@ @@ -1,89 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: login</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>login</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Tue Apr 10 16:15:46 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>21 seconds (21610 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: admin, essa123</td>  
79 -<td></td>  
80 -<td>5</td>  
81 -<td>com.essa.testSuite.Test_Login@17cd7a0</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: linrong, essa123</td>  
84 -<td></td>  
85 -<td>4</td>  
86 -<td>com.essa.testSuite.Test_Login@17cd7a0</td></tr>  
87 -</table><p>  
88 -</body>  
89 -</html>  
90 \ No newline at end of file 0 \ No newline at end of file
test-output/bpms自动化测试报告/login.xml deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="DESKTOP-NIGE62D" ignored="0" name="login" tests="2" failures="0" timestamp="10 四月 2018 08:16:08 GMT" time="21.61" errors="0">  
4 - <testcase name="login" time="5.471" classname="com.essa.testSuite.Test_Login"/>  
5 - <testcase name="login" time="4.885" classname="com.essa.testSuite.Test_Login"/>  
6 -</testsuite> <!-- login -->  
test-output/bpms自动化测试报告/登录.html deleted
@@ -1,89 +0,0 @@ @@ -1,89 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: µÇ¼</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>µÇ¼</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Tue Apr 10 15:42:54 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>23 seconds (23496 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: admin, essa123</td>  
79 -<td></td>  
80 -<td>6</td>  
81 -<td>com.essa.testSuite.Test_Login@1205a84</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: linrong, essa123</td>  
84 -<td></td>  
85 -<td>5</td>  
86 -<td>com.essa.testSuite.Test_Login@1205a84</td></tr>  
87 -</table><p>  
88 -</body>  
89 -</html>  
90 \ No newline at end of file 0 \ No newline at end of file
test-output/bpms自动化测试报告/登录.xml deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="DESKTOP-NIGE62D" ignored="0" name="登录" tests="2" failures="0" timestamp="10 四月 2018 07:43:17 GMT" time="23.496" errors="0">  
4 - <testcase name="login" time="6.123" classname="com.essa.testSuite.Test_Login"/>  
5 - <testcase name="login" time="5.663" classname="com.essa.testSuite.Test_Login"/>  
6 -</testsuite> <!-- 登录 -->  
test-output/bullet_point.png deleted

356 Bytes

test-output/collapseall.gif deleted

157 Bytes

test-output/emailable-report.html deleted
@@ -1,21 +0,0 @@ @@ -1,21 +0,0 @@
1 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">  
2 -<html xmlns="http://www.w3.org/1999/xhtml">  
3 -<head>  
4 -<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>  
5 -<title>TestNG Report</title>  
6 -<style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}.invisible {display:none}</style>  
7 -</head>  
8 -<body>  
9 -<table>  
10 -<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>  
11 -<tr><th colspan="7">新增原厂商品</th></tr>  
12 -<tr><td><a href="#t0">addOriginalGoods</a></td><td class="num">4</td><td class="num">0</td><td class="num">0</td><td class="num">69,357</td><td></td><td></td></tr>  
13 -</table>  
14 -<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">新增原厂商品</th></tr></tbody><tbody id="t0"><tr><th colspan="4">addOriginalGoods &#8212; passed</th></tr><tr class="passedeven"><td rowspan="4">com.essa.testSuite.TestAddOriginalGoods</td><td><a href="#m0">auditOriginal</a></td><td rowspan="1">1540280132523</td><td rowspan="1">14207</td></tr><tr class="passedeven"><td><a href="#m1">getSkuNo</a></td><td rowspan="1">1540280146731</td><td rowspan="1">2285</td></tr><tr class="passedeven"><td><a href="#m2">toAddOriginalGoodsPage</a></td><td rowspan="1">1540280088278</td><td rowspan="1">29443</td></tr><tr class="passedeven"><td><a href="#m3">updatePic</a></td><td rowspan="1">1540280117723</td><td rowspan="1">14799</td></tr></tbody>  
15 -</table>  
16 -<h2>addOriginalGoods</h2><h3 id="m0">com.essa.testSuite.TestAddOriginalGoods#auditOriginal</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>  
17 -<h3 id="m1">com.essa.testSuite.TestAddOriginalGoods#getSkuNo</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>  
18 -<h3 id="m2">com.essa.testSuite.TestAddOriginalGoods#toAddOriginalGoodsPage</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>  
19 -<h3 id="m3">com.essa.testSuite.TestAddOriginalGoods#updatePic</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>  
20 -</body>  
21 -</html>  
test-output/failed.png deleted

977 Bytes

test-output/index.html deleted
@@ -1,316 +0,0 @@ @@ -1,316 +0,0 @@
1 -<!DOCTYPE html>  
2 -  
3 -<html>  
4 - <head>  
5 - <meta charset='utf-8'>  
6 - <title>TestNG reports</title>  
7 -  
8 - <link type="text/css" href="testng-reports.css" rel="stylesheet" />  
9 - <script type="text/javascript" src="jquery-1.7.1.min.js"></script>  
10 - <script type="text/javascript" src="testng-reports.js"></script>  
11 - <script type="text/javascript" src="https://www.google.com/jsapi"></script>  
12 - <script type='text/javascript'>  
13 - google.load('visualization', '1', {packages:['table']});  
14 - google.setOnLoadCallback(drawTable);  
15 - var suiteTableInitFunctions = new Array();  
16 - var suiteTableData = new Array();  
17 - </script>  
18 - <!--  
19 - <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>  
20 - -->  
21 - </head>  
22 -  
23 - <body>  
24 - <div class="top-banner-root">  
25 - <span class="top-banner-title-font">Test results</span>  
26 - <br/>  
27 - <span class="top-banner-font-1">1 suite</span>  
28 - </div> <!-- top-banner-root -->  
29 - <div class="navigator-root">  
30 - <div class="navigator-suite-header">  
31 - <span>All suites</span>  
32 - <a href="#" class="collapse-all-link" title="Collapse/expand all the suites">  
33 - <img class="collapse-all-icon" src="collapseall.gif">  
34 - </img> <!-- collapse-all-icon -->  
35 - </a> <!-- collapse-all-link -->  
36 - </div> <!-- navigator-suite-header -->  
37 - <div class="suite">  
38 - <div class="rounded-window">  
39 - <div class="suite-header light-rounded-window-top">  
40 - <a href="#" class="navigator-link" panel-name="suite-新增原厂商品">  
41 - <span class="suite-name border-passed">新增原厂商品</span>  
42 - </a> <!-- navigator-link -->  
43 - </div> <!-- suite-header light-rounded-window-top -->  
44 - <div class="navigator-suite-content">  
45 - <div class="suite-section-title">  
46 - <span>Info</span>  
47 - </div> <!-- suite-section-title -->  
48 - <div class="suite-section-content">  
49 - <ul>  
50 - <li>  
51 - <a href="#" class="navigator-link " panel-name="test-xml-新增原厂商品">  
52 - <span>D:\WorkSpace\EssaAuto\resources\suites\addOriginalGoods.xml</span>  
53 - </a> <!-- navigator-link -->  
54 - </li>  
55 - <li>  
56 - <a href="#" class="navigator-link " panel-name="testlist-新增原厂商品">  
57 - <span class="test-stats">1 test</span>  
58 - </a> <!-- navigator-link -->  
59 - </li>  
60 - <li>  
61 - <a href="#" class="navigator-link " panel-name="group-新增原厂商品">  
62 - <span>0 groups</span>  
63 - </a> <!-- navigator-link -->  
64 - </li>  
65 - <li>  
66 - <a href="#" class="navigator-link " panel-name="times-新增原厂商品">  
67 - <span>Times</span>  
68 - </a> <!-- navigator-link -->  
69 - </li>  
70 - <li>  
71 - <a href="#" class="navigator-link " panel-name="reporter-新增原厂商品">  
72 - <span>Reporter output</span>  
73 - </a> <!-- navigator-link -->  
74 - </li>  
75 - <li>  
76 - <a href="#" class="navigator-link " panel-name="ignored-methods-新增原厂商品">  
77 - <span>Ignored methods</span>  
78 - </a> <!-- navigator-link -->  
79 - </li>  
80 - <li>  
81 - <a href="#" class="navigator-link " panel-name="chronological-新增原厂商品">  
82 - <span>Chronological view</span>  
83 - </a> <!-- navigator-link -->  
84 - </li>  
85 - </ul>  
86 - </div> <!-- suite-section-content -->  
87 - <div class="result-section">  
88 - <div class="suite-section-title">  
89 - <span>Results</span>  
90 - </div> <!-- suite-section-title -->  
91 - <div class="suite-section-content">  
92 - <ul>  
93 - <li>  
94 - <span class="method-stats">4 methods, 4 passed</span>  
95 - </li>  
96 - <li>  
97 - <span class="method-list-title passed">Passed methods</span>  
98 - <span class="show-or-hide-methods passed">  
99 - <a href="#" panel-name="suite-新增原厂商品" class="hide-methods passed suite-新增原厂商品"> (hide)</a> <!-- hide-methods passed suite-新增原厂商品 -->  
100 - <a href="#" panel-name="suite-新增原厂商品" class="show-methods passed suite-新增原厂商品"> (show)</a> <!-- show-methods passed suite-新增原厂商品 -->  
101 - </span>  
102 - <div class="method-list-content passed suite-新增原厂商品">  
103 - <span>  
104 - <img width="3%" src="passed.png"/>  
105 - <a href="#" class="method navigator-link" panel-name="suite-新增原厂商品" title="com.essa.testSuite.TestAddOriginalGoods" hash-for-method="auditOriginal">auditOriginal</a> <!-- method navigator-link -->  
106 - </span>  
107 - <br/>  
108 - <span>  
109 - <img width="3%" src="passed.png"/>  
110 - <a href="#" class="method navigator-link" panel-name="suite-新增原厂商品" title="com.essa.testSuite.TestAddOriginalGoods" hash-for-method="getSkuNo">getSkuNo</a> <!-- method navigator-link -->  
111 - </span>  
112 - <br/>  
113 - <span>  
114 - <img width="3%" src="passed.png"/>  
115 - <a href="#" class="method navigator-link" panel-name="suite-新增原厂商品" title="com.essa.testSuite.TestAddOriginalGoods" hash-for-method="toAddOriginalGoodsPage">toAddOriginalGoodsPage</a> <!-- method navigator-link -->  
116 - </span>  
117 - <br/>  
118 - <span>  
119 - <img width="3%" src="passed.png"/>  
120 - <a href="#" class="method navigator-link" panel-name="suite-新增原厂商品" title="com.essa.testSuite.TestAddOriginalGoods" hash-for-method="updatePic">updatePic</a> <!-- method navigator-link -->  
121 - </span>  
122 - <br/>  
123 - </div> <!-- method-list-content passed suite-新增原厂商品 -->  
124 - </li>  
125 - </ul>  
126 - </div> <!-- suite-section-content -->  
127 - </div> <!-- result-section -->  
128 - </div> <!-- navigator-suite-content -->  
129 - </div> <!-- rounded-window -->  
130 - </div> <!-- suite -->  
131 - </div> <!-- navigator-root -->  
132 - <div class="wrapper">  
133 - <div class="main-panel-root">  
134 - <div panel-name="suite-新增原厂商品" class="panel 新增原厂商品">  
135 - <div class="suite-新增原厂商品-class-passed">  
136 - <div class="main-panel-header rounded-window-top">  
137 - <img src="passed.png"/>  
138 - <span class="class-name">com.essa.testSuite.TestAddOriginalGoods</span>  
139 - </div> <!-- main-panel-header rounded-window-top -->  
140 - <div class="main-panel-content rounded-window-bottom">  
141 - <div class="method">  
142 - <div class="method-content">  
143 - <a name="auditOriginal">  
144 - </a> <!-- auditOriginal -->  
145 - <span class="method-name">auditOriginal</span>  
146 - <em>  
147 -(原厂商品审核) </em>  
148 - </div> <!-- method-content -->  
149 - </div> <!-- method -->  
150 - <div class="method">  
151 - <div class="method-content">  
152 - <a name="getSkuNo">  
153 - </a> <!-- getSkuNo -->  
154 - <span class="method-name">getSkuNo</span>  
155 - <em>  
156 -(去商品库获取添加的sku编号) </em>  
157 - </div> <!-- method-content -->  
158 - </div> <!-- method -->  
159 - <div class="method">  
160 - <div class="method-content">  
161 - <a name="toAddOriginalGoodsPage">  
162 - </a> <!-- toAddOriginalGoodsPage -->  
163 - <span class="method-name">toAddOriginalGoodsPage</span>  
164 - <em>  
165 -(原厂商品建档) </em>  
166 - </div> <!-- method-content -->  
167 - </div> <!-- method -->  
168 - <div class="method">  
169 - <div class="method-content">  
170 - <a name="updatePic">  
171 - </a> <!-- updatePic -->  
172 - <span class="method-name">updatePic</span>  
173 - <em>  
174 -(更新图片) </em>  
175 - </div> <!-- method-content -->  
176 - </div> <!-- method -->  
177 - </div> <!-- main-panel-content rounded-window-bottom -->  
178 - </div> <!-- suite-新增原厂商品-class-passed -->  
179 - </div> <!-- panel 新增原厂商品 -->  
180 - <div panel-name="test-xml-新增原厂商品" class="panel">  
181 - <div class="main-panel-header rounded-window-top">  
182 - <span class="header-content">D:\WorkSpace\EssaAuto\resources\suites\addOriginalGoods.xml</span>  
183 - </div> <!-- main-panel-header rounded-window-top -->  
184 - <div class="main-panel-content rounded-window-bottom">  
185 - <pre>  
186 -&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;  
187 -&lt;!DOCTYPE suite SYSTEM &quot;http://testng.org/testng-1.0.dtd&quot;&gt;  
188 -&lt;suite guice-stage=&quot;DEVELOPMENT&quot; name=&quot;新增原厂商品&quot;&gt;  
189 - &lt;test thread-count=&quot;5&quot; name=&quot;addOriginalGoods&quot;&gt;  
190 - &lt;classes&gt;  
191 - &lt;class name=&quot;com.essa.testSuite.TestAddOriginalGoods&quot;&gt;  
192 - &lt;methods&gt;  
193 - &lt;include name=&quot;toAddOriginalGoodsPage&quot;/&gt;  
194 - &lt;include name=&quot;toGoodsRelesePage&quot;/&gt;  
195 - &lt;include name=&quot;updatePic&quot;/&gt;  
196 - &lt;include name=&quot;auditOriginal&quot;/&gt;  
197 - &lt;include name=&quot;getSkuNo&quot;/&gt;  
198 - &lt;/methods&gt;  
199 - &lt;/class&gt; &lt;!-- com.essa.testSuite.TestAddOriginalGoods --&gt;  
200 - &lt;/classes&gt;  
201 - &lt;/test&gt; &lt;!-- addOriginalGoods --&gt;  
202 -&lt;/suite&gt; &lt;!-- 新增原厂商品 --&gt;  
203 - </pre>  
204 - </div> <!-- main-panel-content rounded-window-bottom -->  
205 - </div> <!-- panel -->  
206 - <div panel-name="testlist-新增原厂商品" class="panel">  
207 - <div class="main-panel-header rounded-window-top">  
208 - <span class="header-content">Tests for 新增原厂商品</span>  
209 - </div> <!-- main-panel-header rounded-window-top -->  
210 - <div class="main-panel-content rounded-window-bottom">  
211 - <ul>  
212 - <li>  
213 - <span class="test-name">addOriginalGoods (1 class)</span>  
214 - </li>  
215 - </ul>  
216 - </div> <!-- main-panel-content rounded-window-bottom -->  
217 - </div> <!-- panel -->  
218 - <div panel-name="group-新增原厂商品" class="panel">  
219 - <div class="main-panel-header rounded-window-top">  
220 - <span class="header-content">Groups for 新增原厂商品</span>  
221 - </div> <!-- main-panel-header rounded-window-top -->  
222 - <div class="main-panel-content rounded-window-bottom">  
223 - </div> <!-- main-panel-content rounded-window-bottom -->  
224 - </div> <!-- panel -->  
225 - <div panel-name="times-新增原厂商品" class="panel">  
226 - <div class="main-panel-header rounded-window-top">  
227 - <span class="header-content">Times for 新增原厂商品</span>  
228 - </div> <!-- main-panel-header rounded-window-top -->  
229 - <div class="main-panel-content rounded-window-bottom">  
230 - <div class="times-div">  
231 - <script type="text/javascript">  
232 -suiteTableInitFunctions.push('tableData_新增原厂商品');  
233 -function tableData_新增原厂商品() {  
234 -var data = new google.visualization.DataTable();  
235 -data.addColumn('number', 'Number');  
236 -data.addColumn('string', 'Method');  
237 -data.addColumn('string', 'Class');  
238 -data.addColumn('number', 'Time (ms)');  
239 -data.addRows(4);  
240 -data.setCell(0, 0, 0)  
241 -data.setCell(0, 1, 'toAddOriginalGoodsPage')  
242 -data.setCell(0, 2, 'com.essa.testSuite.TestAddOriginalGoods')  
243 -data.setCell(0, 3, 29443);  
244 -data.setCell(1, 0, 1)  
245 -data.setCell(1, 1, 'updatePic')  
246 -data.setCell(1, 2, 'com.essa.testSuite.TestAddOriginalGoods')  
247 -data.setCell(1, 3, 14799);  
248 -data.setCell(2, 0, 2)  
249 -data.setCell(2, 1, 'auditOriginal')  
250 -data.setCell(2, 2, 'com.essa.testSuite.TestAddOriginalGoods')  
251 -data.setCell(2, 3, 14207);  
252 -data.setCell(3, 0, 3)  
253 -data.setCell(3, 1, 'getSkuNo')  
254 -data.setCell(3, 2, 'com.essa.testSuite.TestAddOriginalGoods')  
255 -data.setCell(3, 3, 2285);  
256 -window.suiteTableData['新增原厂商品']= { tableData: data, tableDiv: 'times-div-新增原厂商品'}  
257 -return data;  
258 -}  
259 - </script>  
260 - <span class="suite-total-time">Total running time: 1 minutes</span>  
261 - <div id="times-div-新增原厂商品">  
262 - </div> <!-- times-div-新增原厂商品 -->  
263 - </div> <!-- times-div -->  
264 - </div> <!-- main-panel-content rounded-window-bottom -->  
265 - </div> <!-- panel -->  
266 - <div panel-name="reporter-新增原厂商品" class="panel">  
267 - <div class="main-panel-header rounded-window-top">  
268 - <span class="header-content">Reporter output for 新增原厂商品</span>  
269 - </div> <!-- main-panel-header rounded-window-top -->  
270 - <div class="main-panel-content rounded-window-bottom">  
271 - </div> <!-- main-panel-content rounded-window-bottom -->  
272 - </div> <!-- panel -->  
273 - <div panel-name="ignored-methods-新增原厂商品" class="panel">  
274 - <div class="main-panel-header rounded-window-top">  
275 - <span class="header-content">0 ignored methods</span>  
276 - </div> <!-- main-panel-header rounded-window-top -->  
277 - <div class="main-panel-content rounded-window-bottom">  
278 - </div> <!-- main-panel-content rounded-window-bottom -->  
279 - </div> <!-- panel -->  
280 - <div panel-name="chronological-新增原厂商品" class="panel">  
281 - <div class="main-panel-header rounded-window-top">  
282 - <span class="header-content">Methods in chronological order</span>  
283 - </div> <!-- main-panel-header rounded-window-top -->  
284 - <div class="main-panel-content rounded-window-bottom">  
285 - <div class="chronological-class">  
286 - <div class="chronological-class-name">com.essa.testSuite.TestAddOriginalGoods</div> <!-- chronological-class-name -->  
287 - <div class="configuration-class before">  
288 - <span class="method-name">setUp</span>  
289 - <span class="method-start">0 ms</span>  
290 - </div> <!-- configuration-class before -->  
291 - <div class="test-method">  
292 - <span class="method-name">toAddOriginalGoodsPage</span>  
293 - <span class="method-start">7840 ms</span>  
294 - </div> <!-- test-method -->  
295 - <div class="test-method">  
296 - <span class="method-name">updatePic</span>  
297 - <span class="method-start">37285 ms</span>  
298 - </div> <!-- test-method -->  
299 - <div class="test-method">  
300 - <span class="method-name">auditOriginal</span>  
301 - <span class="method-start">52085 ms</span>  
302 - </div> <!-- test-method -->  
303 - <div class="test-method">  
304 - <span class="method-name">getSkuNo</span>  
305 - <span class="method-start">66293 ms</span>  
306 - </div> <!-- test-method -->  
307 - <div class="configuration-class after">  
308 - <span class="method-name">tearDown</span>  
309 - <span class="method-start">68578 ms</span>  
310 - </div> <!-- configuration-class after -->  
311 - </div> <!-- main-panel-content rounded-window-bottom -->  
312 - </div> <!-- panel -->  
313 - </div> <!-- main-panel-root -->  
314 - </div> <!-- wrapper -->  
315 - </body>  
316 -</html>  
test-output/jquery-1.7.1.min.js deleted
@@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
1 -/*! jQuery v1.7.1 jquery.com | jquery.org/license */  
2 -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};  
3 -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()  
4 -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);  
5 \ No newline at end of file 0 \ No newline at end of file
test-output/junitreports/TEST-com.buyer.testSuite.TestAddToCart.xml deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.buyer.testSuite.TestAddToCart" tests="1" failures="0" timestamp="23 十月 2018 07:22:28 GMT" time="8.120" errors="0">  
4 - <testcase name="addSku" time="8.120" classname="com.buyer.testSuite.TestAddToCart"/>  
5 -</testsuite> <!-- com.buyer.testSuite.TestAddToCart -->  
test-output/junitreports/TEST-com.buyer.testSuite.TestBuyGoods.xml deleted
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.buyer.testSuite.TestBuyGoods" time="1.128" errors="1" timestamp="31 8月 2018 03:50:46 GMT" skipped="0">  
4 - <testcase classname="com.buyer.testSuite.TestBuyGoods" name="keywordToCart" time="1.128">  
5 - <error type="java.lang.NullPointerException">  
6 - <![CDATA[java.lang.NullPointerException  
7 -at com.buyer.pageObject.IndexPage.keywordSearch(IndexPage.java:89)  
8 -at com.buyer.testSuite.TestBuyGoods.keywordToCart(TestBuyGoods.java:46)  
9 -at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
10 -at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
11 -at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
12 -at java.base/java.lang.reflect.Method.invoke(Method.java:564)  
13 -at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)  
14 -at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)  
15 -at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)  
16 -at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)  
17 -at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)  
18 -at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)  
19 -at org.testng.TestRunner.privateRun(TestRunner.java:648)  
20 -at org.testng.TestRunner.run(TestRunner.java:505)  
21 -at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)  
22 -at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)  
23 -at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)  
24 -at org.testng.SuiteRunner.run(SuiteRunner.java:364)  
25 -at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)  
26 -at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)  
27 -at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)  
28 -at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)  
29 -at org.testng.TestNG.runSuites(TestNG.java:1049)  
30 -at org.testng.TestNG.run(TestNG.java:1017)  
31 -at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)  
32 -at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)  
33 -at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)  
34 -]]>  
35 - </error>  
36 - </testcase> <!-- keywordToCart -->  
37 -</testsuite> <!-- com.buyer.testSuite.TestBuyGoods -->  
test-output/junitreports/TEST-com.buyer.testSuite.TestRegister.xml deleted
@@ -1,44 +0,0 @@ @@ -1,44 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.buyer.testSuite.TestRegister" tests="1" failures="1" timestamp="30 九月 2018 09:50:48 GMT" time="16.367" errors="0">  
4 - <testcase name="register" time="16.367" classname="com.buyer.testSuite.TestRegister">  
5 - <failure type="java.lang.AssertionError" message="The following asserts failed:  
6 - 采购商注册失败了! expected [true] but found [false]">  
7 - <![CDATA[java.lang.AssertionError: The following asserts failed:  
8 -采购商注册失败了! expected [true] but found [false]  
9 -at org.testng.asserts.SoftAssert.assertAll(SoftAssert.java:43)  
10 -at com.buyer.testSuite.TestRegister.register(TestRegister.java:39)  
11 -at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
12 -at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
13 -at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
14 -at java.lang.reflect.Method.invoke(Unknown Source)  
15 -at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)  
16 -at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)  
17 -at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)  
18 -at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)  
19 -at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)  
20 -at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)  
21 -at org.testng.TestRunner.privateRun(TestRunner.java:648)  
22 -at org.testng.TestRunner.run(TestRunner.java:505)  
23 -at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)  
24 -at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)  
25 -at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)  
26 -at org.testng.SuiteRunner.run(SuiteRunner.java:364)  
27 -at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)  
28 -at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)  
29 -at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)  
30 -at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)  
31 -at org.testng.TestNG.runSuites(TestNG.java:1049)  
32 -at org.testng.TestNG.run(TestNG.java:1017)  
33 -at swing.SwingMain$9$1.doInBackground(SwingMain.java:662)  
34 -at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
35 -at javax.swing.SwingWorker$1.call(Unknown Source)  
36 -at java.util.concurrent.FutureTask.run(Unknown Source)  
37 -at javax.swing.SwingWorker.run(Unknown Source)  
38 -at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
39 -at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
40 -at java.lang.Thread.run(Unknown Source)  
41 -]]>  
42 - </failure>  
43 - </testcase> <!-- register -->  
44 -</testsuite> <!-- com.buyer.testSuite.TestRegister -->  
test-output/junitreports/TEST-com.buyer.testSuite.TestSendPO.xml deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.buyer.testSuite.TestSendPO" tests="2" failures="0" timestamp="23 十月 2018 07:22:28 GMT" time="45.319" errors="0">  
4 - <testcase name="conslidation" time="28.233" classname="com.buyer.testSuite.TestSendPO"/>  
5 - <testcase name="sendPO" time="17.086" classname="com.buyer.testSuite.TestSendPO"/>  
6 -</testsuite> <!-- com.buyer.testSuite.TestSendPO -->  
test-output/junitreports/TEST-com.essa.testSuite.TestAddMarketGoods.xml deleted
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.essa.testSuite.TestAddMarketGoods" tests="3" failures="0" timestamp="30 九月 2018 09:45:52 GMT" time="59.548" errors="0">  
4 - <testcase name="auditMarketGoods" time="16.637" classname="com.essa.testSuite.TestAddMarketGoods"/>  
5 - <testcase name="addMarketGoods" time="37.398" classname="com.essa.testSuite.TestAddMarketGoods"/>  
6 - <testcase name="toMarketGoodsRelesePage" time="5.513" classname="com.essa.testSuite.TestAddMarketGoods"/>  
7 -</testsuite> <!-- com.essa.testSuite.TestAddMarketGoods -->  
test-output/junitreports/TEST-com.essa.testSuite.TestAddOriginalGoods.xml deleted
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.essa.testSuite.TestAddOriginalGoods" tests="4" failures="0" timestamp="23 十月 2018 07:35:49 GMT" time="60.734" errors="0">  
4 - <testcase name="auditOriginal" time="14.207" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
5 - <testcase name="toAddOriginalGoodsPage" time="29.443" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
6 - <testcase name="updatePic" time="14.799" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
7 - <testcase name="getSkuNo" time="2.285" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
8 -</testsuite> <!-- com.essa.testSuite.TestAddOriginalGoods -->  
test-output/junitreports/TEST-com.essa.testSuite.TestGenrateCode.xml deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.essa.testSuite.TestGenrateCode" tests="1" failures="0" timestamp="30 九月 2018 09:50:48 GMT" time="5.161" errors="0">  
4 - <testcase name="genrateCode" time="5.161" classname="com.essa.testSuite.TestGenrateCode"/>  
5 -</testsuite> <!-- com.essa.testSuite.TestGenrateCode -->  
test-output/junitreports/TEST-com.essa.testSuite.TestGroupPurchase.xml deleted
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.essa.testSuite.TestGroupPurchase" tests="3" failures="0" timestamp="30 九月 2018 09:49:37 GMT" time="37.851" errors="0">  
4 - <testcase name="SkuCategoryManagerCongfig" time="5.388" classname="com.essa.testSuite.TestGroupPurchase"/>  
5 - <testcase name="isPublish" time="4.499" classname="com.essa.testSuite.TestGroupPurchase"/>  
6 - <testcase name="publishGroupPurchase" time="27.964" classname="com.essa.testSuite.TestGroupPurchase"/>  
7 -</testsuite> <!-- com.essa.testSuite.TestGroupPurchase -->  
test-output/junitreports/TEST-com.essa.testSuite.TestProductInquiry.xml deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite skipped="0" hostname="4F5EY2X7DB7A4UR" name="com.essa.testSuite.TestProductInquiry" tests="1" failures="0" timestamp="23 十月 2018 07:22:28 GMT" time="16.265" errors="0">  
4 - <testcase name="productInquiry" time="16.265" classname="com.essa.testSuite.TestProductInquiry"/>  
5 -</testsuite> <!-- com.essa.testSuite.TestProductInquiry -->  
test-output/junitreports/TEST-com.essa.testSuite.Test_Login.xml deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitReportReporter -->  
3 -<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="com.essa.testSuite.Test_Login" time="5.211" errors="0" timestamp="13 8月 2018 02:10:12 GMT" skipped="0">  
4 - <testcase classname="com.essa.testSuite.Test_Login" name="login" time="2.333"/>  
5 - <testcase classname="com.essa.testSuite.Test_Login" name="login" time="2.878"/>  
6 -</testsuite> <!-- com.essa.testSuite.Test_Login -->  
test-output/navigator-bullet.png deleted

352 Bytes

test-output/old/Default suite/Default test.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=Default test]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/Default suite/classes.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr></table>  
test-output/old/Default suite/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/Default suite/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for Default suite</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/Default suite/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for Default suite</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/Default suite/methods-alphabetical.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -</table>  
test-output/old/Default suite/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/Default suite/methods.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -</table>  
test-output/old/Default suite/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/Default suite/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt; <br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt; <br/>&lt;suite&nbsp;guice-stage="DEVELOPMENT"&nbsp;name="Default&nbsp;suite"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;verbose="2"&nbsp;name="Default&nbsp;test"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestSelenium"&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="testEssa"/&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.essa.testSuite.TestSelenium&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;test&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;suite&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/Default suite/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for Default suite</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>Default suite</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>0 class</a></td>  
13 -<td>0 method:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-failed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>Default test (0/0/0)</td><td valign='top' align='right'>  
26 - <a href='Default test.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/classes.html deleted
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.Test_Login</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>login</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td align='center' colspan='3'>@BeforeClass</td>  
18 -</tr>  
19 -<tr>  
20 -<td>&nbsp;</td>  
21 -<td>setUp</td>  
22 -<td>&nbsp;</td></tr>  
23 -<tr>  
24 -<td align='center' colspan='3'>@BeforeMethod</td>  
25 -</tr>  
26 -<tr>  
27 -<td align='center' colspan='3'>@AfterMethod</td>  
28 -</tr>  
29 -<tr>  
30 -<td align='center' colspan='3'>@AfterClass</td>  
31 -</tr>  
32 -<tr>  
33 -<td>&nbsp;</td>  
34 -<td>tearDown</td>  
35 -<td>&nbsp;</td></tr>  
36 -</table>  
test-output/old/bpms-test/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for bpms-test</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/bpms-test/login.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=login]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for bpms-test</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/bpms-test/methods-alphabetical.html deleted
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>bpms-test</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="99f37e"> <td>18/04/10 16:09:00</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
5 - <td>main@21116517</td> <td></td> </tr>  
6 -<tr bgcolor="99f37e"> <td>18/04/10 16:09:05</td> <td>5158</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
7 - <td>main@21116517</td> <td></td> </tr>  
8 -<tr bgcolor="99f37e"> <td>18/04/10 16:08:50</td> <td>-9795</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&gt;&gt;setUp</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
10 -<tr bgcolor="99f37e"> <td>18/04/10 16:09:10</td> <td>9512</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&lt;&lt;tearDown</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
12 -</table>  
test-output/old/bpms-test/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/methods.html deleted
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>bpms-test</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="99f37e"> <td>18/04/10 16:08:50</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
6 -<tr bgcolor="99f37e"> <td>18/04/10 16:09:00</td> <td>9795</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
7 - <td>main@21116517</td> <td></td> </tr>  
8 -<tr bgcolor="99f37e"> <td>18/04/10 16:09:05</td> <td>14953</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
9 - <td>main@21116517</td> <td></td> </tr>  
10 -<tr bgcolor="99f37e"> <td>18/04/10 16:09:10</td> <td>19307</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&lt;&lt;tearDown</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
12 -</table>  
test-output/old/bpms-test/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for bpms-test</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;guice-stage="DEVELOPMENT"&nbsp;name="bpms-test"&gt; <br/>&nbsp;&nbsp;&lt;listeners&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;listener&nbsp;class-name="com.essa.framework.ListenerSuite"/&gt; <br/>&nbsp;&nbsp;&lt;/listeners&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="login"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.Test_Login"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;login&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;bpms-test&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for bpms-test</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>bpms-test</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>1 class</a></td>  
13 -<td>1 method:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>login (2/0/0)</td><td valign='top' align='right'>  
26 - <a href='login.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms-test/登录.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=µÇ¼]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/addOriginalGoods.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=addOriginalGoods]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/classes.html deleted
@@ -1,44 +0,0 @@ @@ -1,44 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestAddOriginalGoods</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>updatePic</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td>&nbsp;</td>  
18 -<td>toAddOriginalGoodsPage</td>  
19 -<td>&nbsp;</td></tr>  
20 -<tr>  
21 -<td>&nbsp;</td>  
22 -<td>auditOriginal</td>  
23 -<td>&nbsp;</td></tr>  
24 -<tr>  
25 -<td align='center' colspan='3'>@BeforeClass</td>  
26 -</tr>  
27 -<tr>  
28 -<td>&nbsp;</td>  
29 -<td>setUp</td>  
30 -<td>&nbsp;</td></tr>  
31 -<tr>  
32 -<td align='center' colspan='3'>@BeforeMethod</td>  
33 -</tr>  
34 -<tr>  
35 -<td align='center' colspan='3'>@AfterMethod</td>  
36 -</tr>  
37 -<tr>  
38 -<td align='center' colspan='3'>@AfterClass</td>  
39 -</tr>  
40 -<tr>  
41 -<td>&nbsp;</td>  
42 -<td>tearDown</td>  
43 -<td>&nbsp;</td></tr>  
44 -</table>  
test-output/old/bpms自动化测试/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for bpms×Ô¶¯»¯²âÊÔ</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/bpms自动化测试/login.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=login]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for bpms×Ô¶¯»¯²âÊÔ</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/bpms自动化测试/methods-alphabetical.html deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9fedbd"> <td>18/08/17 12:49:10</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">auditOriginal</td>  
5 - <td>main@38262958</td> <td></td> </tr>  
6 -<tr bgcolor="9fedbd"> <td>18/08/17 12:48:18</td> <td>-51906</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">&gt;&gt;setUp</td>  
7 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@38262958</td> <td></td> </tr>  
8 -<tr bgcolor="9fedbd"> <td>18/08/17 12:49:26</td> <td>16056</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@38262958</td> <td></td> </tr>  
10 -<tr bgcolor="9fedbd"> <td>18/08/17 12:48:27</td> <td>-42801</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">toAddOriginalGoodsPage</td>  
11 - <td>main@38262958</td> <td></td> </tr>  
12 -<tr bgcolor="9fedbd"> <td>18/08/17 12:48:58</td> <td>-12574</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">updatePic</td>  
13 - <td>main@38262958</td> <td></td> </tr>  
14 -</table>  
test-output/old/bpms自动化测试/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/methods.html deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9fedbd"> <td>18/08/17 12:48:18</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@38262958</td> <td></td> </tr>  
6 -<tr bgcolor="9fedbd"> <td>18/08/17 12:48:27</td> <td>9105</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">toAddOriginalGoodsPage</td>  
7 - <td>main@38262958</td> <td></td> </tr>  
8 -<tr bgcolor="9fedbd"> <td>18/08/17 12:48:58</td> <td>39332</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">updatePic</td>  
9 - <td>main@38262958</td> <td></td> </tr>  
10 -<tr bgcolor="9fedbd"> <td>18/08/17 12:49:10</td> <td>51906</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">auditOriginal</td>  
11 - <td>main@38262958</td> <td></td> </tr>  
12 -<tr bgcolor="9fedbd"> <td>18/08/17 12:49:26</td> <td>67962</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@4a668b6e]">&lt;&lt;tearDown</td>  
13 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@38262958</td> <td></td> </tr>  
14 -</table>  
test-output/old/bpms自动化测试/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for bpms自动化测试</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="bpms自动化测试"&nbsp;guice-stage="DEVELOPMENT"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="addOriginalGoods"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestAddOriginalGoods"&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="toAddOriginalGoodsPage"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="toGoodsRelesePage"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="updatePic"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="auditOriginal"/&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.essa.testSuite.TestAddOriginalGoods&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;addOriginalGoods&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;bpms自动化测试&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for bpms×Ô¶¯»¯²âÊÔ</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>bpms×Ô¶¯»¯²âÊÔ</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>1 class</a></td>  
13 -<td>3 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>addOriginalGoods (3/0/0)</td><td valign='top' align='right'>  
26 - <a href='addOriginalGoods.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/classes.html deleted
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.Test_Login</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>login</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td align='center' colspan='3'>@BeforeClass</td>  
18 -</tr>  
19 -<tr>  
20 -<td>&nbsp;</td>  
21 -<td>setUp</td>  
22 -<td>&nbsp;</td></tr>  
23 -<tr>  
24 -<td align='center' colspan='3'>@BeforeMethod</td>  
25 -</tr>  
26 -<tr>  
27 -<td align='center' colspan='3'>@AfterMethod</td>  
28 -</tr>  
29 -<tr>  
30 -<td align='center' colspan='3'>@AfterClass</td>  
31 -</tr>  
32 -<tr>  
33 -<td>&nbsp;</td>  
34 -<td>tearDown</td>  
35 -<td>&nbsp;</td></tr>  
36 -</table>  
test-output/old/bpms自动化测试报告/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for bpms×Ô¶¯»¯²âÊÔ±¨¸æ</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/bpms自动化测试报告/login.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=login]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for bpms×Ô¶¯»¯²âÊÔ±¨¸æ</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/bpms自动化测试报告/methods-alphabetical.html deleted
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ±¨¸æ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="99f37e"> <td>18/04/10 16:15:56</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
5 - <td>main@21116517</td> <td></td> </tr>  
6 -<tr bgcolor="99f37e"> <td>18/04/10 16:16:01</td> <td>5474</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
7 - <td>main@21116517</td> <td></td> </tr>  
8 -<tr bgcolor="99f37e"> <td>18/04/10 16:15:46</td> <td>-10016</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&gt;&gt;setUp</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
10 -<tr bgcolor="99f37e"> <td>18/04/10 16:16:06</td> <td>10366</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&lt;&lt;tearDown</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
12 -</table>  
test-output/old/bpms自动化测试报告/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/methods.html deleted
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ±¨¸æ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="99f37e"> <td>18/04/10 16:15:46</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
6 -<tr bgcolor="99f37e"> <td>18/04/10 16:15:56</td> <td>10016</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
7 - <td>main@21116517</td> <td></td> </tr>  
8 -<tr bgcolor="99f37e"> <td>18/04/10 16:16:01</td> <td>15490</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">login</td>  
9 - <td>main@21116517</td> <td></td> </tr>  
10 -<tr bgcolor="99f37e"> <td>18/04/10 16:16:06</td> <td>20382</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@17cd7a0]">&lt;&lt;tearDown</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>main@21116517</td> <td></td> </tr>  
12 -</table>  
test-output/old/bpms自动化测试报告/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for bpms自动化测试报告</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;guice-stage="DEVELOPMENT"&nbsp;name="bpms自动化测试报告"&gt; <br/>&nbsp;&nbsp;&lt;listeners&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;listener&nbsp;class-name="com.essa.framework.ListenerSuite"/&gt; <br/>&nbsp;&nbsp;&lt;/listeners&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="login"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.Test_Login"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;login&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;bpms自动化测试报告&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for bpms自动化测试报告</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>bpms自动化测试报告</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>1 class</a></td>  
13 -<td>1 method:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>login (2/0/0)</td><td valign='top' align='right'>  
26 - <a href='login.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/bpms自动化测试报告/登录.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=µÇ¼]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/index.html deleted
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -<html>  
2 -<head><title></title><link href="./testng.css" rel="stylesheet" type="text/css" />  
3 -<link href="./my-testng.css" rel="stylesheet" type="text/css" />  
4 -</head><body>  
5 -<h2><p align='center'>Test results</p></h2>  
6 -<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>  
7 -<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>4</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>  
8 -<tr align='center' class='invocation-passed'><td><a href='新增原厂商品/index.html'>新增原厂商品</a></td>  
9 -<td>4</td><td>0</td><td>0</td><td><a href='新增原厂商品/testng.xml.html'>Link</a></td></tr></table></body></html>  
test-output/old/发布团购商品/classes.html deleted
@@ -1,86 +0,0 @@ @@ -1,86 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestGroupPurchase</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>SkuCategoryManagerCongfig</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td>&nbsp;</td>  
18 -<td>isPublish</td>  
19 -<td>&nbsp;</td></tr>  
20 -<tr>  
21 -<td>&nbsp;</td>  
22 -<td>publishGroupPurchase</td>  
23 -<td>&nbsp;</td></tr>  
24 -<tr>  
25 -<td align='center' colspan='3'>@BeforeClass</td>  
26 -</tr>  
27 -<tr>  
28 -<td>&nbsp;</td>  
29 -<td>setUp</td>  
30 -<td>&nbsp;</td></tr>  
31 -<tr>  
32 -<td align='center' colspan='3'>@BeforeMethod</td>  
33 -</tr>  
34 -<tr>  
35 -<td align='center' colspan='3'>@AfterMethod</td>  
36 -</tr>  
37 -<tr>  
38 -<td align='center' colspan='3'>@AfterClass</td>  
39 -</tr>  
40 -<tr>  
41 -<td>&nbsp;</td>  
42 -<td>tearDown</td>  
43 -<td>&nbsp;</td></tr>  
44 -<tr>  
45 -<td>com.essa.testSuite.TestAddOriginalGoods</td>  
46 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
47 -<tr>  
48 -<td align='center' colspan='3'>@Test</td>  
49 -</tr>  
50 -<tr>  
51 -<td>&nbsp;</td>  
52 -<td>updatePic</td>  
53 -<td>&nbsp;</td></tr>  
54 -<tr>  
55 -<td>&nbsp;</td>  
56 -<td>toAddOriginalGoodsPage</td>  
57 -<td>&nbsp;</td></tr>  
58 -<tr>  
59 -<td>&nbsp;</td>  
60 -<td>auditOriginal</td>  
61 -<td>&nbsp;</td></tr>  
62 -<tr>  
63 -<td>&nbsp;</td>  
64 -<td>getSkuNo</td>  
65 -<td>&nbsp;</td></tr>  
66 -<tr>  
67 -<td align='center' colspan='3'>@BeforeClass</td>  
68 -</tr>  
69 -<tr>  
70 -<td>&nbsp;</td>  
71 -<td>setUp</td>  
72 -<td>&nbsp;</td></tr>  
73 -<tr>  
74 -<td align='center' colspan='3'>@BeforeMethod</td>  
75 -</tr>  
76 -<tr>  
77 -<td align='center' colspan='3'>@AfterMethod</td>  
78 -</tr>  
79 -<tr>  
80 -<td align='center' colspan='3'>@AfterClass</td>  
81 -</tr>  
82 -<tr>  
83 -<td>&nbsp;</td>  
84 -<td>tearDown</td>  
85 -<td>&nbsp;</td></tr>  
86 -</table>  
test-output/old/发布团购商品/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/发布团购商品/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 发布团购商品</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/发布团购商品/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 发布团购商品</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/发布团购商品/methods-alphabetical.html deleted
@@ -1,26 +0,0 @@ @@ -1,26 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>发布团购商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="acb9bd"> <td>18/09/30 17:48:58</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGroupPurchase.SkuCategoryManagerCongfig()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">SkuCategoryManagerCongfig</td>  
5 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
6 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:34</td> <td>-24692</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">auditOriginal</td>  
7 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
8 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:48</td> <td>-10456</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">getSkuNo</td>  
9 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
10 -<tr bgcolor="acb9bd"> <td>18/09/30 17:49:32</td> <td>33352</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGroupPurchase.isPublish()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">isPublish</td>  
11 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
12 -<tr bgcolor="acb9bd"> <td>18/09/30 17:49:04</td> <td>5388</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGroupPurchase.publishGroupPurchase()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">publishGroupPurchase</td>  
13 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
14 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:47:44</td> <td>-74401</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">&gt;&gt;setUp</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
16 -<tr bgcolor="acb9bd"> <td>18/09/30 17:48:51</td> <td>-7210</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestGroupPurchase.setUp()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">&gt;&gt;setUp</td>  
17 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
18 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:50</td> <td>-8038</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">&lt;&lt;tearDown</td>  
19 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
20 -<tr bgcolor="acb9bd"> <td>18/09/30 17:49:36</td> <td>37852</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestGroupPurchase.tearDown()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">&lt;&lt;tearDown</td>  
21 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
22 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:47:51</td> <td>-67349</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">toAddOriginalGoodsPage</td>  
23 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
24 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:21</td> <td>-37771</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">updatePic</td>  
25 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
26 -</table>  
test-output/old/发布团购商品/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/发布团购商品/methods.html deleted
@@ -1,26 +0,0 @@ @@ -1,26 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>发布团购商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:47:44</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
6 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:47:51</td> <td>7052</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">toAddOriginalGoodsPage</td>  
7 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
8 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:21</td> <td>36630</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">updatePic</td>  
9 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
10 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:34</td> <td>49709</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">auditOriginal</td>  
11 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
12 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:48</td> <td>63945</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">getSkuNo</td>  
13 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
14 -<tr bgcolor="9c7fb2"> <td>18/09/30 17:48:50</td> <td>66363</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@b5e5354]">&lt;&lt;tearDown</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
16 -<tr bgcolor="acb9bd"> <td>18/09/30 17:48:51</td> <td>67191</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestGroupPurchase.setUp()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">&gt;&gt;setUp</td>  
17 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
18 -<tr bgcolor="acb9bd"> <td>18/09/30 17:48:58</td> <td>74401</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGroupPurchase.SkuCategoryManagerCongfig()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">SkuCategoryManagerCongfig</td>  
19 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
20 -<tr bgcolor="acb9bd"> <td>18/09/30 17:49:04</td> <td>79789</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGroupPurchase.publishGroupPurchase()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">publishGroupPurchase</td>  
21 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
22 -<tr bgcolor="acb9bd"> <td>18/09/30 17:49:32</td> <td>107753</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGroupPurchase.isPublish()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">isPublish</td>  
23 - <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
24 -<tr bgcolor="acb9bd"> <td>18/09/30 17:49:36</td> <td>112253</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestGroupPurchase.tearDown()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@11a26533]">&lt;&lt;tearDown</td>  
25 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-3@424428761</td> <td></td> </tr>  
26 -</table>  
test-output/old/发布团购商品/publishGroupPurchase.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=publishGroupPurchase]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/发布团购商品/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/发布团购商品/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 发布团购商品</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;guice-stage="DEVELOPMENT"&nbsp;name="发布团购商品"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="publishGroupPurchase"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestAddOriginalGoods"&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="toAddOriginalGoodsPage"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="updatePic"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="auditOriginal"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="getSkuNo"/&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.essa.testSuite.TestAddOriginalGoods&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestGroupPurchase"&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="SkuCategoryManagerCongfig"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="publishGroupPurchase"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="isPublish"/&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.essa.testSuite.TestGroupPurchase&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;publishGroupPurchase&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;发布团购商品&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/发布团购商品/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 发布团购商品</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>发布团购商品</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>2 classes</a></td>  
13 -<td>7 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>publishGroupPurchase (7/0/0)</td><td valign='top' align='right'>  
26 - <a href='publishGroupPurchase.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/成品询价/classes.html deleted
@@ -1,70 +0,0 @@ @@ -1,70 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestProductInquiry</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>productInquiry</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td align='center' colspan='3'>@BeforeClass</td>  
18 -</tr>  
19 -<tr>  
20 -<td>&nbsp;</td>  
21 -<td>setUp</td>  
22 -<td>&nbsp;</td></tr>  
23 -<tr>  
24 -<td align='center' colspan='3'>@BeforeMethod</td>  
25 -</tr>  
26 -<tr>  
27 -<td align='center' colspan='3'>@AfterMethod</td>  
28 -</tr>  
29 -<tr>  
30 -<td align='center' colspan='3'>@AfterClass</td>  
31 -</tr>  
32 -<tr>  
33 -<td>&nbsp;</td>  
34 -<td>tearDown</td>  
35 -<td>&nbsp;</td></tr>  
36 -<tr>  
37 -<td>com.buyer.testSuite.TestAddToCart</td>  
38 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
39 -<tr>  
40 -<td align='center' colspan='3'>@Test</td>  
41 -</tr>  
42 -<tr>  
43 -<td>&nbsp;</td>  
44 -<td>addSku</td>  
45 -<td>&nbsp;</td></tr>  
46 -<tr>  
47 -<td>&nbsp;</td>  
48 -<td>keywordToCart</td>  
49 -<td>&nbsp;</td></tr>  
50 -<tr>  
51 -<td align='center' colspan='3'>@BeforeClass</td>  
52 -</tr>  
53 -<tr>  
54 -<td>&nbsp;</td>  
55 -<td>setUp</td>  
56 -<td>&nbsp;</td></tr>  
57 -<tr>  
58 -<td align='center' colspan='3'>@BeforeMethod</td>  
59 -</tr>  
60 -<tr>  
61 -<td align='center' colspan='3'>@AfterMethod</td>  
62 -</tr>  
63 -<tr>  
64 -<td align='center' colspan='3'>@AfterClass</td>  
65 -</tr>  
66 -<tr>  
67 -<td>&nbsp;</td>  
68 -<td>tearDown</td>  
69 -<td>&nbsp;</td></tr>  
70 -</table>  
test-output/old/成品询价/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/成品询价/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 成品询价</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/成品询价/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 成品询价</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/成品询价/methods-alphabetical.html deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>成品询价</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="bbbc8c"> <td>18/09/28 11:24:17</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@78b69ec7]">keywordToCart</td>  
5 - <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
6 -<tr bgcolor="65909a"> <td>18/09/28 11:24:44</td> <td>27112</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@34f66c96]">productInquiry</td>  
7 - <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
8 -<tr bgcolor="bbbc8c"> <td>18/09/28 11:24:10</td> <td>-7530</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@78b69ec7]">&gt;&gt;setUp</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
10 -<tr bgcolor="65909a"> <td>18/09/28 11:24:39</td> <td>21860</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@34f66c96]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
12 -<tr bgcolor="bbbc8c"> <td>18/09/28 11:24:38</td> <td>20939</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@78b69ec7]">&lt;&lt;tearDown</td>  
13 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
14 -</table>  
test-output/old/成品询价/methods-not-run.html deleted
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -<tr><td>com.buyer.testSuite.TestAddToCart.addSku<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>将sku加入购物车</i></td></tr>  
3 -</table>  
4 \ No newline at end of file 0 \ No newline at end of file
test-output/old/成品询价/methods.html deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>成品询价</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="bbbc8c"> <td>18/09/28 11:24:10</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@78b69ec7]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
6 -<tr bgcolor="bbbc8c"> <td>18/09/28 11:24:17</td> <td>7530</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@78b69ec7]">keywordToCart</td>  
7 - <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
8 -<tr bgcolor="bbbc8c"> <td>18/09/28 11:24:38</td> <td>28469</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@78b69ec7]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
10 -<tr bgcolor="65909a"> <td>18/09/28 11:24:39</td> <td>29390</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@34f66c96]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
12 -<tr bgcolor="65909a"> <td>18/09/28 11:24:44</td> <td>34642</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@34f66c96]">productInquiry</td>  
13 - <td>SwingWorker-pool-1-thread-1@501200943</td> <td></td> </tr>  
14 -</table>  
test-output/old/成品询价/productInquiry.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=productInquiry]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/成品询价/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/成品询价/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 成品询价</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;guice-stage="DEVELOPMENT"&nbsp;name="成品询价"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="productInquiry"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestAddToCart"&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="keywordToCart"/&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.buyer.testSuite.TestAddToCart&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestProductInquiry"&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="productInquiry"/&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.essa.testSuite.TestProductInquiry&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;productInquiry&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;成品询价&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/成品询价/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 成品询价</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>成品询价</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>2 classes</a></td>  
13 -<td>2 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-skipped'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>productInquiry (1/0/1)</td><td valign='top' align='right'>  
26 - <a href='productInquiry.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO-活动商品/classes.html deleted
@@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.buyer.testSuite.TestAddToCart</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>addSku</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td>&nbsp;</td>  
18 -<td>keywordToCart</td>  
19 -<td>&nbsp;</td></tr>  
20 -<tr>  
21 -<td align='center' colspan='3'>@BeforeClass</td>  
22 -</tr>  
23 -<tr>  
24 -<td>&nbsp;</td>  
25 -<td>setUp</td>  
26 -<td>&nbsp;</td></tr>  
27 -<tr>  
28 -<td align='center' colspan='3'>@BeforeMethod</td>  
29 -</tr>  
30 -<tr>  
31 -<td align='center' colspan='3'>@AfterMethod</td>  
32 -</tr>  
33 -<tr>  
34 -<td align='center' colspan='3'>@AfterClass</td>  
35 -</tr>  
36 -<tr>  
37 -<td>&nbsp;</td>  
38 -<td>tearDown</td>  
39 -<td>&nbsp;</td></tr>  
40 -<tr>  
41 -<td>com.buyer.testSuite.TestSendPO</td>  
42 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
43 -<tr>  
44 -<td align='center' colspan='3'>@Test</td>  
45 -</tr>  
46 -<tr>  
47 -<td>&nbsp;</td>  
48 -<td>conslidation</td>  
49 -<td>&nbsp;</td></tr>  
50 -<tr>  
51 -<td>&nbsp;</td>  
52 -<td>sendPO</td>  
53 -<td>&nbsp;</td></tr>  
54 -<tr>  
55 -<td align='center' colspan='3'>@BeforeClass</td>  
56 -</tr>  
57 -<tr>  
58 -<td>&nbsp;</td>  
59 -<td>setUp</td>  
60 -<td>&nbsp;</td></tr>  
61 -<tr>  
62 -<td align='center' colspan='3'>@BeforeMethod</td>  
63 -</tr>  
64 -<tr>  
65 -<td align='center' colspan='3'>@AfterMethod</td>  
66 -</tr>  
67 -<tr>  
68 -<td align='center' colspan='3'>@AfterClass</td>  
69 -</tr>  
70 -<tr>  
71 -<td>&nbsp;</td>  
72 -<td>tearDown</td>  
73 -<td>&nbsp;</td></tr>  
74 -</table>  
test-output/old/提交PO-活动商品/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO-活动商品/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 提交PO-活动商品</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/提交PO-活动商品/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 提交PO-活动商品</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/提交PO-活动商品/methods-alphabetical.html deleted
@@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>提交PO-活动商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="86f4ae"> <td>18/09/03 16:02:33</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">addSku</td>  
5 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
6 -<tr bgcolor="97d560"> <td>18/09/03 16:02:55</td> <td>22466</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">conslidation</td>  
7 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
8 -<tr bgcolor="97d560"> <td>18/09/03 16:03:34</td> <td>60820</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">sendPO</td>  
9 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
10 -<tr bgcolor="86f4ae"> <td>18/09/03 16:02:24</td> <td>-9143</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
12 -<tr bgcolor="97d560"> <td>18/09/03 16:02:47</td> <td>13908</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">&gt;&gt;setUp</td>  
13 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
14 -<tr bgcolor="86f4ae"> <td>18/09/03 16:02:46</td> <td>13142</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">&lt;&lt;tearDown</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
16 -<tr bgcolor="97d560"> <td>18/09/03 16:03:47</td> <td>74155</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">&lt;&lt;tearDown</td>  
17 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
18 -</table>  
test-output/old/提交PO-活动商品/methods-not-run.html deleted
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -<tr><td>com.buyer.testSuite.TestAddToCart.keywordToCart<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>关键字搜索,并将sku加入购物车</i></td></tr>  
3 -</table>  
4 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO-活动商品/methods.html deleted
@@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>提交PO-活动商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="86f4ae"> <td>18/09/03 16:02:24</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
6 -<tr bgcolor="86f4ae"> <td>18/09/03 16:02:33</td> <td>9143</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">addSku</td>  
7 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
8 -<tr bgcolor="86f4ae"> <td>18/09/03 16:02:46</td> <td>22285</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
10 -<tr bgcolor="97d560"> <td>18/09/03 16:02:47</td> <td>23051</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
12 -<tr bgcolor="97d560"> <td>18/09/03 16:02:55</td> <td>31609</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">conslidation</td>  
13 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
14 -<tr bgcolor="97d560"> <td>18/09/03 16:03:34</td> <td>69963</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">sendPO</td>  
15 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
16 -<tr bgcolor="97d560"> <td>18/09/03 16:03:47</td> <td>83298</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">&lt;&lt;tearDown</td>  
17 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
18 -</table>  
test-output/old/提交PO-活动商品/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO-活动商品/sendActivityPO.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=sendActivityPO]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO-活动商品/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 提交PO-活动商品</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="提交PO-活动商品"&nbsp;guice-stage="DEVELOPMENT"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="sendActivityPO"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestAddToCart"&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="addSku"/&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.buyer.testSuite.TestAddToCart&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestSendPO"&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="conslidation"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="sendPO"/&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.buyer.testSuite.TestSendPO&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;sendActivityPO&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;提交PO-活动商品&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO-活动商品/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 提交PO-活动商品</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>提交PO-活动商品</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>2 classes</a></td>  
13 -<td>3 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>sendActivityPO (3/0/0)</td><td valign='top' align='right'>  
26 - <a href='sendActivityPO.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO/classes.html deleted
@@ -1,105 +0,0 @@ @@ -1,105 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestProductInquiry</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>productInquiry</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td align='center' colspan='3'>@BeforeClass</td>  
18 -</tr>  
19 -<tr>  
20 -<td>&nbsp;</td>  
21 -<td>setUp</td>  
22 -<td>&nbsp;</td></tr>  
23 -<tr>  
24 -<td align='center' colspan='3'>@BeforeMethod</td>  
25 -</tr>  
26 -<tr>  
27 -<td align='center' colspan='3'>@AfterMethod</td>  
28 -</tr>  
29 -<tr>  
30 -<td align='center' colspan='3'>@AfterClass</td>  
31 -</tr>  
32 -<tr>  
33 -<td>&nbsp;</td>  
34 -<td>tearDown</td>  
35 -<td>&nbsp;</td></tr>  
36 -<tr>  
37 -<td>com.buyer.testSuite.TestAddToCart</td>  
38 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
39 -<tr>  
40 -<td align='center' colspan='3'>@Test</td>  
41 -</tr>  
42 -<tr>  
43 -<td>&nbsp;</td>  
44 -<td>addSku</td>  
45 -<td>&nbsp;</td></tr>  
46 -<tr>  
47 -<td>&nbsp;</td>  
48 -<td>keywordToCart</td>  
49 -<td>first </td>  
50 -</tr>  
51 -<tr>  
52 -<td align='center' colspan='3'>@BeforeClass</td>  
53 -</tr>  
54 -<tr>  
55 -<td>&nbsp;</td>  
56 -<td>setUp</td>  
57 -<td>&nbsp;</td></tr>  
58 -<tr>  
59 -<td align='center' colspan='3'>@BeforeMethod</td>  
60 -</tr>  
61 -<tr>  
62 -<td align='center' colspan='3'>@AfterMethod</td>  
63 -</tr>  
64 -<tr>  
65 -<td align='center' colspan='3'>@AfterClass</td>  
66 -</tr>  
67 -<tr>  
68 -<td>&nbsp;</td>  
69 -<td>tearDown</td>  
70 -<td>&nbsp;</td></tr>  
71 -<tr>  
72 -<td>com.buyer.testSuite.TestSendPO</td>  
73 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
74 -<tr>  
75 -<td align='center' colspan='3'>@Test</td>  
76 -</tr>  
77 -<tr>  
78 -<td>&nbsp;</td>  
79 -<td>conslidation</td>  
80 -<td>&nbsp;</td></tr>  
81 -<tr>  
82 -<td>&nbsp;</td>  
83 -<td>sendPO</td>  
84 -<td>&nbsp;</td></tr>  
85 -<tr>  
86 -<td align='center' colspan='3'>@BeforeClass</td>  
87 -</tr>  
88 -<tr>  
89 -<td>&nbsp;</td>  
90 -<td>setUp</td>  
91 -<td>&nbsp;</td></tr>  
92 -<tr>  
93 -<td align='center' colspan='3'>@BeforeMethod</td>  
94 -</tr>  
95 -<tr>  
96 -<td align='center' colspan='3'>@AfterMethod</td>  
97 -</tr>  
98 -<tr>  
99 -<td align='center' colspan='3'>@AfterClass</td>  
100 -</tr>  
101 -<tr>  
102 -<td>&nbsp;</td>  
103 -<td>tearDown</td>  
104 -<td>&nbsp;</td></tr>  
105 -</table>  
test-output/old/提交PO/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 提交PO</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/提交PO/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 提交PO</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/提交PO/methods-alphabetical.html deleted
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>提交PO</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="94a0eb"> <td>18/10/23 15:21:02</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@4de69ef7]">addSku</td>  
5 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
6 -<tr bgcolor="8485ec"> <td>18/10/23 15:21:42</td> <td>39416</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">conslidation</td>  
7 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
8 -<tr bgcolor="fb946a"> <td>18/10/23 15:21:18</td> <td>15757</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@2ebbddfb]">productInquiry</td>  
9 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
10 -<tr bgcolor="8485ec"> <td>18/10/23 15:22:10</td> <td>67650</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">sendPO</td>  
11 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
12 -<tr bgcolor="94a0eb"> <td>18/10/23 15:20:52</td> <td>-10260</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@4de69ef7]">&gt;&gt;setUp</td>  
13 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
14 -<tr bgcolor="fb946a"> <td>18/10/23 15:21:11</td> <td>8873</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@2ebbddfb]">&gt;&gt;setUp</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
16 -<tr bgcolor="8485ec"> <td>18/10/23 15:21:35</td> <td>32796</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">&gt;&gt;setUp</td>  
17 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
18 -<tr bgcolor="94a0eb"> <td>18/10/23 15:21:10</td> <td>8121</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@4de69ef7]">&lt;&lt;tearDown</td>  
19 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
20 -<tr bgcolor="fb946a"> <td>18/10/23 15:21:34</td> <td>32022</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@2ebbddfb]">&lt;&lt;tearDown</td>  
21 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
22 -<tr bgcolor="8485ec"> <td>18/10/23 15:22:27</td> <td>84737</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">&lt;&lt;tearDown</td>  
23 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
24 -</table>  
test-output/old/提交PO/methods-not-run.html deleted
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -<tr><td>com.buyer.testSuite.TestAddToCart.keywordToCart<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>关键字搜索,并将sku加入购物车</i></td></tr>  
3 -</table>  
4 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO/methods.html deleted
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>提交PO</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="94a0eb"> <td>18/10/23 15:20:52</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@4de69ef7]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
6 -<tr bgcolor="94a0eb"> <td>18/10/23 15:21:02</td> <td>10260</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@4de69ef7]">addSku</td>  
7 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
8 -<tr bgcolor="94a0eb"> <td>18/10/23 15:21:10</td> <td>18381</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@4de69ef7]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
10 -<tr bgcolor="fb946a"> <td>18/10/23 15:21:11</td> <td>19133</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@2ebbddfb]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
12 -<tr bgcolor="fb946a"> <td>18/10/23 15:21:18</td> <td>26017</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@2ebbddfb]">productInquiry</td>  
13 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
14 -<tr bgcolor="fb946a"> <td>18/10/23 15:21:34</td> <td>42282</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@2ebbddfb]">&lt;&lt;tearDown</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
16 -<tr bgcolor="8485ec"> <td>18/10/23 15:21:35</td> <td>43056</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">&gt;&gt;setUp</td>  
17 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
18 -<tr bgcolor="8485ec"> <td>18/10/23 15:21:42</td> <td>49676</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">conslidation</td>  
19 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
20 -<tr bgcolor="8485ec"> <td>18/10/23 15:22:10</td> <td>77910</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">sendPO</td>  
21 - <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
22 -<tr bgcolor="8485ec"> <td>18/10/23 15:22:27</td> <td>94997</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@6c615156]">&lt;&lt;tearDown</td>  
23 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-1-thread-1@189909386</td> <td></td> </tr>  
24 -</table>  
test-output/old/提交PO/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO/sendPO.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=sendPO]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 提交PO</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;guice-stage="DEVELOPMENT"&nbsp;name="提交PO"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="sendPO"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestAddToCart"&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="addSku"/&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.buyer.testSuite.TestAddToCart&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestProductInquiry"&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="productInquiry"/&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.essa.testSuite.TestProductInquiry&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestSendPO"&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="conslidation"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="sendPO"/&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.buyer.testSuite.TestSendPO&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;sendPO&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;提交PO&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/提交PO/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 提交PO</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>提交PO</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>3 classes</a></td>  
13 -<td>4 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>sendPO (4/0/0)</td><td valign='top' align='right'>  
26 - <a href='sendPO.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增原厂商品/addOriginalGoods.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=addOriginalGoods]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增原厂商品/classes.html deleted
@@ -1,48 +0,0 @@ @@ -1,48 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestAddOriginalGoods</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>updatePic</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td>&nbsp;</td>  
18 -<td>toAddOriginalGoodsPage</td>  
19 -<td>&nbsp;</td></tr>  
20 -<tr>  
21 -<td>&nbsp;</td>  
22 -<td>auditOriginal</td>  
23 -<td>&nbsp;</td></tr>  
24 -<tr>  
25 -<td>&nbsp;</td>  
26 -<td>getSkuNo</td>  
27 -<td>&nbsp;</td></tr>  
28 -<tr>  
29 -<td align='center' colspan='3'>@BeforeClass</td>  
30 -</tr>  
31 -<tr>  
32 -<td>&nbsp;</td>  
33 -<td>setUp</td>  
34 -<td>&nbsp;</td></tr>  
35 -<tr>  
36 -<td align='center' colspan='3'>@BeforeMethod</td>  
37 -</tr>  
38 -<tr>  
39 -<td align='center' colspan='3'>@AfterMethod</td>  
40 -</tr>  
41 -<tr>  
42 -<td align='center' colspan='3'>@AfterClass</td>  
43 -</tr>  
44 -<tr>  
45 -<td>&nbsp;</td>  
46 -<td>tearDown</td>  
47 -<td>&nbsp;</td></tr>  
48 -</table>  
test-output/old/新增原厂商品/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增原厂商品/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 新增原厂商品</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/新增原厂商品/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 新增原厂商品</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/新增原厂商品/methods-alphabetical.html deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>新增原厂商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:32</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">auditOriginal</td>  
5 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
6 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:46</td> <td>14208</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">getSkuNo</td>  
7 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
8 -<tr bgcolor="b17f84"> <td>18/10/23 15:34:40</td> <td>-52081</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">&gt;&gt;setUp</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
10 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:49</td> <td>16494</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">&lt;&lt;tearDown</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
12 -<tr bgcolor="b17f84"> <td>18/10/23 15:34:48</td> <td>-44245</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">toAddOriginalGoodsPage</td>  
13 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
14 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:17</td> <td>-14801</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">updatePic</td>  
15 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
16 -</table>  
test-output/old/新增原厂商品/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增原厂商品/methods.html deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>新增原厂商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="b17f84"> <td>18/10/23 15:34:40</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
6 -<tr bgcolor="b17f84"> <td>18/10/23 15:34:48</td> <td>7836</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">toAddOriginalGoodsPage</td>  
7 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
8 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:17</td> <td>37280</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">updatePic</td>  
9 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
10 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:32</td> <td>52081</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">auditOriginal</td>  
11 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
12 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:46</td> <td>66289</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">getSkuNo</td>  
13 - <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
14 -<tr bgcolor="b17f84"> <td>18/10/23 15:35:49</td> <td>68575</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]">&lt;&lt;tearDown</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1322952988</td> <td></td> </tr>  
16 -</table>  
test-output/old/新增原厂商品/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增原厂商品/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 新增原厂商品</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;guice-stage="DEVELOPMENT"&nbsp;name="新增原厂商品"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="addOriginalGoods"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestAddOriginalGoods"&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="toAddOriginalGoodsPage"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="toGoodsRelesePage"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="updatePic"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="auditOriginal"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="getSkuNo"/&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.essa.testSuite.TestAddOriginalGoods&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;addOriginalGoods&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;新增原厂商品&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增原厂商品/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 新增原厂商品</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>新增原厂商品</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>1 class</a></td>  
13 -<td>4 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>addOriginalGoods (4/0/0)</td><td valign='top' align='right'>  
26 - <a href='addOriginalGoods.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增市场商品/addMarketGoods.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=addMarketGoods]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增市场商品/classes.html deleted
@@ -1,44 +0,0 @@ @@ -1,44 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestAddMarketGoods</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>auditMarketGoods</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td>&nbsp;</td>  
18 -<td>addMarketGoods</td>  
19 -<td>&nbsp;</td></tr>  
20 -<tr>  
21 -<td>&nbsp;</td>  
22 -<td>toMarketGoodsRelesePage</td>  
23 -<td>&nbsp;</td></tr>  
24 -<tr>  
25 -<td align='center' colspan='3'>@BeforeClass</td>  
26 -</tr>  
27 -<tr>  
28 -<td>&nbsp;</td>  
29 -<td>setUp</td>  
30 -<td>&nbsp;</td></tr>  
31 -<tr>  
32 -<td align='center' colspan='3'>@BeforeMethod</td>  
33 -</tr>  
34 -<tr>  
35 -<td align='center' colspan='3'>@AfterMethod</td>  
36 -</tr>  
37 -<tr>  
38 -<td align='center' colspan='3'>@AfterClass</td>  
39 -</tr>  
40 -<tr>  
41 -<td>&nbsp;</td>  
42 -<td>tearDown</td>  
43 -<td>&nbsp;</td></tr>  
44 -</table>  
test-output/old/新增市场商品/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增市场商品/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 新增市场商品</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/新增市场商品/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 新增市场商品</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/新增市场商品/methods-alphabetical.html deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>新增市场商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="81dbcb"> <td>18/09/30 17:44:57</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddMarketGoods.addMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">addMarketGoods</td>  
5 - <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
6 -<tr bgcolor="81dbcb"> <td>18/09/30 17:45:34</td> <td>37398</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddMarketGoods.auditMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">auditMarketGoods</td>  
7 - <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
8 -<tr bgcolor="81dbcb"> <td>18/09/30 17:44:43</td> <td>-13746</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddMarketGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">&gt;&gt;setUp</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
10 -<tr bgcolor="81dbcb"> <td>18/09/30 17:45:51</td> <td>54036</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddMarketGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">&lt;&lt;tearDown</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
12 -<tr bgcolor="81dbcb"> <td>18/09/30 17:44:51</td> <td>-5514</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddMarketGoods.toMarketGoodsRelesePage()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">toMarketGoodsRelesePage</td>  
13 - <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
14 -</table>  
test-output/old/新增市场商品/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增市场商品/methods.html deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>新增市场商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="81dbcb"> <td>18/09/30 17:44:43</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddMarketGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
6 -<tr bgcolor="81dbcb"> <td>18/09/30 17:44:51</td> <td>8232</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddMarketGoods.toMarketGoodsRelesePage()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">toMarketGoodsRelesePage</td>  
7 - <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
8 -<tr bgcolor="81dbcb"> <td>18/09/30 17:44:57</td> <td>13746</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddMarketGoods.addMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">addMarketGoods</td>  
9 - <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
10 -<tr bgcolor="81dbcb"> <td>18/09/30 17:45:34</td> <td>51144</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddMarketGoods.auditMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">auditMarketGoods</td>  
11 - <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
12 -<tr bgcolor="81dbcb"> <td>18/09/30 17:45:51</td> <td>67782</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddMarketGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@1b93ade2]">&lt;&lt;tearDown</td>  
13 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-1@1802781601</td> <td></td> </tr>  
14 -</table>  
test-output/old/新增市场商品/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增市场商品/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 新增市场商品</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;guice-stage="DEVELOPMENT"&nbsp;name="新增市场商品"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="addMarketGoods"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestAddMarketGoods"&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="toMarketGoodsRelesePage"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="addMarketGoods"/&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="auditMarketGoods"/&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.essa.testSuite.TestAddMarketGoods&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;addMarketGoods&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;新增市场商品&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/新增市场商品/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 新增市场商品</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>新增市场商品</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>1 class</a></td>  
13 -<td>3 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>addMarketGoods (3/0/0)</td><td valign='top' align='right'>  
26 - <a href='addMarketGoods.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/添加SKU到购物车/buyerRegister.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=buyerRegister]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/添加SKU到购物车/classes.html deleted
@@ -1,40 +0,0 @@ @@ -1,40 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.buyer.testSuite.TestAddToCart</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>addSku</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td>&nbsp;</td>  
18 -<td>keywordToCart</td>  
19 -<td>&nbsp;</td></tr>  
20 -<tr>  
21 -<td align='center' colspan='3'>@BeforeClass</td>  
22 -</tr>  
23 -<tr>  
24 -<td>&nbsp;</td>  
25 -<td>setUp</td>  
26 -<td>&nbsp;</td></tr>  
27 -<tr>  
28 -<td align='center' colspan='3'>@BeforeMethod</td>  
29 -</tr>  
30 -<tr>  
31 -<td align='center' colspan='3'>@AfterMethod</td>  
32 -</tr>  
33 -<tr>  
34 -<td align='center' colspan='3'>@AfterClass</td>  
35 -</tr>  
36 -<tr>  
37 -<td>&nbsp;</td>  
38 -<td>tearDown</td>  
39 -<td>&nbsp;</td></tr>  
40 -</table>  
test-output/old/添加SKU到购物车/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/添加SKU到购物车/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 添加SKU到购物车</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/添加SKU到购物车/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 添加SKU到购物车</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/添加SKU到购物车/methods-alphabetical.html deleted
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>添加SKU到购物车</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9e7378"> <td>18/08/31 16:16:32</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">keywordToCart</td>  
5 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
6 -<tr bgcolor="9e7378"> <td>18/08/31 16:16:24</td> <td>-7683</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">&gt;&gt;setUp</td>  
7 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
8 -<tr bgcolor="9e7378"> <td>18/08/31 16:16:49</td> <td>16769</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
10 -</table>  
test-output/old/添加SKU到购物车/methods-not-run.html deleted
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -<tr><td>com.buyer.testSuite.TestAddToCart.addSku<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>将sku加入购物车</i></td></tr>  
3 -</table>  
4 \ No newline at end of file 0 \ No newline at end of file
test-output/old/添加SKU到购物车/methods.html deleted
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>添加SKU到购物车</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9e7378"> <td>18/08/31 16:16:24</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
6 -<tr bgcolor="9e7378"> <td>18/08/31 16:16:32</td> <td>7683</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">keywordToCart</td>  
7 - <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
8 -<tr bgcolor="9e7378"> <td>18/08/31 16:16:49</td> <td>24452</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>  
10 -</table>  
test-output/old/添加SKU到购物车/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/添加SKU到购物车/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 添加SKU到购物车</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="添加SKU到购物车"&nbsp;guice-stage="DEVELOPMENT"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="buyerRegister"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestAddToCart"&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="keywordToCart"/&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.buyer.testSuite.TestAddToCart&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;buyerRegister&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;添加SKU到购物车&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/添加SKU到购物车/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 添加SKU到购物车</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>添加SKU到购物车</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>1 class</a></td>  
13 -<td>1 method:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-passed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>buyerRegister (1/0/0)</td><td valign='top' align='right'>  
26 - <a href='buyerRegister.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/RegisterBuyer.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=RegisterBuyer]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/buyerRegister.properties deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -[SuiteResult context=buyerRegister]  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/classes.html deleted
@@ -1,66 +0,0 @@ @@ -1,66 +0,0 @@
1 -<table border='1'>  
2 -<tr>  
3 -<th>Class name</th>  
4 -<th>Method name</th>  
5 -<th>Groups</th>  
6 -</tr><tr>  
7 -<td>com.essa.testSuite.TestGenrateCode</td>  
8 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
9 -<tr>  
10 -<td align='center' colspan='3'>@Test</td>  
11 -</tr>  
12 -<tr>  
13 -<td>&nbsp;</td>  
14 -<td>genrateCode</td>  
15 -<td>&nbsp;</td></tr>  
16 -<tr>  
17 -<td align='center' colspan='3'>@BeforeClass</td>  
18 -</tr>  
19 -<tr>  
20 -<td>&nbsp;</td>  
21 -<td>setUp</td>  
22 -<td>&nbsp;</td></tr>  
23 -<tr>  
24 -<td align='center' colspan='3'>@BeforeMethod</td>  
25 -</tr>  
26 -<tr>  
27 -<td align='center' colspan='3'>@AfterMethod</td>  
28 -</tr>  
29 -<tr>  
30 -<td align='center' colspan='3'>@AfterClass</td>  
31 -</tr>  
32 -<tr>  
33 -<td>&nbsp;</td>  
34 -<td>tearDown</td>  
35 -<td>&nbsp;</td></tr>  
36 -<tr>  
37 -<td>com.buyer.testSuite.TestRegister</td>  
38 -<td>&nbsp;</td><td>&nbsp;</td></tr>  
39 -<tr>  
40 -<td align='center' colspan='3'>@Test</td>  
41 -</tr>  
42 -<tr>  
43 -<td>&nbsp;</td>  
44 -<td>register</td>  
45 -<td>&nbsp;</td></tr>  
46 -<tr>  
47 -<td align='center' colspan='3'>@BeforeClass</td>  
48 -</tr>  
49 -<tr>  
50 -<td>&nbsp;</td>  
51 -<td>setUp</td>  
52 -<td>&nbsp;</td></tr>  
53 -<tr>  
54 -<td align='center' colspan='3'>@BeforeMethod</td>  
55 -</tr>  
56 -<tr>  
57 -<td align='center' colspan='3'>@AfterMethod</td>  
58 -</tr>  
59 -<tr>  
60 -<td align='center' colspan='3'>@AfterClass</td>  
61 -</tr>  
62 -<tr>  
63 -<td>&nbsp;</td>  
64 -<td>tearDown</td>  
65 -<td>&nbsp;</td></tr>  
66 -</table>  
test-output/old/采购商注册/groups.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Groups used for this test run</h2>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/index.html deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<html><head><title>Results for 采购商注册</title></head>  
2 -<frameset cols="26%,74%">  
3 -<frame src="toc.html" name="navFrame">  
4 -<frame src="main.html" name="mainFrame">  
5 -</frameset>  
6 -</html>  
test-output/old/采购商注册/main.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<html><head><title>Results for 采购商注册</title></head>  
2 -<body>Select a result on the left-hand pane.</body></html>  
test-output/old/采购商注册/methods-alphabetical.html deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>采购商注册</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9168b4"> <td>18/09/30 17:50:20</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGenrateCode.genrateCode()[pri:0, instance:com.essa.testSuite.TestGenrateCode@28e0209a]">genrateCode</td>  
5 - <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
6 -<tr bgcolor="93fdb6"> <td>18/09/30 17:50:31</td> <td>11054</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestRegister.register()[pri:0, instance:com.buyer.testSuite.TestRegister@7fc399fa]">register</td>  
7 - <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
8 -<tr bgcolor="9168b4"> <td>18/09/30 17:50:13</td> <td>-7157</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestGenrateCode.setUp()[pri:0, instance:com.essa.testSuite.TestGenrateCode@28e0209a]">&gt;&gt;setUp</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
10 -<tr bgcolor="93fdb6"> <td>18/09/30 17:50:26</td> <td>5905</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestRegister.setUp()[pri:0, instance:com.buyer.testSuite.TestRegister@7fc399fa]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
12 -<tr bgcolor="9168b4"> <td>18/09/30 17:50:25</td> <td>5161</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestGenrateCode.tearDown()[pri:0, instance:com.essa.testSuite.TestGenrateCode@28e0209a]">&lt;&lt;tearDown</td>  
13 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
14 -<tr bgcolor="93fdb6"> <td>18/09/30 17:50:47</td> <td>27422</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestRegister.tearDown()[pri:0, instance:com.buyer.testSuite.TestRegister@7fc399fa]">&lt;&lt;tearDown</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
16 -</table>  
test-output/old/采购商注册/methods-not-run.html deleted
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -<h2>Methods that were not run</h2><table>  
2 -</table>  
3 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/methods.html deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>采购商注册</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>  
2 -<table border="1">  
3 -<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>  
4 -<tr bgcolor="9168b4"> <td>18/09/30 17:50:13</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestGenrateCode.setUp()[pri:0, instance:com.essa.testSuite.TestGenrateCode@28e0209a]">&gt;&gt;setUp</td>  
5 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
6 -<tr bgcolor="9168b4"> <td>18/09/30 17:50:20</td> <td>7157</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestGenrateCode.genrateCode()[pri:0, instance:com.essa.testSuite.TestGenrateCode@28e0209a]">genrateCode</td>  
7 - <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
8 -<tr bgcolor="9168b4"> <td>18/09/30 17:50:25</td> <td>12318</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestGenrateCode.tearDown()[pri:0, instance:com.essa.testSuite.TestGenrateCode@28e0209a]">&lt;&lt;tearDown</td>  
9 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
10 -<tr bgcolor="93fdb6"> <td>18/09/30 17:50:26</td> <td>13062</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestRegister.setUp()[pri:0, instance:com.buyer.testSuite.TestRegister@7fc399fa]">&gt;&gt;setUp</td>  
11 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
12 -<tr bgcolor="93fdb6"> <td>18/09/30 17:50:31</td> <td>18211</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestRegister.register()[pri:0, instance:com.buyer.testSuite.TestRegister@7fc399fa]">register</td>  
13 - <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
14 -<tr bgcolor="93fdb6"> <td>18/09/30 17:50:47</td> <td>34579</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestRegister.tearDown()[pri:0, instance:com.buyer.testSuite.TestRegister@7fc399fa]">&lt;&lt;tearDown</td>  
15 -<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>SwingWorker-pool-2-thread-4@1012104814</td> <td></td> </tr>  
16 -</table>  
test-output/old/采购商注册/reporter-output.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<h2>Reporter output</h2><table></table>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/testng.xml.html deleted
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<html><head><title>testng.xml for 采购商注册</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;guice-stage="DEVELOPMENT"&nbsp;name="采购商注册"&gt; <br/>&nbsp;&nbsp;&lt;test&nbsp;thread-count="5"&nbsp;name="buyerRegister"&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.essa.testSuite.TestGenrateCode"&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="genrateCode"/&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.essa.testSuite.TestGenrateCode&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.buyer.testSuite.TestRegister"&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="register"/&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.buyer.testSuite.TestRegister&nbsp;--&gt; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt; <br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;buyerRegister&nbsp;--&gt; <br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;采购商注册&nbsp;--&gt; <br/></tt></body></html>  
2 \ No newline at end of file 0 \ No newline at end of file
test-output/old/采购商注册/toc.html deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>Results for 采购商注册</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -</head>  
7 -<body>  
8 -<h3><p align="center">Results for<br/><em>采购商注册</em></p></h3>  
9 -<table border='1' width='100%'>  
10 -<tr valign='top'>  
11 -<td>1 test</td>  
12 -<td><a target='mainFrame' href='classes.html'>2 classes</a></td>  
13 -<td>2 methods:<br/>  
14 -&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>  
15 -&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>  
16 -&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>  
17 -</tr>  
18 -<tr>  
19 -<td><a target='mainFrame' href='groups.html'>0 group</a></td>  
20 -<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>  
21 -<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>  
22 -</tr></table>  
23 -<table width='100%' class='test-failed'>  
24 -<tr><td>  
25 -<table style='width: 100%'><tr><td valign='top'>buyerRegister (1/1/0)</td><td valign='top' align='right'>  
26 - <a href='buyerRegister.html' target='mainFrame'>Results</a>  
27 -</td></tr></table>  
28 -</td></tr><p/>  
29 -</table>  
30 -</body></html>  
31 \ No newline at end of file 0 \ No newline at end of file
test-output/passed.png deleted

1019 Bytes

test-output/skipped.png deleted

967 Bytes

test-output/testng-failed.xml deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite guice-stage="DEVELOPMENT" name="Failed suite [提交PO]">  
4 - <test thread-count="5" name="sendPO(failed)">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestSendPO">  
7 - <methods>  
8 - <include name="tearDown"/>  
9 - <include name="setUp"/>  
10 - <include name="conslidation"/>  
11 - <include name="sendPO"/>  
12 - </methods>  
13 - </class> <!-- com.buyer.testSuite.TestSendPO -->  
14 - </classes>  
15 - </test> <!-- sendPO(failed) -->  
16 -</suite> <!-- Failed suite [提交PO] -->  
test-output/testng-reports.css deleted
@@ -1,309 +0,0 @@ @@ -1,309 +0,0 @@
1 -body {  
2 - margin: 0px 0px 5px 5px;  
3 -}  
4 -  
5 -ul {  
6 - margin: 0px;  
7 -}  
8 -  
9 -li {  
10 - list-style-type: none;  
11 -}  
12 -  
13 -a {  
14 - text-decoration: none;  
15 -}  
16 -  
17 -a:hover {  
18 - text-decoration: underline;  
19 -}  
20 -  
21 -.navigator-selected {  
22 - background: #ffa500;  
23 -}  
24 -  
25 -.wrapper {  
26 - position: absolute;  
27 - top: 60px;  
28 - bottom: 0;  
29 - left: 400px;  
30 - right: 0;  
31 - overflow: auto;  
32 -}  
33 -  
34 -.navigator-root {  
35 - position: absolute;  
36 - top: 60px;  
37 - bottom: 0;  
38 - left: 0;  
39 - width: 400px;  
40 - overflow-y: auto;  
41 -}  
42 -  
43 -.suite {  
44 - margin: 0px 10px 10px 0px;  
45 - background-color: #fff8dc;  
46 -}  
47 -  
48 -.suite-name {  
49 - padding-left: 10px;  
50 - font-size: 25px;  
51 - font-family: Times;  
52 -}  
53 -  
54 -.main-panel-header {  
55 - padding: 5px;  
56 - background-color: #9FB4D9; //afeeee;  
57 - font-family: monospace;  
58 - font-size: 18px;  
59 -}  
60 -  
61 -.main-panel-content {  
62 - padding: 5px;  
63 - margin-bottom: 10px;  
64 - background-color: #DEE8FC; //d0ffff;  
65 -}  
66 -  
67 -.rounded-window {  
68 - border-radius: 10px;  
69 - border-style: solid;  
70 - border-width: 1px;  
71 -}  
72 -  
73 -.rounded-window-top {  
74 - border-top-right-radius: 10px 10px;  
75 - border-top-left-radius: 10px 10px;  
76 - border-style: solid;  
77 - border-width: 1px;  
78 - overflow: auto;  
79 -}  
80 -  
81 -.light-rounded-window-top {  
82 - border-top-right-radius: 10px 10px;  
83 - border-top-left-radius: 10px 10px;  
84 -}  
85 -  
86 -.rounded-window-bottom {  
87 - border-style: solid;  
88 - border-width: 0px 1px 1px 1px;  
89 - border-bottom-right-radius: 10px 10px;  
90 - border-bottom-left-radius: 10px 10px;  
91 - overflow: auto;  
92 -}  
93 -  
94 -.method-name {  
95 - font-size: 12px;  
96 - font-family: monospace;  
97 -}  
98 -  
99 -.method-content {  
100 - border-style: solid;  
101 - border-width: 0px 0px 1px 0px;  
102 - margin-bottom: 10;  
103 - padding-bottom: 5px;  
104 - width: 80%;  
105 -}  
106 -  
107 -.parameters {  
108 - font-size: 14px;  
109 - font-family: monospace;  
110 -}  
111 -  
112 -.stack-trace {  
113 - white-space: pre;  
114 - font-family: monospace;  
115 - font-size: 12px;  
116 - font-weight: bold;  
117 - margin-top: 0px;  
118 - margin-left: 20px;  
119 -}  
120 -  
121 -.testng-xml {  
122 - font-family: monospace;  
123 -}  
124 -  
125 -.method-list-content {  
126 - margin-left: 10px;  
127 -}  
128 -  
129 -.navigator-suite-content {  
130 - margin-left: 10px;  
131 - font: 12px 'Lucida Grande';  
132 -}  
133 -  
134 -.suite-section-title {  
135 - margin-top: 10px;  
136 - width: 80%;  
137 - border-style: solid;  
138 - border-width: 1px 0px 0px 0px;  
139 - font-family: Times;  
140 - font-size: 18px;  
141 - font-weight: bold;  
142 -}  
143 -  
144 -.suite-section-content {  
145 - list-style-image: url(bullet_point.png);  
146 -}  
147 -  
148 -.top-banner-root {  
149 - position: absolute;  
150 - top: 0;  
151 - height: 45px;  
152 - left: 0;  
153 - right: 0;  
154 - padding: 5px;  
155 - margin: 0px 0px 5px 0px;  
156 - background-color: #0066ff;  
157 - font-family: Times;  
158 - color: #fff;  
159 - text-align: center;  
160 -}  
161 -  
162 -.top-banner-title-font {  
163 - font-size: 25px;  
164 -}  
165 -  
166 -.test-name {  
167 - font-family: 'Lucida Grande';  
168 - font-size: 16px;  
169 -}  
170 -  
171 -.suite-icon {  
172 - padding: 5px;  
173 - float: right;  
174 - height: 20;  
175 -}  
176 -  
177 -.test-group {  
178 - font: 20px 'Lucida Grande';  
179 - margin: 5px 5px 10px 5px;  
180 - border-width: 0px 0px 1px 0px;  
181 - border-style: solid;  
182 - padding: 5px;  
183 -}  
184 -  
185 -.test-group-name {  
186 - font-weight: bold;  
187 -}  
188 -  
189 -.method-in-group {  
190 - font-size: 16px;  
191 - margin-left: 80px;  
192 -}  
193 -  
194 -table.google-visualization-table-table {  
195 - width: 100%;  
196 -}  
197 -  
198 -.reporter-method-name {  
199 - font-size: 14px;  
200 - font-family: monospace;  
201 -}  
202 -  
203 -.reporter-method-output-div {  
204 - padding: 5px;  
205 - margin: 0px 0px 5px 20px;  
206 - font-size: 12px;  
207 - font-family: monospace;  
208 - border-width: 0px 0px 0px 1px;  
209 - border-style: solid;  
210 -}  
211 -  
212 -.ignored-class-div {  
213 - font-size: 14px;  
214 - font-family: monospace;  
215 -}  
216 -  
217 -.ignored-methods-div {  
218 - padding: 5px;  
219 - margin: 0px 0px 5px 20px;  
220 - font-size: 12px;  
221 - font-family: monospace;  
222 - border-width: 0px 0px 0px 1px;  
223 - border-style: solid;  
224 -}  
225 -  
226 -.border-failed {  
227 - border-top-left-radius: 10px 10px;  
228 - border-bottom-left-radius: 10px 10px;  
229 - border-style: solid;  
230 - border-width: 0px 0px 0px 10px;  
231 - border-color: #f00;  
232 -}  
233 -  
234 -.border-skipped {  
235 - border-top-left-radius: 10px 10px;  
236 - border-bottom-left-radius: 10px 10px;  
237 - border-style: solid;  
238 - border-width: 0px 0px 0px 10px;  
239 - border-color: #edc600;  
240 -}  
241 -  
242 -.border-passed {  
243 - border-top-left-radius: 10px 10px;  
244 - border-bottom-left-radius: 10px 10px;  
245 - border-style: solid;  
246 - border-width: 0px 0px 0px 10px;  
247 - border-color: #19f52d;  
248 -}  
249 -  
250 -.times-div {  
251 - text-align: center;  
252 - padding: 5px;  
253 -}  
254 -  
255 -.suite-total-time {  
256 - font: 16px 'Lucida Grande';  
257 -}  
258 -  
259 -.configuration-suite {  
260 - margin-left: 20px;  
261 -}  
262 -  
263 -.configuration-test {  
264 - margin-left: 40px;  
265 -}  
266 -  
267 -.configuration-class {  
268 - margin-left: 60px;  
269 -}  
270 -  
271 -.configuration-method {  
272 - margin-left: 80px;  
273 -}  
274 -  
275 -.test-method {  
276 - margin-left: 100px;  
277 -}  
278 -  
279 -.chronological-class {  
280 - background-color: #0ccff;  
281 - border-style: solid;  
282 - border-width: 0px 0px 1px 1px;  
283 -}  
284 -  
285 -.method-start {  
286 - float: right;  
287 -}  
288 -  
289 -.chronological-class-name {  
290 - padding: 0px 0px 0px 5px;  
291 - color: #008;  
292 -}  
293 -  
294 -.after, .before, .test-method {  
295 - font-family: monospace;  
296 - font-size: 14px;  
297 -}  
298 -  
299 -.navigator-suite-header {  
300 - font-size: 22px;  
301 - margin: 0px 10px 5px 0px;  
302 - background-color: #deb887;  
303 - text-align: center;  
304 -}  
305 -  
306 -.collapse-all-icon {  
307 - padding: 5px;  
308 - float: right;  
309 -}  
test-output/testng-reports.js deleted
@@ -1,122 +0,0 @@ @@ -1,122 +0,0 @@
1 -$(document).ready(function() {  
2 - $('a.navigator-link').click(function() {  
3 - // Extract the panel for this link  
4 - var panel = getPanelName($(this));  
5 -  
6 - // Mark this link as currently selected  
7 - $('.navigator-link').parent().removeClass('navigator-selected');  
8 - $(this).parent().addClass('navigator-selected');  
9 -  
10 - showPanel(panel);  
11 - });  
12 -  
13 - installMethodHandlers('failed');  
14 - installMethodHandlers('skipped');  
15 - installMethodHandlers('passed', true); // hide passed methods by default  
16 -  
17 - $('a.method').click(function() {  
18 - showMethod($(this));  
19 - return false;  
20 - });  
21 -  
22 - // Hide all the panels and display the first one (do this last  
23 - // to make sure the click() will invoke the listeners)  
24 - $('.panel').hide();  
25 - $('.navigator-link').first().click();  
26 -  
27 - // Collapse/expand the suites  
28 - $('a.collapse-all-link').click(function() {  
29 - var contents = $('.navigator-suite-content');  
30 - if (contents.css('display') == 'none') {  
31 - contents.show();  
32 - } else {  
33 - contents.hide();  
34 - }  
35 - });  
36 -});  
37 -  
38 -// The handlers that take care of showing/hiding the methods  
39 -function installMethodHandlers(name, hide) {  
40 - function getContent(t) {  
41 - return $('.method-list-content.' + name + "." + t.attr('panel-name'));  
42 - }  
43 -  
44 - function getHideLink(t, name) {  
45 - var s = 'a.hide-methods.' + name + "." + t.attr('panel-name');  
46 - return $(s);  
47 - }  
48 -  
49 - function getShowLink(t, name) {  
50 - return $('a.show-methods.' + name + "." + t.attr('panel-name'));  
51 - }  
52 -  
53 - function getMethodPanelClassSel(element, name) {  
54 - var panelName = getPanelName(element);  
55 - var sel = '.' + panelName + "-class-" + name;  
56 - return $(sel);  
57 - }  
58 -  
59 - $('a.hide-methods.' + name).click(function() {  
60 - var w = getContent($(this));  
61 - w.hide();  
62 - getHideLink($(this), name).hide();  
63 - getShowLink($(this), name).show();  
64 - getMethodPanelClassSel($(this), name).hide();  
65 - });  
66 -  
67 - $('a.show-methods.' + name).click(function() {  
68 - var w = getContent($(this));  
69 - w.show();  
70 - getHideLink($(this), name).show();  
71 - getShowLink($(this), name).hide();  
72 - showPanel(getPanelName($(this)));  
73 - getMethodPanelClassSel($(this), name).show();  
74 - });  
75 -  
76 - if (hide) {  
77 - $('a.hide-methods.' + name).click();  
78 - } else {  
79 - $('a.show-methods.' + name).click();  
80 - }  
81 -}  
82 -  
83 -function getHashForMethod(element) {  
84 - return element.attr('hash-for-method');  
85 -}  
86 -  
87 -function getPanelName(element) {  
88 - return element.attr('panel-name');  
89 -}  
90 -  
91 -function showPanel(panelName) {  
92 - $('.panel').hide();  
93 - var panel = $('.panel[panel-name="' + panelName + '"]');  
94 - panel.show();  
95 -}  
96 -  
97 -function showMethod(element) {  
98 - var hashTag = getHashForMethod(element);  
99 - var panelName = getPanelName(element);  
100 - showPanel(panelName);  
101 - var current = document.location.href;  
102 - var base = current.substring(0, current.indexOf('#'))  
103 - document.location.href = base + '#' + hashTag;  
104 - var newPosition = $(document).scrollTop() - 65;  
105 - $(document).scrollTop(newPosition);  
106 -}  
107 -  
108 -function drawTable() {  
109 - for (var i = 0; i < suiteTableInitFunctions.length; i++) {  
110 - window[suiteTableInitFunctions[i]]();  
111 - }  
112 -  
113 - for (var k in window.suiteTableData) {  
114 - var v = window.suiteTableData[k];  
115 - var div = v.tableDiv;  
116 - var data = v.tableData  
117 - var table = new google.visualization.Table(document.getElementById(div));  
118 - table.draw(data, {  
119 - showRowNumber : false  
120 - });  
121 - }  
122 -}  
test-output/testng-results.xml deleted
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<testng-results skipped="0" failed="0" ignored="0" total="4" passed="4">  
3 - <reporter-output>  
4 - </reporter-output>  
5 - <suite name="新增原厂商品" duration-ms="69357" started-at="2018-10-23T07:34:40Z" finished-at="2018-10-23T07:35:49Z">  
6 - <groups>  
7 - </groups>  
8 - <test name="addOriginalGoods" duration-ms="69357" started-at="2018-10-23T07:34:40Z" finished-at="2018-10-23T07:35:49Z">  
9 - <class name="com.essa.testSuite.TestAddOriginalGoods">  
10 - <test-method status="PASS" signature="setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]" name="setUp" is-config="true" duration-ms="7829" started-at="2018-10-23T07:34:40Z" finished-at="2018-10-23T07:34:48Z">  
11 - <reporter-output>  
12 - </reporter-output>  
13 - </test-method> <!-- setUp -->  
14 - <test-method status="PASS" signature="toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]" name="toAddOriginalGoodsPage" duration-ms="29443" started-at="2018-10-23T07:34:48Z" description="原厂商品建档" finished-at="2018-10-23T07:35:17Z">  
15 - <reporter-output>  
16 - </reporter-output>  
17 - </test-method> <!-- toAddOriginalGoodsPage -->  
18 - <test-method status="PASS" signature="updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]" name="updatePic" duration-ms="14799" started-at="2018-10-23T07:35:17Z" description="更新图片" finished-at="2018-10-23T07:35:32Z">  
19 - <reporter-output>  
20 - </reporter-output>  
21 - </test-method> <!-- updatePic -->  
22 - <test-method status="PASS" signature="auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]" name="auditOriginal" duration-ms="14207" started-at="2018-10-23T07:35:32Z" description="原厂商品审核" finished-at="2018-10-23T07:35:46Z">  
23 - <reporter-output>  
24 - </reporter-output>  
25 - </test-method> <!-- auditOriginal -->  
26 - <test-method status="PASS" signature="getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]" name="getSkuNo" duration-ms="2285" started-at="2018-10-23T07:35:46Z" description="去商品库获取添加的sku编号" finished-at="2018-10-23T07:35:49Z">  
27 - <reporter-output>  
28 - </reporter-output>  
29 - </test-method> <!-- getSkuNo -->  
30 - <test-method status="PASS" signature="tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74462b00]" name="tearDown" is-config="true" duration-ms="770" started-at="2018-10-23T07:35:49Z" finished-at="2018-10-23T07:35:49Z">  
31 - <reporter-output>  
32 - </reporter-output>  
33 - </test-method> <!-- tearDown -->  
34 - </class> <!-- com.essa.testSuite.TestAddOriginalGoods -->  
35 - </test> <!-- addOriginalGoods -->  
36 - </suite> <!-- 新增原厂商品 -->  
37 -</testng-results>  
test-output/testng.css deleted
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -.invocation-failed, .test-failed { background-color: #DD0000; }  
2 -.invocation-percent, .test-percent { background-color: #006600; }  
3 -.invocation-passed, .test-passed { background-color: #00AA00; }  
4 -.invocation-skipped, .test-skipped { background-color: #CCCC00; }  
5 -  
6 -.main-page {  
7 - font-size: x-large;  
8 -}  
9 -  
test-output/xml/com.essa.testSuite.Test_Login_results.xml deleted
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<testsuite name="µÇ¼"  
3 - tests="2"  
4 - failures="0"  
5 - errors="0"  
6 - skipped="0"  
7 - time="11.344">  
8 - <properties />  
9 -  
10 -  
11 - <testcase name="login" time="5.201" classname="com.essa.testSuite.Test_Login" />  
12 - <testcase name="login" time="6.143" classname="com.essa.testSuite.Test_Login" />  
13 -  
14 -</testsuite>  
test-output/发布团购商品/publishGroupPurchase.html deleted
@@ -1,114 +0,0 @@ @@ -1,114 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: publishGroupPurchase</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>publishGroupPurchase</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>7/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Sun Sep 30 17:47:44 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>113 seconds (113094 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.TestGroupPurchase.SkuCategoryManagerCongfig()'><b>SkuCategoryManagerCongfig</b><br>Test class: com.essa.testSuite.TestGroupPurchase<br>Test method: 配置商品类目经理</td>  
79 -<td></td>  
80 -<td>5</td>  
81 -<td>com.essa.testSuite.TestGroupPurchase@11a26533</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.TestAddOriginalGoods.auditOriginal()'><b>auditOriginal</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品审核</td>  
84 -<td></td>  
85 -<td>14</td>  
86 -<td>com.essa.testSuite.TestAddOriginalGoods@b5e5354</td></tr>  
87 -<tr>  
88 -<td title='com.essa.testSuite.TestAddOriginalGoods.getSkuNo()'><b>getSkuNo</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 去商品库获取添加的sku编号</td>  
89 -<td></td>  
90 -<td>2</td>  
91 -<td>com.essa.testSuite.TestAddOriginalGoods@b5e5354</td></tr>  
92 -<tr>  
93 -<td title='com.essa.testSuite.TestGroupPurchase.isPublish()'><b>isPublish</b><br>Test class: com.essa.testSuite.TestGroupPurchase<br>Test method: 检查团购是否发布成功</td>  
94 -<td></td>  
95 -<td>4</td>  
96 -<td>com.essa.testSuite.TestGroupPurchase@11a26533</td></tr>  
97 -<tr>  
98 -<td title='com.essa.testSuite.TestGroupPurchase.publishGroupPurchase()'><b>publishGroupPurchase</b><br>Test class: com.essa.testSuite.TestGroupPurchase<br>Test method: 发布团购</td>  
99 -<td></td>  
100 -<td>27</td>  
101 -<td>com.essa.testSuite.TestGroupPurchase@11a26533</td></tr>  
102 -<tr>  
103 -<td title='com.essa.testSuite.TestAddOriginalGoods.toAddOriginalGoodsPage()'><b>toAddOriginalGoodsPage</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品建档</td>  
104 -<td></td>  
105 -<td>29</td>  
106 -<td>com.essa.testSuite.TestAddOriginalGoods@b5e5354</td></tr>  
107 -<tr>  
108 -<td title='com.essa.testSuite.TestAddOriginalGoods.updatePic()'><b>updatePic</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 更新图片</td>  
109 -<td></td>  
110 -<td>13</td>  
111 -<td>com.essa.testSuite.TestAddOriginalGoods@b5e5354</td></tr>  
112 -</table><p>  
113 -</body>  
114 -</html>  
115 \ No newline at end of file 0 \ No newline at end of file
test-output/发布团购商品/publishGroupPurchase.xml deleted
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="0" name="publishGroupPurchase" tests="7" failures="0" timestamp="30 九月 2018 09:49:37 GMT" time="113.094" errors="0">  
4 - <testcase name="toAddOriginalGoodsPage" time="29.577" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
5 - <testcase name="updatePic" time="13.079" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
6 - <testcase name="auditOriginal" time="14.236" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
7 - <testcase name="getSkuNo" time="2.418" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
8 - <testcase name="SkuCategoryManagerCongfig" time="5.388" classname="com.essa.testSuite.TestGroupPurchase"/>  
9 - <testcase name="publishGroupPurchase" time="27.964" classname="com.essa.testSuite.TestGroupPurchase"/>  
10 - <testcase name="isPublish" time="4.499" classname="com.essa.testSuite.TestGroupPurchase"/>  
11 -</testsuite> <!-- publishGroupPurchase -->  
test-output/发布团购商品/testng-failed.xml deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite name="Failed suite [发布团购商品]" guice-stage="DEVELOPMENT">  
4 - <test thread-count="5" name="publishGroupPurchase(failed)">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestGroupPurchase">  
7 - <methods>  
8 - <include name="setUp"/>  
9 - <include name="isPublish"/>  
10 - <include name="tearDown"/>  
11 - </methods>  
12 - </class> <!-- com.essa.testSuite.TestGroupPurchase -->  
13 - </classes>  
14 - </test> <!-- publishGroupPurchase(failed) -->  
15 -</suite> <!-- Failed suite [发布团购商品] -->  
test-output/成品询价/productInquiry.html deleted
@@ -1,331 +0,0 @@ @@ -1,331 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: productInquiry</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>productInquiry</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>1/0/1</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Fri Sep 28 11:24:10 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>34 seconds (34656 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-failed'>  
71 -<tr><td colspan='4' align='center'><b>FAILED CONFIGURATIONS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.TestProductInquiry.setUp()'><b>setUp</b><br>Test class: com.essa.testSuite.TestProductInquiry</td>  
79 -<td><div><pre>org.openqa.selenium.NoSuchWindowException: no such window: target window already closed  
80 -from unknown error: web view not found  
81 - (Session info: chrome=69.0.3497.92)  
82 - (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)  
83 -Command duration or timeout: 0 milliseconds  
84 -Build info: version: &apos;3.11.0&apos;, revision: &apos;e59cfb3&apos;, time: &apos;2018-03-11T20:26:55.152Z&apos;  
85 -System info: host: &apos;4F5EY2X7DB7A4UR&apos;, ip: &apos;192.168.1.241&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_181&apos;  
86 -Driver info: org.openqa.selenium.chrome.ChromeDriver  
87 -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.41.578737 (49da6702b16031..., userDataDir: C:\Users\ADMINI~1\AppData\L...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:60429}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.92, webStorageEnabled: true}  
88 -Session ID: da1afe504d58fa625211844ee43ef699  
89 -*** Element info: {Using=xpath, value=//*[@id=&apos;username&apos;]}  
90 - at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)  
91 - at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)  
92 - at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)  
93 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)  
94 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)  
95 - at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)  
96 - at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)  
97 - at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)  
98 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)  
99 - at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:421)  
100 - at org.openqa.selenium.By$ByXPath.findElement(By.java:361)  
101 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:311)  
102 - at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)  
103 - at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)  
104 - at com.sun.proxy.$Proxy5.toString(Unknown Source)  
105 - at com.essa.framework.BasePage.sendKeys(BasePage.java:75)  
106 - at com.essa.pageObject.LoginPage.login(LoginPage.java:49)  
107 - at com.essa.pageObject.BaseTest.loginValid(BaseTest.java:56)  
108 - at com.essa.testSuite.TestProductInquiry.setUp(TestProductInquiry.java:26)  
109 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:654)  
110 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
111 - at javax.swing.SwingWorker$1.call(Unknown Source)  
112 - at java.util.concurrent.FutureTask.run(Unknown Source)  
113 - at javax.swing.SwingWorker.run(Unknown Source)  
114 - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
115 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
116 - at java.lang.Thread.run(Unknown Source)  
117 -... Removed 27 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1144850131", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>  
118 -<div class='stack-trace' id='stack-trace1144850131'><pre>org.openqa.selenium.NoSuchWindowException: no such window: target window already closed  
119 -from unknown error: web view not found  
120 - (Session info: chrome=69.0.3497.92)  
121 - (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)  
122 -Command duration or timeout: 0 milliseconds  
123 -Build info: version: &apos;3.11.0&apos;, revision: &apos;e59cfb3&apos;, time: &apos;2018-03-11T20:26:55.152Z&apos;  
124 -System info: host: &apos;4F5EY2X7DB7A4UR&apos;, ip: &apos;192.168.1.241&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_181&apos;  
125 -Driver info: org.openqa.selenium.chrome.ChromeDriver  
126 -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.41.578737 (49da6702b16031..., userDataDir: C:\Users\ADMINI~1\AppData\L...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:60429}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.92, webStorageEnabled: true}  
127 -Session ID: da1afe504d58fa625211844ee43ef699  
128 -*** Element info: {Using=xpath, value=//*[@id=&apos;username&apos;]}  
129 - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
130 - at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)  
131 - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)  
132 - at java.lang.reflect.Constructor.newInstance(Unknown Source)  
133 - at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)  
134 - at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)  
135 - at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)  
136 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)  
137 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)  
138 - at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)  
139 - at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)  
140 - at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)  
141 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)  
142 - at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:421)  
143 - at org.openqa.selenium.By$ByXPath.findElement(By.java:361)  
144 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:311)  
145 - at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)  
146 - at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)  
147 - at com.sun.proxy.$Proxy5.toString(Unknown Source)  
148 - at com.essa.framework.BasePage.sendKeys(BasePage.java:75)  
149 - at com.essa.pageObject.LoginPage.login(LoginPage.java:49)  
150 - at com.essa.pageObject.BaseTest.loginValid(BaseTest.java:56)  
151 - at com.essa.testSuite.TestProductInquiry.setUp(TestProductInquiry.java:26)  
152 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
153 - at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
154 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
155 - at java.lang.reflect.Method.invoke(Unknown Source)  
156 - at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)  
157 - at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)  
158 - at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)  
159 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)  
160 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)  
161 - at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:168)  
162 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)  
163 - at org.testng.TestRunner.privateRun(TestRunner.java:648)  
164 - at org.testng.TestRunner.run(TestRunner.java:505)  
165 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)  
166 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)  
167 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)  
168 - at org.testng.SuiteRunner.run(SuiteRunner.java:364)  
169 - at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)  
170 - at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)  
171 - at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)  
172 - at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)  
173 - at org.testng.TestNG.runSuites(TestNG.java:1049)  
174 - at org.testng.TestNG.run(TestNG.java:1017)  
175 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:654)  
176 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
177 - at javax.swing.SwingWorker$1.call(Unknown Source)  
178 - at java.util.concurrent.FutureTask.run(Unknown Source)  
179 - at javax.swing.SwingWorker.run(Unknown Source)  
180 - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
181 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
182 - at java.lang.Thread.run(Unknown Source)  
183 -</pre></div></td>  
184 -<td>5</td>  
185 -<td>com.essa.testSuite.TestProductInquiry@34f66c96</td></tr>  
186 -</table><p>  
187 -<table width='100%' border='1' class='invocation-skipped'>  
188 -<tr><td colspan='4' align='center'><b>SKIPPED CONFIGURATIONS</b></td></tr>  
189 -<tr><td><b>Test method</b></td>  
190 -<td width="30%"><b>Exception</b></td>  
191 -<td width="10%"><b>Time (seconds)</b></td>  
192 -<td><b>Instance</b></td>  
193 -</tr>  
194 -<tr>  
195 -<td title='com.essa.testSuite.TestProductInquiry.tearDown()'><b>tearDown</b><br>Test class: com.essa.testSuite.TestProductInquiry</td>  
196 -<td></td>  
197 -<td>0</td>  
198 -<td>com.essa.testSuite.TestProductInquiry@34f66c96</td></tr>  
199 -</table><p>  
200 -<table width='100%' border='1' class='invocation-passed'>  
201 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
202 -<tr><td><b>Test method</b></td>  
203 -<td width="30%"><b>Exception</b></td>  
204 -<td width="10%"><b>Time (seconds)</b></td>  
205 -<td><b>Instance</b></td>  
206 -</tr>  
207 -<tr>  
208 -<td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td>  
209 -<td></td>  
210 -<td>20</td>  
211 -<td>com.buyer.testSuite.TestAddToCart@78b69ec7</td></tr>  
212 -</table><p>  
213 -<table width='100%' border='1' class='invocation-skipped'>  
214 -<tr><td colspan='4' align='center'><b>SKIPPED TESTS</b></td></tr>  
215 -<tr><td><b>Test method</b></td>  
216 -<td width="30%"><b>Exception</b></td>  
217 -<td width="10%"><b>Time (seconds)</b></td>  
218 -<td><b>Instance</b></td>  
219 -</tr>  
220 -<tr>  
221 -<td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td>  
222 -<td><div><pre>org.openqa.selenium.NoSuchWindowException: no such window: target window already closed  
223 -from unknown error: web view not found  
224 - (Session info: chrome=69.0.3497.92)  
225 - (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)  
226 -Command duration or timeout: 0 milliseconds  
227 -Build info: version: &apos;3.11.0&apos;, revision: &apos;e59cfb3&apos;, time: &apos;2018-03-11T20:26:55.152Z&apos;  
228 -System info: host: &apos;4F5EY2X7DB7A4UR&apos;, ip: &apos;192.168.1.241&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_181&apos;  
229 -Driver info: org.openqa.selenium.chrome.ChromeDriver  
230 -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.41.578737 (49da6702b16031..., userDataDir: C:\Users\ADMINI~1\AppData\L...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:60429}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.92, webStorageEnabled: true}  
231 -Session ID: da1afe504d58fa625211844ee43ef699  
232 -*** Element info: {Using=xpath, value=//*[@id=&apos;username&apos;]}  
233 - at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)  
234 - at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)  
235 - at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)  
236 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)  
237 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)  
238 - at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)  
239 - at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)  
240 - at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)  
241 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)  
242 - at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:421)  
243 - at org.openqa.selenium.By$ByXPath.findElement(By.java:361)  
244 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:311)  
245 - at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)  
246 - at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)  
247 - at com.sun.proxy.$Proxy5.toString(Unknown Source)  
248 - at com.essa.framework.BasePage.sendKeys(BasePage.java:75)  
249 - at com.essa.pageObject.LoginPage.login(LoginPage.java:49)  
250 - at com.essa.pageObject.BaseTest.loginValid(BaseTest.java:56)  
251 - at com.essa.testSuite.TestProductInquiry.setUp(TestProductInquiry.java:26)  
252 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:654)  
253 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
254 - at javax.swing.SwingWorker$1.call(Unknown Source)  
255 - at java.util.concurrent.FutureTask.run(Unknown Source)  
256 - at javax.swing.SwingWorker.run(Unknown Source)  
257 - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
258 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
259 - at java.lang.Thread.run(Unknown Source)  
260 -... Removed 27 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace304290466", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>  
261 -<div class='stack-trace' id='stack-trace304290466'><pre>org.openqa.selenium.NoSuchWindowException: no such window: target window already closed  
262 -from unknown error: web view not found  
263 - (Session info: chrome=69.0.3497.92)  
264 - (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)  
265 -Command duration or timeout: 0 milliseconds  
266 -Build info: version: &apos;3.11.0&apos;, revision: &apos;e59cfb3&apos;, time: &apos;2018-03-11T20:26:55.152Z&apos;  
267 -System info: host: &apos;4F5EY2X7DB7A4UR&apos;, ip: &apos;192.168.1.241&apos;, os.name: &apos;Windows 10&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;10.0&apos;, java.version: &apos;1.8.0_181&apos;  
268 -Driver info: org.openqa.selenium.chrome.ChromeDriver  
269 -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.41.578737 (49da6702b16031..., userDataDir: C:\Users\ADMINI~1\AppData\L...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:60429}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.92, webStorageEnabled: true}  
270 -Session ID: da1afe504d58fa625211844ee43ef699  
271 -*** Element info: {Using=xpath, value=//*[@id=&apos;username&apos;]}  
272 - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
273 - at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)  
274 - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)  
275 - at java.lang.reflect.Constructor.newInstance(Unknown Source)  
276 - at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)  
277 - at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)  
278 - at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)  
279 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)  
280 - at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)  
281 - at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)  
282 - at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)  
283 - at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)  
284 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)  
285 - at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:421)  
286 - at org.openqa.selenium.By$ByXPath.findElement(By.java:361)  
287 - at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:311)  
288 - at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)  
289 - at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)  
290 - at com.sun.proxy.$Proxy5.toString(Unknown Source)  
291 - at com.essa.framework.BasePage.sendKeys(BasePage.java:75)  
292 - at com.essa.pageObject.LoginPage.login(LoginPage.java:49)  
293 - at com.essa.pageObject.BaseTest.loginValid(BaseTest.java:56)  
294 - at com.essa.testSuite.TestProductInquiry.setUp(TestProductInquiry.java:26)  
295 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
296 - at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
297 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
298 - at java.lang.reflect.Method.invoke(Unknown Source)  
299 - at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)  
300 - at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)  
301 - at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)  
302 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)  
303 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)  
304 - at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:168)  
305 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)  
306 - at org.testng.TestRunner.privateRun(TestRunner.java:648)  
307 - at org.testng.TestRunner.run(TestRunner.java:505)  
308 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)  
309 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)  
310 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)  
311 - at org.testng.SuiteRunner.run(SuiteRunner.java:364)  
312 - at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)  
313 - at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)  
314 - at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)  
315 - at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)  
316 - at org.testng.TestNG.runSuites(TestNG.java:1049)  
317 - at org.testng.TestNG.run(TestNG.java:1017)  
318 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:654)  
319 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
320 - at javax.swing.SwingWorker$1.call(Unknown Source)  
321 - at java.util.concurrent.FutureTask.run(Unknown Source)  
322 - at javax.swing.SwingWorker.run(Unknown Source)  
323 - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
324 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
325 - at java.lang.Thread.run(Unknown Source)  
326 -</pre></div></td>  
327 -<td>0</td>  
328 -<td>com.essa.testSuite.TestProductInquiry@34f66c96</td></tr>  
329 -</table><p>  
330 -</body>  
331 -</html>  
332 \ No newline at end of file 0 \ No newline at end of file
test-output/成品询价/productInquiry.xml deleted
@@ -1,67 +0,0 @@ @@ -1,67 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="1" name="productInquiry" tests="2" failures="0" timestamp="28 九月 2018 03:24:44 GMT" time="34.656" errors="0">  
4 - <testcase name="@BeforeClass setUp" time="5.246" classname="com.essa.testSuite.TestProductInquiry">  
5 - <failure type="org.openqa.selenium.NoSuchWindowException" message="no such window: target window already closed  
6 -from unknown error: web view not found  
7 - (Session info: chrome=69.0.3497.92)  
8 - (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)  
9 -Command duration or timeout: 0 milliseconds  
10 -Build info: version: &amp;apos;3.11.0&amp;apos;, revision: &amp;apos;e59cfb3&amp;apos;, time: &amp;apos;2018-03-11T20:26:55.152Z&amp;apos;  
11 -System info: host: &amp;apos;4F5EY2X7DB7A4UR&amp;apos;, ip: &amp;apos;192.168.1.241&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_181&amp;apos;  
12 -Driver info: org.openqa.selenium.chrome.ChromeDriver  
13 -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.41.578737 (49da6702b16031..., userDataDir: C:\Users\ADMINI~1\AppData\L...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:60429}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.92, webStorageEnabled: true}  
14 -Session ID: da1afe504d58fa625211844ee43ef699  
15 -*** Element info: {Using=xpath, value=//*[@id=&amp;apos;username&amp;apos;]}">  
16 - <![CDATA[org.openqa.selenium.NoSuchWindowException: no such window: target window already closed  
17 -from unknown error: web view not found  
18 - (Session info: chrome=69.0.3497.92)  
19 - (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)  
20 -Command duration or timeout: 0 milliseconds  
21 -Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'  
22 -System info: host: '4F5EY2X7DB7A4UR', ip: '192.168.1.241', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'  
23 -Driver info: org.openqa.selenium.chrome.ChromeDriver  
24 -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.41.578737 (49da6702b16031..., userDataDir: C:\Users\ADMINI~1\AppData\L...}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:60429}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.92, webStorageEnabled: true}  
25 -Session ID: da1afe504d58fa625211844ee43ef699  
26 -*** Element info: {Using=xpath, value=//*[@id='username']}  
27 -at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)  
28 -at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)  
29 -at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)  
30 -at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)  
31 -at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)  
32 -at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)  
33 -at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)  
34 -at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)  
35 -at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)  
36 -at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:421)  
37 -at org.openqa.selenium.By$ByXPath.findElement(By.java:361)  
38 -at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:311)  
39 -at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)  
40 -at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)  
41 -at com.sun.proxy.$Proxy5.toString(Unknown Source)  
42 -at com.essa.framework.BasePage.sendKeys(BasePage.java:75)  
43 -at com.essa.pageObject.LoginPage.login(LoginPage.java:49)  
44 -at com.essa.pageObject.BaseTest.loginValid(BaseTest.java:56)  
45 -at com.essa.testSuite.TestProductInquiry.setUp(TestProductInquiry.java:26)  
46 -at swing.SwingMain$9$1.doInBackground(SwingMain.java:654)  
47 -at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
48 -at javax.swing.SwingWorker$1.call(Unknown Source)  
49 -at java.util.concurrent.FutureTask.run(Unknown Source)  
50 -at javax.swing.SwingWorker.run(Unknown Source)  
51 -at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
52 -at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
53 -at java.lang.Thread.run(Unknown Source)  
54 -... Removed 27 stack frames]]>  
55 - </failure>  
56 - </testcase> <!-- @BeforeClass setUp -->  
57 - <testcase name="@AfterClass tearDown" time="0.0" classname="com.essa.testSuite.TestProductInquiry">  
58 - <skipped/>  
59 - </testcase> <!-- @AfterClass tearDown -->  
60 - <testcase name="keywordToCart" time="20.938" classname="com.buyer.testSuite.TestAddToCart"/>  
61 - <testcase name="productInquiry" time="0.0" classname="com.essa.testSuite.TestProductInquiry">  
62 - <skipped/>  
63 - </testcase> <!-- productInquiry -->  
64 - <testcase name="addSku" time="0.0" classname="com.buyer.testSuite.TestAddToCart">  
65 - <ignored/>  
66 - </testcase> <!-- addSku -->  
67 -</testsuite> <!-- productInquiry -->  
test-output/成品询价/testng-failed.xml deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite guice-stage="DEVELOPMENT" name="Failed suite [成品询价]">  
4 - <test thread-count="5" name="productInquiry(failed)">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestProductInquiry">  
7 - <methods>  
8 - <include name="productInquiry"/>  
9 - <include name="tearDown"/>  
10 - <include name="setUp"/>  
11 - </methods>  
12 - </class> <!-- com.essa.testSuite.TestProductInquiry -->  
13 - </classes>  
14 - </test> <!-- productInquiry(failed) -->  
15 -</suite> <!-- Failed suite [成品询价] -->  
test-output/提交PO-活动商品/sendActivityPO.html deleted
@@ -1,94 +0,0 @@ @@ -1,94 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: sendActivityPO</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>sendActivityPO</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Mon Sep 03 16:02:24 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>84 seconds (84111 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.buyer.testSuite.TestAddToCart.addSku()'><b>addSku</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 将sku加入购物车</td>  
79 -<td></td>  
80 -<td>13</td>  
81 -<td>com.buyer.testSuite.TestAddToCart@20fceaa1</td></tr>  
82 -<tr>  
83 -<td title='com.buyer.testSuite.TestSendPO.conslidation()'><b>conslidation</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 开始拼柜</td>  
84 -<td></td>  
85 -<td>38</td>  
86 -<td>com.buyer.testSuite.TestSendPO@6dd8e9aa</td></tr>  
87 -<tr>  
88 -<td title='com.buyer.testSuite.TestSendPO.sendPO()'><b>sendPO</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 设置贴纸唛头,提交PO</td>  
89 -<td></td>  
90 -<td>13</td>  
91 -<td>com.buyer.testSuite.TestSendPO@6dd8e9aa</td></tr>  
92 -</table><p>  
93 -</body>  
94 -</html>  
95 \ No newline at end of file 0 \ No newline at end of file
test-output/提交PO-活动商品/sendActivityPO.xml deleted
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="sendActivityPO" time="84.111" errors="0" timestamp="03 9月 2018 08:03:48 GMT">  
4 - <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="13.142"/>  
5 - <testcase classname="com.buyer.testSuite.TestSendPO" name="conslidation" time="38.353"/>  
6 - <testcase classname="com.buyer.testSuite.TestSendPO" name="sendPO" time="13.335"/>  
7 - <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="0.0">  
8 - <ignored/>  
9 - </testcase> <!-- keywordToCart -->  
10 -</testsuite> <!-- sendActivityPO -->  
test-output/提交PO/sendPO.html deleted
@@ -1,99 +0,0 @@ @@ -1,99 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: sendPO</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>sendPO</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>4/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Tue Oct 23 15:20:52 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>95 seconds (95783 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.buyer.testSuite.TestAddToCart.addSku()'><b>addSku</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 将sku加入购物车</td>  
79 -<td></td>  
80 -<td>8</td>  
81 -<td>com.buyer.testSuite.TestAddToCart@4de69ef7</td></tr>  
82 -<tr>  
83 -<td title='com.buyer.testSuite.TestSendPO.conslidation()'><b>conslidation</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 开始拼柜</td>  
84 -<td></td>  
85 -<td>28</td>  
86 -<td>com.buyer.testSuite.TestSendPO@6c615156</td></tr>  
87 -<tr>  
88 -<td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td>  
89 -<td></td>  
90 -<td>16</td>  
91 -<td>com.essa.testSuite.TestProductInquiry@2ebbddfb</td></tr>  
92 -<tr>  
93 -<td title='com.buyer.testSuite.TestSendPO.sendPO()'><b>sendPO</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 设置贴纸唛头,提交PO</td>  
94 -<td></td>  
95 -<td>17</td>  
96 -<td>com.buyer.testSuite.TestSendPO@6c615156</td></tr>  
97 -</table><p>  
98 -</body>  
99 -</html>  
100 \ No newline at end of file 0 \ No newline at end of file
test-output/提交PO/sendPO.xml deleted
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="1" name="sendPO" tests="4" failures="0" timestamp="23 十月 2018 07:22:28 GMT" time="95.783" errors="0">  
4 - <testcase name="addSku" time="8.12" classname="com.buyer.testSuite.TestAddToCart"/>  
5 - <testcase name="productInquiry" time="16.265" classname="com.essa.testSuite.TestProductInquiry"/>  
6 - <testcase name="conslidation" time="28.233" classname="com.buyer.testSuite.TestSendPO"/>  
7 - <testcase name="sendPO" time="17.086" classname="com.buyer.testSuite.TestSendPO"/>  
8 - <testcase name="keywordToCart" time="0.0" classname="com.buyer.testSuite.TestAddToCart">  
9 - <ignored/>  
10 - </testcase> <!-- keywordToCart -->  
11 -</testsuite> <!-- sendPO -->  
test-output/提交PO/testng-failed.xml deleted
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite guice-stage="DEVELOPMENT" name="Failed suite [提交PO]">  
4 - <test thread-count="5" name="sendPO(failed)">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestSendPO">  
7 - <methods>  
8 - <include name="tearDown"/>  
9 - <include name="setUp"/>  
10 - <include name="conslidation"/>  
11 - <include name="sendPO"/>  
12 - </methods>  
13 - </class> <!-- com.buyer.testSuite.TestSendPO -->  
14 - </classes>  
15 - </test> <!-- sendPO(failed) -->  
16 -</suite> <!-- Failed suite [提交PO] -->  
test-output/新增原厂商品/addOriginalGoods.html deleted
@@ -1,99 +0,0 @@ @@ -1,99 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: addOriginalGoods</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>addOriginalGoods</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>4/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Tue Oct 23 15:34:40 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>69 seconds (69357 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.TestAddOriginalGoods.auditOriginal()'><b>auditOriginal</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品审核</td>  
79 -<td></td>  
80 -<td>14</td>  
81 -<td>com.essa.testSuite.TestAddOriginalGoods@74462b00</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.TestAddOriginalGoods.getSkuNo()'><b>getSkuNo</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 去商品库获取添加的sku编号</td>  
84 -<td></td>  
85 -<td>2</td>  
86 -<td>com.essa.testSuite.TestAddOriginalGoods@74462b00</td></tr>  
87 -<tr>  
88 -<td title='com.essa.testSuite.TestAddOriginalGoods.toAddOriginalGoodsPage()'><b>toAddOriginalGoodsPage</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品建档</td>  
89 -<td></td>  
90 -<td>29</td>  
91 -<td>com.essa.testSuite.TestAddOriginalGoods@74462b00</td></tr>  
92 -<tr>  
93 -<td title='com.essa.testSuite.TestAddOriginalGoods.updatePic()'><b>updatePic</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 更新图片</td>  
94 -<td></td>  
95 -<td>14</td>  
96 -<td>com.essa.testSuite.TestAddOriginalGoods@74462b00</td></tr>  
97 -</table><p>  
98 -</body>  
99 -</html>  
100 \ No newline at end of file 0 \ No newline at end of file
test-output/新增原厂商品/addOriginalGoods.xml deleted
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="0" name="addOriginalGoods" tests="4" failures="0" timestamp="23 十月 2018 07:35:49 GMT" time="69.357" errors="0">  
4 - <testcase name="toAddOriginalGoodsPage" time="29.443" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
5 - <testcase name="updatePic" time="14.799" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
6 - <testcase name="auditOriginal" time="14.207" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
7 - <testcase name="getSkuNo" time="2.285" classname="com.essa.testSuite.TestAddOriginalGoods"/>  
8 -</testsuite> <!-- addOriginalGoods -->  
test-output/新增原厂商品/testng-failed.xml deleted
@@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite guice-stage="DEVELOPMENT" name="Failed suite [新增原厂商品]">  
4 - <test thread-count="5" name="addOriginalGoods(failed)">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestAddOriginalGoods">  
7 - <methods>  
8 - <include name="getSkuNo"/>  
9 - <include name="auditOriginal"/>  
10 - <include name="setUp"/>  
11 - <include name="updatePic"/>  
12 - <include name="tearDown"/>  
13 - </methods>  
14 - </class> <!-- com.essa.testSuite.TestAddOriginalGoods -->  
15 - </classes>  
16 - </test> <!-- addOriginalGoods(failed) -->  
17 -</suite> <!-- Failed suite [新增原厂商品] -->  
test-output/新增市场商品/addMarketGoods.html deleted
@@ -1,94 +0,0 @@ @@ -1,94 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: addMarketGoods</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>addMarketGoods</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Sun Sep 30 17:44:43 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>68 seconds (68659 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.TestAddMarketGoods.addMarketGoods()'><b>addMarketGoods</b><br>Test class: com.essa.testSuite.TestAddMarketGoods<br>Test method: 市场商品建档</td>  
79 -<td></td>  
80 -<td>37</td>  
81 -<td>com.essa.testSuite.TestAddMarketGoods@1b93ade2</td></tr>  
82 -<tr>  
83 -<td title='com.essa.testSuite.TestAddMarketGoods.auditMarketGoods()'><b>auditMarketGoods</b><br>Test class: com.essa.testSuite.TestAddMarketGoods<br>Test method: 市场商品审核</td>  
84 -<td></td>  
85 -<td>16</td>  
86 -<td>com.essa.testSuite.TestAddMarketGoods@1b93ade2</td></tr>  
87 -<tr>  
88 -<td title='com.essa.testSuite.TestAddMarketGoods.toMarketGoodsRelesePage()'><b>toMarketGoodsRelesePage</b><br>Test class: com.essa.testSuite.TestAddMarketGoods<br>Test method: 进入市场商品发布列表,选择采购商</td>  
89 -<td></td>  
90 -<td>5</td>  
91 -<td>com.essa.testSuite.TestAddMarketGoods@1b93ade2</td></tr>  
92 -</table><p>  
93 -</body>  
94 -</html>  
95 \ No newline at end of file 0 \ No newline at end of file
test-output/新增市场商品/addMarketGoods.xml deleted
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="0" name="addMarketGoods" tests="3" failures="0" timestamp="30 九月 2018 09:45:52 GMT" time="68.659" errors="0">  
4 - <testcase name="toMarketGoodsRelesePage" time="5.513" classname="com.essa.testSuite.TestAddMarketGoods"/>  
5 - <testcase name="addMarketGoods" time="37.398" classname="com.essa.testSuite.TestAddMarketGoods"/>  
6 - <testcase name="auditMarketGoods" time="16.637" classname="com.essa.testSuite.TestAddMarketGoods"/>  
7 -</testsuite> <!-- addMarketGoods -->  
test-output/新增市场商品/testng-failed.xml deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite name="Failed suite [新增市场商品]" guice-stage="DEVELOPMENT">  
4 - <test thread-count="5" name="addMarketGoods(failed)">  
5 - <classes>  
6 - <class name="com.essa.testSuite.TestAddMarketGoods">  
7 - <methods>  
8 - <include name="tearDown"/>  
9 - <include name="setUp"/>  
10 - <include name="auditMarketGoods"/>  
11 - </methods>  
12 - </class> <!-- com.essa.testSuite.TestAddMarketGoods -->  
13 - </classes>  
14 - </test> <!-- addMarketGoods(failed) -->  
15 -</suite> <!-- Failed suite [新增市场商品] -->  
test-output/添加SKU到购物车/buyerRegister.html deleted
@@ -1,84 +0,0 @@ @@ -1,84 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: buyerRegister</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>buyerRegister</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Fri Aug 31 16:16:24 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>25 seconds (25249 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td>  
79 -<td></td>  
80 -<td>16</td>  
81 -<td>com.buyer.testSuite.TestAddToCart@33c31eea</td></tr>  
82 -</table><p>  
83 -</body>  
84 -</html>  
85 \ No newline at end of file 0 \ No newline at end of file
test-output/添加SKU到购物车/buyerRegister.xml deleted
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="buyerRegister" time="25.249" errors="0" timestamp="31 8月 2018 08:16:49 GMT">  
4 - <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="16.753"/>  
5 - <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="0.0">  
6 - <ignored/>  
7 - </testcase> <!-- addSku -->  
8 -</testsuite> <!-- buyerRegister -->  
test-output/添加SKU到购物车/testng-failed.xml deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite name="Failed suite [添加SKU到购物车]" guice-stage="DEVELOPMENT">  
4 - <test thread-count="5" name="buyerRegister(failed)">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestAddToCart">  
7 - <methods>  
8 - <include name="keywordToCart"/>  
9 - <include name="tearDown"/>  
10 - <include name="setUp"/>  
11 - </methods>  
12 - </class> <!-- com.buyer.testSuite.TestAddToCart -->  
13 - </classes>  
14 - </test> <!-- buyerRegister(failed) -->  
15 -</suite> <!-- Failed suite [添加SKU到购物车] -->  
test-output/采购商注册/RegisterBuyer.html deleted
@@ -1,89 +0,0 @@ @@ -1,89 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: RegisterBuyer</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>RegisterBuyer</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Tue Aug 28 10:52:45 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>35 seconds (35688 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-passed'>  
71 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.essa.testSuite.TestGenrateCode.genrateCode()'><b>genrateCode</b><br>Test class: com.essa.testSuite.TestGenrateCode</td>  
79 -<td></td>  
80 -<td>5</td>  
81 -<td>com.essa.testSuite.TestGenrateCode@15fa3089</td></tr>  
82 -<tr>  
83 -<td title='com.buyer.testSuite.TestRegister.register()'><b>register</b><br>Test class: com.buyer.testSuite.TestRegister</td>  
84 -<td></td>  
85 -<td>11</td>  
86 -<td>com.buyer.testSuite.TestRegister@2324676a</td></tr>  
87 -</table><p>  
88 -</body>  
89 -</html>  
90 \ No newline at end of file 0 \ No newline at end of file
test-output/采购商注册/RegisterBuyer.xml deleted
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="RegisterBuyer" time="35.688" errors="0" timestamp="28 8月 2018 02:53:21 GMT">  
4 - <testcase classname="com.essa.testSuite.TestGenrateCode" name="genrateCode" time="5.51"/>  
5 - <testcase classname="com.buyer.testSuite.TestRegister" name="register" time="11.828"/>  
6 -</testsuite> <!-- RegisterBuyer -->  
test-output/采购商注册/buyerRegister.html deleted
@@ -1,143 +0,0 @@ @@ -1,143 +0,0 @@
1 -<html>  
2 -<head>  
3 -<title>TestNG: buyerRegister</title>  
4 -<link href="../testng.css" rel="stylesheet" type="text/css" />  
5 -<link href="../my-testng.css" rel="stylesheet" type="text/css" />  
6 -  
7 -<style type="text/css">  
8 -.log { display: none;}  
9 -.stack-trace { display: none;}  
10 -</style>  
11 -<script type="text/javascript">  
12 -<!--  
13 -function flip(e) {  
14 - current = e.style.display;  
15 - if (current == 'block') {  
16 - e.style.display = 'none';  
17 - return 0;  
18 - }  
19 - else {  
20 - e.style.display = 'block';  
21 - return 1;  
22 - }  
23 -}  
24 -  
25 -function toggleBox(szDivId, elem, msg1, msg2)  
26 -{  
27 - var res = -1; if (document.getElementById) {  
28 - res = flip(document.getElementById(szDivId));  
29 - }  
30 - else if (document.all) {  
31 - // this is the way old msie versions work  
32 - res = flip(document.all[szDivId]);  
33 - }  
34 - if(elem) {  
35 - if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;  
36 - }  
37 -  
38 -}  
39 -  
40 -function toggleAllBoxes() {  
41 - if (document.getElementsByTagName) {  
42 - d = document.getElementsByTagName('div');  
43 - for (i = 0; i < d.length; i++) {  
44 - if (d[i].className == 'log') {  
45 - flip(d[i]);  
46 - }  
47 - }  
48 - }  
49 -}  
50 -  
51 -// -->  
52 -</script>  
53 -  
54 -</head>  
55 -<body>  
56 -<h2 align='center'>buyerRegister</h2><table border='1' align="center">  
57 -<tr>  
58 -<td>Tests passed/Failed/Skipped:</td><td>1/1/0</td>  
59 -</tr><tr>  
60 -<td>Started on:</td><td>Sun Sep 30 17:50:13 CST 2018</td>  
61 -</tr>  
62 -<tr><td>Total time:</td><td>35 seconds (35407 ms)</td>  
63 -</tr><tr>  
64 -<td>Included groups:</td><td></td>  
65 -</tr><tr>  
66 -<td>Excluded groups:</td><td></td>  
67 -</tr>  
68 -</table><p/>  
69 -<small><i>(Hover the method name to see the test class name)</i></small><p/>  
70 -<table width='100%' border='1' class='invocation-failed'>  
71 -<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>  
72 -<tr><td><b>Test method</b></td>  
73 -<td width="30%"><b>Exception</b></td>  
74 -<td width="10%"><b>Time (seconds)</b></td>  
75 -<td><b>Instance</b></td>  
76 -</tr>  
77 -<tr>  
78 -<td title='com.buyer.testSuite.TestRegister.register()'><b>register</b><br>Test class: com.buyer.testSuite.TestRegister<br>Test method: 填写注册采购商信息,注册采购商</td>  
79 -<td><div><pre>java.lang.AssertionError: The following asserts failed:  
80 - 采购商注册失败了! expected [true] but found [false]  
81 - at com.buyer.testSuite.TestRegister.register(TestRegister.java:39)  
82 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:662)  
83 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
84 - at javax.swing.SwingWorker$1.call(Unknown Source)  
85 - at java.util.concurrent.FutureTask.run(Unknown Source)  
86 - at javax.swing.SwingWorker.run(Unknown Source)  
87 - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
88 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
89 - at java.lang.Thread.run(Unknown Source)  
90 -... Removed 23 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace612437569", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>  
91 -<div class='stack-trace' id='stack-trace612437569'><pre>java.lang.AssertionError: The following asserts failed:  
92 - 采购商注册失败了! expected [true] but found [false]  
93 - at org.testng.asserts.SoftAssert.assertAll(SoftAssert.java:43)  
94 - at com.buyer.testSuite.TestRegister.register(TestRegister.java:39)  
95 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
96 - at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
97 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
98 - at java.lang.reflect.Method.invoke(Unknown Source)  
99 - at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)  
100 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)  
101 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)  
102 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)  
103 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)  
104 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)  
105 - at org.testng.TestRunner.privateRun(TestRunner.java:648)  
106 - at org.testng.TestRunner.run(TestRunner.java:505)  
107 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)  
108 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)  
109 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)  
110 - at org.testng.SuiteRunner.run(SuiteRunner.java:364)  
111 - at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)  
112 - at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)  
113 - at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)  
114 - at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)  
115 - at org.testng.TestNG.runSuites(TestNG.java:1049)  
116 - at org.testng.TestNG.run(TestNG.java:1017)  
117 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:662)  
118 - at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
119 - at javax.swing.SwingWorker$1.call(Unknown Source)  
120 - at java.util.concurrent.FutureTask.run(Unknown Source)  
121 - at javax.swing.SwingWorker.run(Unknown Source)  
122 - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
123 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
124 - at java.lang.Thread.run(Unknown Source)  
125 -</pre></div></td>  
126 -<td>16</td>  
127 -<td>com.buyer.testSuite.TestRegister@7fc399fa</td></tr>  
128 -</table><p>  
129 -<table width='100%' border='1' class='invocation-passed'>  
130 -<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>  
131 -<tr><td><b>Test method</b></td>  
132 -<td width="30%"><b>Exception</b></td>  
133 -<td width="10%"><b>Time (seconds)</b></td>  
134 -<td><b>Instance</b></td>  
135 -</tr>  
136 -<tr>  
137 -<td title='com.essa.testSuite.TestGenrateCode.genrateCode()'><b>genrateCode</b><br>Test class: com.essa.testSuite.TestGenrateCode<br>Test method: 生成采购商注册邀请码</td>  
138 -<td></td>  
139 -<td>5</td>  
140 -<td>com.essa.testSuite.TestGenrateCode@28e0209a</td></tr>  
141 -</table><p>  
142 -</body>  
143 -</html>  
144 \ No newline at end of file 0 \ No newline at end of file
test-output/采购商注册/buyerRegister.xml deleted
@@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- Generated by org.testng.reporters.JUnitXMLReporter -->  
3 -<testsuite hostname="4F5EY2X7DB7A4UR" ignored="0" name="buyerRegister" tests="2" failures="1" timestamp="30 九月 2018 09:50:48 GMT" time="35.407" errors="0">  
4 - <testcase name="genrateCode" time="5.161" classname="com.essa.testSuite.TestGenrateCode"/>  
5 - <testcase name="register" time="16.367" classname="com.buyer.testSuite.TestRegister">  
6 - <failure type="java.lang.AssertionError" message="The following asserts failed:  
7 - 采购商注册失败了! expected [true] but found [false]">  
8 - <![CDATA[java.lang.AssertionError: The following asserts failed:  
9 -采购商注册失败了! expected [true] but found [false]  
10 -at com.buyer.testSuite.TestRegister.register(TestRegister.java:39)  
11 -at swing.SwingMain$9$1.doInBackground(SwingMain.java:662)  
12 -at swing.SwingMain$9$1.doInBackground(SwingMain.java:1)  
13 -at javax.swing.SwingWorker$1.call(Unknown Source)  
14 -at java.util.concurrent.FutureTask.run(Unknown Source)  
15 -at javax.swing.SwingWorker.run(Unknown Source)  
16 -at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
17 -at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
18 -at java.lang.Thread.run(Unknown Source)  
19 -... Removed 23 stack frames]]>  
20 - </failure>  
21 - </testcase> <!-- register -->  
22 -</testsuite> <!-- buyerRegister -->  
test-output/采购商注册/testng-failed.xml deleted
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">  
3 -<suite guice-stage="DEVELOPMENT" name="Failed suite [采购商注册]">  
4 - <test thread-count="5" name="buyerRegister(failed)">  
5 - <classes>  
6 - <class name="com.buyer.testSuite.TestRegister">  
7 - <methods>  
8 - <include name="register"/>  
9 - <include name="tearDown"/>  
10 - <include name="setUp"/>  
11 - </methods>  
12 - </class> <!-- com.buyer.testSuite.TestRegister -->  
13 - </classes>  
14 - </test> <!-- buyerRegister(failed) -->  
15 -</suite> <!-- Failed suite [采购商注册] -->