如上图,验证“首页”是否添加成功,我们就通过验证页面上是否存在“首页”这个关键字,来确认数据是否添加成功 RB的写法如上图,原理是以文本输出“首页”元素内容 且定义该内容的为“${前台一级导航名称}” 然后使用“should contain”API匹配上一部定义的内容 ...
分类:
其他好文 时间:
2020-03-29 16:34:34
阅读次数:
247
http.query New in version 2015.5.0 Query a resource, and decode the return data Passes through all the parameters described in the :py:func: : .. auto ...
分类:
Web程序 时间:
2020-03-28 21:38:06
阅读次数:
94
今天使用python命令行出现 WARNING: You are using pip version 19.3.1; however, version 20.0.2 is available. You should consider upgrading via the 'python -m pip ...
分类:
其他好文 时间:
2020-03-28 13:20:33
阅读次数:
362
Problem : There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time com ...
分类:
其他好文 时间:
2020-03-27 18:31:14
阅读次数:
78
kubeadm部署kubernetes v1.17.4 高可用master节点
分类:
Web程序 时间:
2020-03-23 18:50:34
阅读次数:
165
开篇 在一门编程语言中,往往会提供大量的运算符。按功能来分的话,有算术运算符、赋值运算符、关系运算符、逻辑运算符、位运算符等。这些对于大家来说都不陌生。但是,本期的主角『位运算』符相对而言是比较少去使用的。因为位运算符主要针对两个二进制数进行位运算。 巧用位运算能极大的精简代码和提高程序效率。所以, ...
分类:
其他好文 时间:
2020-03-23 00:27:49
阅读次数:
92
1、warning:the `gets' function is dangerous and should not be used 2、stdin.c:21:2: error: too many arguments to function ‘fputs’ 原因: 问题出在程序中使用了 gets是非常 ...
分类:
系统相关 时间:
2020-03-22 18:03:20
阅读次数:
165
一、依赖倒置原则定义 1、上层模块不应该依赖底层模块,它们都应该依赖于抽象。(High level modules should not depend upon low level modules. Both should depend upon abstractions.)2、抽象不应该依赖于细节 ...
分类:
其他好文 时间:
2020-03-21 14:35:49
阅读次数:
71
何为依赖导致原则? Robert C. Martin在他的著作《敏捷软件开发:原则、模式与实践》中有这样的两句描述 1.High-level modules should not depend onlow-level modules. Both should depend on abstractio ...
分类:
其他好文 时间:
2020-03-21 00:05:03
阅读次数:
70
git-book: https://git-scm.com/book/zh/v2 项目分支流程管理规范: https://www.jianshu.com/p/217d2b3bc96d <- I should click it! 我关注的点: 分支:一条时间线,一条执行线,每次修改都会在分支上留下一个 ...
分类:
其他好文 时间:
2020-03-20 23:55:33
阅读次数:
93