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/

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

被折叠的 条评论
为什么被折叠?



