自动化测试官方文档总结-Selenium、自动化测试参考文档

这篇博客汇总了Selenium自动化测试的重要资源,包括8种元素定位策略、显示等待expected_conditionsAPI的使用、Firefox驱动和IDE插件下载、Selenium Grid配置、Cucumber框架帮助文档,以及Selenide、RedwoodHQ等测试工具的参考文档链接。

1、Selenium参考文档

selenium官方文档
下拉到左侧底部可以修改为中文
在这里插入图片描述

1.1、8种元素定位策略

There are eight different built-in element location strategies in WebDriver:
在这里插入图片描述
selenium8种元素定位策略选择优先级
1、优先选择id
2、css selector和xpath
3、有链接的话可以用link_text,partial_link_text,单这两个只能用于link,且底层走css selector
4、多元素选择可用tag name(有风险,重复元素太多)

1.2 显示等待expected_conditionsAPI

You can refer to the API documentation for each client binding to find an exhaustive list of expected conditions:
Java’s
java-api
Python’s
py-api
.NET’s
api
JavaScript’s
js-api

1.3colours

http://www.w3.org/TR/css3-color/#html4

2、firefox 驱动下载地址

点击此处(可以根据readme查看与firefox的对应关系)
在这里插入图片描述

3、firefox-selenium IDE 插件安装地址

链接

4、selenium jar包下载地址

点击此处

5、selenium grid配置参考

点击此处

6、自动化测试框架Cucumber帮助文档

java语言用法:https://cucumber.io/docs/tools/java/
gherkin语法规则:https://cucumber.io/docs/gherkin/reference/
参数类型:https://cucumber.io/docs/cucumber/cucumber-expressions/
cucumber-java group-id 来源不一样方法支持有的不同,
info.cukes step defination 匹配默认生成正则表达式
io.cucumberstep defination 匹配默认生成Cucumber表达式

7、菜鸟教程

https://www.runoob.com
菜鸟教程还真挺好用的

8、selenide测试框架参考文档

点击此处

9、RedwoodHQ开源项目地址

https://github.com/dmolchanenko/RedwoodHQ
https://www.manula.com/manuals/primatest/redwoodhq/2.0/en/topic/quick-start-2-your-first-test-case

10、TesNg监听与错误重跑开源项目

https://github.com/NetEase/arrow

11、moco参考文档

https://github.com/dreamhead/moco/
https://github.com/dreamhead/moco/blob/master/moco-doc/apis.md

12、jemeter下载地址

https://jmeter.apache.org/

13、mybatis官方文档

https://www.w3cschool.cn/mybatis/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值