Problem
In Android, the resource ID used for locating elements by ID is in the format: "<package_name>:id/<id_value>"
For example,
io.testsigma.tsdemo:id/startUserRegistration
In the above locator, the package name part i.e io.testsigma.tsdemo might change in different environments such as
io.testsigma.tsdemobeta
io.testsigma.tsdemoalpha
Therefore, we might need to parameterise the package name in the UI Identifier. Instead, we have a simple solution.
Solution
In such cases, you can simply use the <id_value> part alone i.e startUserRegistration in this case.
Testsigma enables by appending the package name automatically if required from the selected Test App.
***