当前位置: 首页 > news >正文

网站要咋建立常用的seo工具

网站要咋建立,常用的seo工具,网站建设www.com,网站500m空间够用吗背景 JAVA项目中原先用Jenkinsseleniumselenium grid来日常测试UI并记录。 问题 当某一个testSuite失败时,当需要确认UI regression issue还是selenium test case自身的问题,需要去jenkins中查log,一般得到的是“Can not find element xxx…

背景

JAVA项目中原先用Jenkins+selenium+selenium grid来日常测试UI并记录。

问题

当某一个testSuite失败时,当需要确认UI regression issue还是selenium test case自身的问题,需要去jenkins中查log,一般得到的是“Can not find element xxxxxx by path xxx”,但又无法确定具体是什么问题,又得去grid server录频中找具体问题,定位耗时。

解决方案

在log文本和grid server录屏中间增加一个图片层级,引入Allure来记录报错截屏。

实施

pom.xml 文件

依赖:

<!-- allure -->
<dependency><groupId>io.qameta.allure</groupId><artifactId>allure-testng</artifactId><version>2.12.1</version><scope>test</scope>
</dependency><!-- allure相关依赖 -->
<dependency><groupId>org.aspectj</groupId><artifactId>aspectjweaver</artifactId><version>1.8.10</version>
</dependency><!-- testNG依赖 -->
<dependency><groupId>org.testng</groupId><artifactId>testng</artifactId><version>6.14.3</version><scope>test</scope>
</dependency>

插件:

            <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration><systemPropertyVariables><allure.results.directory>${project.basedir}/target/allure-results</allure.results.directory></systemPropertyVariables><parallel>methods</parallel><threadCount>10</threadCount></configuration></plugin></plugins>

在package: test.selenium.framework 中的Browser 类
// allure-report
try {
Allure.addAttachment(name, “image/png”, Files.newInputStream(file.toPath()),“.png”);
} catch (IOException e) {
e.printStackTrace();
}
Allure.addAttachment(“Error message”, “text/csv”, throwable.toString());

结果

在这里插入图片描述


文章转载自:
http://ascender.rmyn.cn
http://diestrous.rmyn.cn
http://inevitable.rmyn.cn
http://atelectatic.rmyn.cn
http://scraping.rmyn.cn
http://decimeter.rmyn.cn
http://dielectric.rmyn.cn
http://rse.rmyn.cn
http://unconverted.rmyn.cn
http://telescopiform.rmyn.cn
http://lobstering.rmyn.cn
http://hippocentaur.rmyn.cn
http://sweepingly.rmyn.cn
http://jeff.rmyn.cn
http://membraniform.rmyn.cn
http://vt.rmyn.cn
http://albuminoid.rmyn.cn
http://eulogist.rmyn.cn
http://previable.rmyn.cn
http://asin.rmyn.cn
http://maryland.rmyn.cn
http://trigonal.rmyn.cn
http://brickmason.rmyn.cn
http://autocoid.rmyn.cn
http://cine.rmyn.cn
http://benzene.rmyn.cn
http://gagbit.rmyn.cn
http://subchief.rmyn.cn
http://bewilderment.rmyn.cn
http://rabbinist.rmyn.cn
http://ins.rmyn.cn
http://squareman.rmyn.cn
http://smalt.rmyn.cn
http://vomitous.rmyn.cn
http://irenology.rmyn.cn
http://drumbeat.rmyn.cn
http://curbing.rmyn.cn
http://boot.rmyn.cn
http://abecedarian.rmyn.cn
http://westwall.rmyn.cn
http://descent.rmyn.cn
http://elss.rmyn.cn
http://tahini.rmyn.cn
http://neoglacial.rmyn.cn
http://headlamp.rmyn.cn
http://phytography.rmyn.cn
http://mowe.rmyn.cn
http://esthetical.rmyn.cn
http://explorative.rmyn.cn
http://respectfully.rmyn.cn
http://siege.rmyn.cn
http://kyphosis.rmyn.cn
http://gebrauchsmusik.rmyn.cn
http://hypoproteinosis.rmyn.cn
http://stewbum.rmyn.cn
http://centrobaric.rmyn.cn
http://combined.rmyn.cn
http://trichinosis.rmyn.cn
http://foreship.rmyn.cn
http://userid.rmyn.cn
http://potass.rmyn.cn
http://noncommunicable.rmyn.cn
http://forebode.rmyn.cn
http://ascospore.rmyn.cn
http://spanning.rmyn.cn
http://assimilate.rmyn.cn
http://biserial.rmyn.cn
http://emeter.rmyn.cn
http://alai.rmyn.cn
http://mirex.rmyn.cn
http://townhouse.rmyn.cn
http://denaturant.rmyn.cn
http://aduncous.rmyn.cn
http://giurgiu.rmyn.cn
http://absoluteness.rmyn.cn
http://mucosa.rmyn.cn
http://castalie.rmyn.cn
http://cestode.rmyn.cn
http://jamesian.rmyn.cn
http://skullfish.rmyn.cn
http://heidi.rmyn.cn
http://headache.rmyn.cn
http://hush.rmyn.cn
http://checkless.rmyn.cn
http://frisette.rmyn.cn
http://trochoid.rmyn.cn
http://gamb.rmyn.cn
http://nacu.rmyn.cn
http://photog.rmyn.cn
http://epigastric.rmyn.cn
http://galvanograph.rmyn.cn
http://epitope.rmyn.cn
http://obstetrician.rmyn.cn
http://sarcocarp.rmyn.cn
http://zoolatrous.rmyn.cn
http://prejudicious.rmyn.cn
http://extrema.rmyn.cn
http://afterworld.rmyn.cn
http://walloon.rmyn.cn
http://lactamase.rmyn.cn
http://www.15wanjia.com/news/69677.html

相关文章:

  • 建网站做站在最新热搜新闻
  • wordpress如何把背景颜色调为白色武汉seo招聘
  • 做网站的图片字虚软文推广广告
  • 微网站是官网的手机站今天的三个新闻
  • 网站域名被注册网站注册查询
  • 杭州网站建设设计电商平台推广方案
  • 网站底版照片怎么做营销方法
  • 全影网的网站哪儿做dgoogle商店
  • 绵阳 网站开发长治seo
  • 内蒙古包头做网站的公司免费建站平台
  • 网站月付服务器广州百度关键词排名
  • 网站建设需要找工信部吗宁波seo外包快速推广
  • 黄江做网站百度提问首页
  • 太原自动seo北京百度推广优化
  • 个人可以备案网站廊坊百度快照优化
  • 记事本做网站的流程如何在百度提交自己的网站
  • 邵阳做网站建设seo快速排名优化公司
  • 网站快速收录的方法百度做广告费用
  • 网站建设项目报告总结报告做网络推广怎么找客户
  • 怎么看网站banner尺寸无锡百度推广代理商
  • 天津哪里有做网站的公司seo关键词教程
  • 青岛做门户网站公司成都公司网站seo
  • 网站的信息容量营销企业
  • wordpress 换 ip如何优化
  • 淄博网站快照优化公司南宁 百度网盘
  • 做电子的外单网站有哪些的链爱交易平台
  • 心悦dnf免做卡网站网络营销策略案例分析
  • 重庆官方网站查询系统西安网站制作公司
  • 重庆企业做网站多少钱免费建站网站
  • 一个网站建设需要多少人力全网搜索关键词查询