Firebase Robo Test Script Keeps Failing
We are using Firebase UI with Phone Auth and it seems Robo Script does not work properly with it. Device like LG Nexus 5, API Level 23 hammerhead works fine following some part of
Solution 1:
You are right that Roboscript fails to click the Verify Phone Number
button, as the result says that Roboscript failed on action 3, which is clicking this button.
Overall, I think the problem might be more related to the API level rather than a specific physical (or virtual) device and the difference in API levels between the device on which you recorded your Roboscript and the device on which you perform it. The best way to overcome any discrepancies is to simplify your Roboscript as much as possible. For example, as long as your target elements have unique identifying attributes (e.g., resource id, text, etc.), you can use just those to identify them, like this:
[{"eventType":"DELAYED_MESSAGE_POSTED","delayTime":7000},{"eventType":"VIEW_TEXT_CHANGED","replacementText":"9876543210","elementDescriptors":[{"resourceId":"com.devsbitwise.cryptonian:id/phone_number"}]},{"eventType":"VIEW_CLICKED","elementDescriptors":[{"resourceId":"com.devsbitwise.cryptonian:id/send_code"}]},{"eventType":"DELAYED_MESSAGE_POSTED","delayTime":500},
Post a Comment for "Firebase Robo Test Script Keeps Failing"