Table of Contents
Bq Platform provides its user with the below methods to create their tests :
- switch between web and mobile
- use API in tests
Here’s how you can use API in your test.
Instructions : #
- Navigate to the test case screen.
- Create an API Business Component by selecting ‘Type’ as API instead of UI.
- Click on Test Steps tab.
- Add appropriate details in the API component like :
- Group Name
- Request Type
- Request URL
- Authentication (if any)
- meta data under Header Parameters tab
- meta data under Query Parameters tab
- meta data under Body Parameters tab
- meta data under Extract & Store tab
- meta data under Assertions tab
- Save the component.
- Create a test case (Web or Mobile) like you normally do.
- Click on Test Steps tab.
- Call the API component in the test case wherever required, just like you call a UI type business component.
- Save the test.
- Execute the test.
Watch an execution video :