|
@@ -8,7 +8,7 @@ class CheckLink:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_member()
|
|
|
- CHECK_POINT('检查首页头部会员链接能否打开',excepted=='免费版订阅')
|
|
|
+ CHECK_POINT('检查首页头部会员链接能否打开',excepted=='https://www.jianyu360.cn/front/subscribe.html')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
#检查头部超级订阅链接
|
|
@@ -18,7 +18,7 @@ class CheckLink01:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_subscribe()
|
|
|
- CHECK_POINT('检查首页头部超级订阅链接能否打开',excepted=='免费版订阅')
|
|
|
+ CHECK_POINT('检查首页头部超级订阅链接能否打开',excepted=='https://www.jianyu360.cn/front/subscribe.html')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
#检查头部大会员链接
|
|
@@ -28,7 +28,16 @@ class CheckLink02:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_bigmember()
|
|
|
- CHECK_POINT('检查首页头部大会员链接能否打开',excepted=='剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部大会员链接能否打开',excepted=='https://www.jianyu360.cn/big/page/index')
|
|
|
+ def teardown(self):
|
|
|
+ ip.go_to_index()
|
|
|
+class CheckLink021:
|
|
|
+ name='首页头部商机管理链接检查--index_head021'
|
|
|
+ def teststeps(self):
|
|
|
+ #实际输入
|
|
|
+ #预期输出
|
|
|
+ excepted=ip.check_opportunity()
|
|
|
+ CHECK_POINT('检查首页头部商机管理链接能否打开',excepted=='https://www.jianyu360.cn/swordfish/frontPage/entpc/free/enptc_index')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部自助导出链接
|
|
@@ -48,7 +57,7 @@ class CheckLink04:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_structured()
|
|
|
- CHECK_POINT('检查首页头部定制服务链接能否打开',excepted=='抢先体验结构化招标数据')
|
|
|
+ CHECK_POINT('检查首页头部定制服务链接能否打开',excepted=='https://www.jianyu360.cn/front/structed/pc_index.html')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部中标必听课链接
|
|
@@ -61,16 +70,6 @@ class CheckLink05:
|
|
|
CHECK_POINT('检查首页头部中标必听课链接能否打开',excepted=='中标必听课')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
-#检查头部招标文件解读链接
|
|
|
-class CheckLink051:
|
|
|
- name='首页头部招标文件解读链接检查--index_head051'
|
|
|
- def teststeps(self):
|
|
|
- #实际输入
|
|
|
- #预期输出
|
|
|
- excepted=ip.check_head_bidfile()
|
|
|
- CHECK_POINT('检查首页头部招标文件解读链接能否打开',excepted=='上传文件')
|
|
|
- def teardown(self):
|
|
|
- ip.go_to_index()
|
|
|
# 检查头部剑鱼文库链接
|
|
|
class CheckLink06:
|
|
|
name='首页头部剑鱼文库链接检查--index_head06'
|
|
@@ -88,7 +87,7 @@ class CheckLink07:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_forecast()
|
|
|
- CHECK_POINT('检查首页头部中标预测链接能否打开',excepted=='剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部中标预测链接能否打开',excepted=='https://www.jianyu360.cn/big/page/zb')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部潜在客户挖掘链接
|
|
@@ -98,7 +97,7 @@ class CheckLink08:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_customer()
|
|
|
- CHECK_POINT('检查首页头部潜在客户挖掘链接能否打开',excepted=='剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部潜在客户挖掘链接能否打开',excepted=='https://www.jianyu360.cn/big/page/yw')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部潜在合作伙伴挖掘链接
|
|
@@ -108,7 +107,7 @@ class CheckLink09:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_partner()
|
|
|
- CHECK_POINT('检查首页头部潜在合作伙伴挖掘链接能否打开',excepted=='剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部潜在合作伙伴挖掘链接能否打开',excepted=='https://www.jianyu360.cn/big/page/yw')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部招标决策分析链接
|
|
@@ -118,7 +117,7 @@ class CheckLink10:
|
|
|
#实际输入
|
|
|
#预期输出
|
|
|
excepted=ip.check_head_decision()
|
|
|
- CHECK_POINT('检查首页头部招标决策分析链接能否打开',excepted=='剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部招标决策分析链接能否打开',excepted=='https://www.jianyu360.cn/big/page/tb')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部竞争对手分析链接
|
|
@@ -128,7 +127,7 @@ class CheckLink11:
|
|
|
# 实际输入
|
|
|
# 预期输出
|
|
|
excepted = ip.check_head_compete()
|
|
|
- CHECK_POINT('检查首页头部竞争对手分析链接能否打开', excepted == '剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部竞争对手分析链接能否打开', excepted == 'https://www.jianyu360.cn/big/page/qy')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部市场分析链接
|
|
@@ -138,7 +137,7 @@ class CheckLink12:
|
|
|
# 实际输入
|
|
|
# 预期输出
|
|
|
excepted = ip.check_head_market_analysis()
|
|
|
- CHECK_POINT('检查首页头部市场分析链接能否打开', excepted == '剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部市场分析链接能否打开', excepted == 'https://www.jianyu360.cn/big/page/sc')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部客户分析链接
|
|
@@ -148,7 +147,7 @@ class CheckLink13:
|
|
|
# 实际输入
|
|
|
# 预期输出
|
|
|
excepted = ip.check_head_customer_analysis()
|
|
|
- CHECK_POINT('检查首页头部客户分析链接能否打开', excepted == '剑鱼大会员')
|
|
|
+ CHECK_POINT('检查首页头部客户分析链接能否打开', excepted == 'https://www.jianyu360.cn/big/page/cg')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|
|
|
# 检查头部关于我们链接
|
|
@@ -181,5 +180,15 @@ class CheckLink24:
|
|
|
# 预期输出
|
|
|
excepted = ip.check_head_ad()
|
|
|
CHECK_POINT('检查首页头部广告服务链接能否打开', excepted == '广告服务')
|
|
|
+ def teardown(self):
|
|
|
+ ip.go_to_index()
|
|
|
+# 检查头部广告服务链接
|
|
|
+class CheckLink25:
|
|
|
+ name = '首页头部产品销售合作链接检查--index24'
|
|
|
+ def teststeps(self):
|
|
|
+ # 实际输入
|
|
|
+ # 预期输出
|
|
|
+ excepted = ip.check_head_sale()
|
|
|
+ CHECK_POINT('检查首页头部产品销售合作链接能否打开', excepted == 'https://www.jianyu360.cn/swordfish/frontPage/partner/free/index')
|
|
|
def teardown(self):
|
|
|
ip.go_to_index()
|