1、Android studio 自带的 Record Espresso Test
2、 Appium & Android studio
appium+as+csdn :http://blog.csdn.net/niubitianping/article/details/52523239
Windows 下java环境变量的配置(Windows7 ,8,8.1,10)
![安卓自动化测试:Android studio 自带的 Record Espresso Test || [ Appium & (Android studio || Python|| Eclipse ) ] 安卓自动化测试:Android studio 自带的 Record Espresso Test || [ Appium & (Android studio || Python|| Eclipse ) ]](https://image.shishitao.com:8440/aHR0cDovL2ltYWdlczIwMTUuY25ibG9ncy5jb20vYmxvZy81MzM2NjkvMjAxNjExLzUzMzY2OS0yMDE2MTExNzE0NDIyNjI5NS0yMTE0MzI5NzkucG5n.png?w=700&webp=1)
3、 Appium & Android studio & Python
- 过id定位元素:find_element_by_id("id_vaule")
- 通过name定位元素:find_element_by_name("name_vaule")
- 通过tag_name定位元素:find_element_by_tag_name("tag_name_vaule")
- 通过class_name定位元素:find_elements_by_class_name("class_name")
- 通过css定位元素:find_element_by_css_selector();用css定位是比较灵活的
- 通过xpath定位元素:find_element_by_xpath("xpath")
- 通过link定位:find_element_by_link_text("text_vaule")或者find_element_by_partial_link_text()
selendroid 入门:https://testerhome.com/topics/2234
java -jar selendroid-standalone-0.17.0-with-dependencies.jar -app selendroid-test-app-0.17.0.apk
![安卓自动化测试:Android studio 自带的 Record Espresso Test || [ Appium & (Android studio || Python|| Eclipse ) ] 安卓自动化测试:Android studio 自带的 Record Espresso Test || [ Appium & (Android studio || Python|| Eclipse ) ]](https://image.shishitao.com:8440/.jpg?w=700&webp=1)
![安卓自动化测试:Android studio 自带的 Record Espresso Test || [ Appium & (Android studio || Python|| Eclipse ) ] 安卓自动化测试:Android studio 自带的 Record Espresso Test || [ Appium & (Android studio || Python|| Eclipse ) ]](https://image.shishitao.com:8440/.jpg?w=700&webp=1)