没有头像,晚上删帖。
def find_elements_by_android_uiautomator(self, uia_string):
"""Finds elements by uiautomator in Android.
:Args:
- uia_string - The element name in the Android UIAutomator library
:Usage:
driver.find_elements_by_android_uiautomator('.elements()[1].cells()[2]')
"""
return self.find_elements(by=By.ANDROID_UIAUTOMATOR, value=uia_string)
def find_element_by_accessibility_id(self, id):
"""Finds an element by accessibility id.
:Args:
- id - a string corresponding to a recursive element search using the
Id/Name that the native Accessibility options utilize
:Usage:
driver.find_element_by_accessibility_id()
"""
return self.find_element(by=By.ACCESSIBILITY_ID, value=id)
Allows for elements to be found using the "Accessibility ID". The methods take a
string representing the accessibility id or label attached to a given element, e.g., for iOS the accessibility identifier and for Android the content-description. Adds the methods
driver.find_element_by_accessibility_id
and find_elements_by_accessibility_id
.
@shixue33 157546818 来加这个群吧~
不是说不需要这两个参数了么…
你应用都没装上去啊
求翻译
把这两句
capabilities.setCapability("appPackage", "com.sdo.sdaccountkey");
capabilities.setCapability("appActivity", ".ui.guide.TXZFirstActivity");
去掉试试看。
另外加头像。
加头像。
加头像
时洋还是测试总监么?
加大 duration, 这个之前额文章有说过。 不过论坛搜索挂了而已。。
没有人重视这个问题啊!
#1 楼 @seveniruby testin 的测试体系介绍下?
第一个问题: 一般都会提供 adbd 服务。 如果不提供自己用串口打开,测试盒子,是不允许使用 eng 版本或者 root 版本的。
第二个问题: 焦点获得的地方可以点进去,看看是不是正确呗
拆分的太乱。 IOS 这块用了 uiautomation, 明显可以用已经封装好的库,还自己写了一套。
需要提测
第一个可以