西秀岭

导航

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页

2020年9月18日 #

Test Run fails with "An exception occurred while invoking executor 'executor://mstestadapter/v2': Type ... is not marked as serializable."

摘要: 解决方案: Mark type as Serializable. Don't add the type to CallContext. Set DisableAppDomain value to true in runsettings (supported by MSTest v2, NUnit a 阅读全文

posted @ 2020-09-18 13:47 西秀岭 阅读(408) 评论(0) 推荐(0)

2020年8月20日 #

.net 单元测试中使用 xml 文件作为DataSource

摘要: The XML file <Rows> <Row> <A1>1</A1> <A2>1</A2> <Result>2</Result> </Row> <Row> <A1>1</A1> <A2>2</A2> <Result>3</Result> </Row> <Row> <A1>1</A1> <A2>- 阅读全文

posted @ 2020-08-20 15:25 西秀岭 阅读(219) 评论(0) 推荐(0)

2020年8月17日 #

Jenkins和Postman 集成,使用Allure 输出测试报告

摘要: 1. Jenkins 插件需要安装 Allure Jenkins Plugin 2. Global Tool Configuration 需要配置 Node 和执行 newman, Allure 报告的 npm 包。 newman 包 如果希望指定版本可以 写成 newman@5.1.2 就是指定的 阅读全文

posted @ 2020-08-17 12:18 西秀岭 阅读(1442) 评论(1) 推荐(0)

2020年8月11日 #

Jenkins 中使用VSTest.console 进行单元测试,使用Allure 输出测试报告

摘要: 这里讲一下注意点 MSBuild MSBuild 中可以使用 ${WORKSPACE} 来获得当前路径,如下图。 MSBuild Version 可以在 Global Tool Configuration 中进行配置。 VsTest.Console 插件中的Test Files 指定部分指定的Dll 阅读全文

posted @ 2020-08-11 14:50 西秀岭 阅读(637) 评论(0) 推荐(0)

2020年8月4日 #

如果网页中有ShawdowDOM ,如何使用 Selenium Web Driver 进行操作

摘要: https://www.cnblogs.com/Simple-Small/p/12035425.html 阅读全文

posted @ 2020-08-04 15:09 西秀岭 阅读(204) 评论(0) 推荐(0)

2020年7月8日 #

postman 不能打开

摘要: 出现如下错误: Error: Malformed error from adapter: Should always be an Error instance, but instead, got: [OpenFailedError: UpgradeError Dexie specification 阅读全文

posted @ 2020-07-08 10:08 西秀岭 阅读(5191) 评论(3) 推荐(2)

2020年6月4日 #

chrome DEvTools 使用

摘要: 1. 使用 css 定位元素 进入 DevTools --> Console 使用 $("") 在引号中编写 css 定位方法就可以了。 2.使用 xpath 定位 进入 DevTools --> Console 使用 $x("") 在引号中编写 xpath 定位方法就可以了。 阅读全文

posted @ 2020-06-04 12:12 西秀岭 阅读(324) 评论(0) 推荐(1)

2020年5月21日 #

使用selenium 连接到一个已经打开的浏览器

摘要: 我们有时希望对一个已经打开的浏览器进行测试。 1.使用Debug 方式启动浏览器 Process proc = new Process(); proc.StartInfo.FileName = @"C:\Program Files (x86)\Google\Chrome\Application\ch 阅读全文

posted @ 2020-05-21 15:36 西秀岭 阅读(2397) 评论(0) 推荐(0)

2020年4月24日 #

如何查看电脑开关机时间

摘要: 计算机–右键–管理–事件查看器–windows日志–系统,然后点击右侧的“筛选当前日志”,在所有事件ID一栏输入6005,点击确定,就能看到开机日期了。(输入6006查看关机时间) 阅读全文

posted @ 2020-04-24 10:30 西秀岭 阅读(1344) 评论(0) 推荐(0)

2020年3月4日 #

定期自动备份SQL Server 上的所有数据库

摘要: 手头有一个比较老的SQL Sever 9.0 的服务器,因为是生产环境,使用的项目比较多,还有一些项目半年一年才用一次,所以不想将数据库服务器升级到最新的SQL Server, 有可能升级后那个产品就不能使用了,又需要折腾几天才能用,而项目使用的时候又是要发布了,也没有时间给你折腾。 这个数据库服务 阅读全文

posted @ 2020-03-04 10:13 西秀岭 阅读(476) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页