So, I am testing an app using Appium in which I need to perform below scenarios
- Upload a photo in the app
- Select a contact from the app
This needs to be tested in both Android and iOS. We have a default contact and photos in iOS which we are able to use but the issue in with Android. In Android, we don't have any default contact or pic which we can use to upload.
We have to test this scenario on Emulator and can't use gmail as the emulator will be created on fly during execution.
What should be the best approach for performing this scenario? I am not inclined towards using the UI to create the data first and then use but if no other solution then will do this. I was thinking of using the API to create the data, is it possible or do we have any library in Python which we can use?
Please suggest.