Open DiogoMiranda opened 6 years ago
It this a webview by any chance?
Can you provide sample app ?
It this a webview by any chance? No, is a native iOS app
Can you provide sample app ? Yes, I will prepare
I think I don't full understand the problem here. general_button_close
is being reported, so what is missing then?
The problem, doesn't have only the general_button_close, but there are others elements what Appium doesn't identify. For exemplo, button "Continuar"
@DiogoMiranda I am sorry if I ask trivial / obvious question. Do you expose those missing elements with accessibility identifiers? Does Voice over see those elements?
Hi @marekcirkos, i did a little study for can understand better, and problem is not necessarily a modal window, but a some configurations on xcode. I will continue studying and i return for show detail in other moment.
@marekcirkos, I developed a simple app, for show some configurations what i am having problem. You can see in this repository: simple iOS app
I also have same problem on just 2 specified screen. Application was developed by React Native.
I have a similar problem where a close button on a modal popup does not show up as a UI object in Appium Inspector. Developers have added accessibility id to the element but that element just doesn't show up in the inspector UI hierarchy. See below screenshot. The button highlighted with yellow circle does not show up in inspector hierarchy. So I can't find it.
Appium: 1.8.0 Platform name: iOS Platform Version: 11.2 automationName: XCUITest device: iPhone 6s Simulator
Some news, can you help ? @marekcirkos
@DiogoMiranda what news do you have? We are experiencing the same issue. React-native app.
@benprebble My problem is this of post. Is a native app ios, and appium dont find the elements in some screens, despite the element to have a id.
same issue, need help
can you help ? @marekcirkos @luisxiaomai
Same issue here on a React Native app with iOS, appium 1.8.1. Help!
+1 Same issue, the element doesn't show up on the appium inspector 1.8.0 and 1.9.0.
Same problem, on a React Native app with iOS. Appium 1.9.1
+1 Same issue, 1.9.1 react native app. "Interactions are not available for this element"
Same issue. The element cannot be detect from both inspector and code.
Make sure your iOS developer enabled the "Accessibility" and set an acceptability identifier to each UI element.
You would be able to expose any React custom/native component by attaching a testID
attribute in code so Accessibility Inspector (Xcode) can pick it up.
Everything set to an ID can be easily interacted using Appium's findElementByAccessibilityId
. However, Appium is unable to see the above custom Popover Component even when exposed in XCode. Is this an unimplemented feature as of yet?
Working with Native App: react native Appium: 6.1.0 IOS Simulator
Hi @dpgraham, would you know anyone who can help with this?
I need help
I NEED THE ANSWEEEEEEEER!!!!!!! PLISSSSSSSS
Same problem, at the moment im just selecting the element by text that it contains, but isn't as reliable, fails some times.
Refresh the appium inspector for that page and try again.
i did modification in my code and it works. My testing able to detect views inside model.
setting accessible={false}
on outer most layer makes child views accessible.
` render() {
return (
<Modal
visible={this.props.isMenuVisible}
transparent
animationType={'slide'}
>
<TouchableOpacity
style={[styles.container, { backgroundColor: this.state.backgroundColor }]}
onPress={this.onAction}
accessible={false}
>
<View style={styles.menuItems}>
<MenuItemsList onAction={this.onAction} {...this.props} />
</View>
{this.props.showLoader && <Loader/>}
</TouchableOpacity>
</Modal>
);
}`
@
Hi everyone. In my project the problem was solved changing for view code some screens what was created initially how Storyboard (native iOS app)
I am having an issue while automating iOS app via appium. The problem I am facing is our app have some modal window. My suspicion is, Appium doesn't find any element in iOS modal window. If some one can suggest on how to switch to interact with that modal window, it would be really helpful. I send a print of one window, what is possible seen Accessibility Inspector dont find a elements, for exemplo button, or text on window.
Appium v1.7.1 platformName = "iOS" platformVersion = "11.2" deviceName = "iPhone 6" Xcode = “9.2”