在XCUI测试中检查标记/刻度标记

时间:2017-04-03 10:12:19

标签: ios uitableview xctest ios-ui-automation appium-ios

我目前正在使用Appium 1.6.x自动化iOS Native应用程序

问题陈述: 我无法在Appium 1.6.x XCUITest框架中找到是否选择了TableCell。 [选择时应用程序中会显示刻度线,但无法在自动化中找到它)。 element属性如下:

Device : iPad 10.x / Appium 1.6.1
Type: XCUIElementTypeCell
Accessibility Id:
Value:
Label:
Is Visible: true
Rect: x=694, y=195, h=44, w=320
Absolute XPath:
/AppiumAUT/XCUIElementTypeApplication/XCUIElementTypeWindow/XCUIElementTypeOther[2]/XCUIElementTypeOther[3]/XCUIElementTypeOther[2]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeTable/XCUIElementTypeCell

当我使用较旧的appium 1.5.x UIAutomation框架进行检查时,同样的应用程序,我能够找到或不选择TableCell。 element属性如下:

Device : iPad 8.x / Appium 1.4.3
Name: Management
type: UIATableCell
value: 1
label:
enabled: true
visible: false
valid: true
location: {694, 195}
size: {320, 44}
xpath:     //UIAApplication[1]/UIAWindow[1]/UIAPopover[1]/UIATableView[1]/UIATableCell[1]

有人知道由于XCUI测试框架或由于任何其他更改而存在问题吗?

0 个答案:

没有答案