We are evaluating App Test Tools and Appium is a candidate for us,
however I could not find a good solution how to Mock the backend when
- I want to have a single UI test which will be executed on iOS and Android apps (Appium supposes to be multiplatform)
The test scenario:
Press on a button in Native App.Native App will call an external API (needs to be mocked).Native App shows some text.Assertion.
How to mock the API call?Appium uses the built project (e.g. apk). is there any way to
integrate and configure the application before building from Appium
side? e.g. if Appium triggers the build, then the App should uses the
fake API response (JSONs).