Open stowy opened 10 months ago
I set the accessibility of a text field as follows:
OutlineTextField( value = email, onValueChange = viewModel::onEmailChange, keyboardOptions = KeyboardOptions( keyboardType = KeyboardType.Email, imeAction = ImeAction.Next ), modifier = Modifier .fillMaxWidth() .focusRequester(focusRequester) .semantics(mergeDescendants = true) { testTag = "email"; testTagsAsResourceId = true}, )
It says the element cannot have the value set, eg see attached screenshot
If you click on the edit text above and send it passes the text
I'm using the robot library to send the input text which find field by accessibility Id.
I wondered if the "EditText" should have been selected. Or alternatively, https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-type may work after clicking the element
I set the accessibility of a text field as follows:
It says the element cannot have the value set, eg see attached screenshot
If you click on the edit text above and send it passes the text
I'm using the robot library to send the input text which find field by accessibility Id.