Unable to input text for edit text using Jetpack compose
Not sure if this is a robot framework or an Appium issue, but trying to input text using:
Input Text accessibility_id=email ${VALID_EMAIL}
Fails when using jetpack compose to set accessibility IDs, eg using:
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 duplicated this issue over at Appium UIAutomator github and they suggested possibly using mobile:type to type the text rather than send text. Does Robot framework support sending text via this method?
Due to lack of activity I am closing this ticket. If you feel this is still relevant please open a new one.
Note also that AppiumLibrary is currently going through some revisions to make it useful and compatible with current tools. If you want to see what we have planned review the milestones or reach out to the current maintainers.