'Automation testing framework for Jetpack compose

we have re-written couple of features in Jetpack Compose successfully. we have hit a roadblock where our QA says the existing automation script they have written does not work anymore for compose UI screens.

Background abt the automation script: QA uses Appium script which uses UIAutomator2 to automate the elements. For identifying locator(ID) - appium inspector is used. We don't have ID's in compose UI. We tried adding testTag and not seeing it in appium inspector.

Pls share what kind of framework changes you have to do for Automation script to support compose UI.

Thanks



Solution 1:[1]

Unfortunately, Appium UIAutomator2 does not support the property testTag yet.

There is an issue already created on Apppium's repository requesting this property.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 extmkv