Hi @taynguyen,
You can mix in API calls to your mobile or web tests in Katalon. So at a high level, you could do the following:
- Create a Test Case that triggers an OTP in your project
- In the same project, create a new Web Service Request
- Fill in the info you would use to access the API - the URL, any parameters you would need, etc.
- In the Web Service Request, choose to add the request to an existing Test Case (choose the Test Case from above)
- You’ll see that a new line was added to your Test Case for the Web Service Request
- Add more testing steps to your Test Case that takes the result of the Web Service Request and fills in whatever mobile forms you have
Here are some docs on how to create an API call test in Katalon Studio:
And here are some docs on how to make the API calls manually:
https://docs.katalon.com/katalon-studio/docs/create_rest_api_requests_manually.html
Hope this helps,
Chris
