> For the complete documentation index, see [llms.txt](https://docs.simplifyqa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simplifyqa.ai/introduction-to-test-management-in-simplifyqa/create-hybrid-test-case.md).

# Create Hybrid Test Case

In modern software testing, applications often require validation across multiple platforms, such as web, mobile, APIs, and databases. A **Hybrid Test Case** in **SimplifyQA** allows testers to combine different testing techniques within a single test case, ensuring a seamless and efficient way to test complex application flows. This approach enhances test coverage by integrating various testing methodologies into one structured workflow.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FWs8AQJDwWXTPzcVjsngF%2F0.jpg?alt=media&amp;token=e63e9f34-a94e-4796-88b6-13ed672ea84f" alt="" width="137"><figcaption></figcaption></figure>

Let’s take an example which will walk you through the process of creating a hybrid test case using the **Bominso Salon Management Application**.&#x20;

The test case will cover the following flow:

1. Creating a new service via the web application and logging out of the application.
2. Resetting the password by fetching a link from a mobile device.
3. Sending an API request to update service details.

By following this example, you will learn how to leverage **Hybrid Test Cases** to enhance test automation and streamline multi-platform validations.

### How to Create a Hybrid Test Case in SimplifyQA?

1. **Navigate to Test Case Management:** Log in to SimplifyQA and click on **Test Case Management** from the left navigation panel. Click on **+ Test Case** to create a new test case. Select web from the automation dropdown menu.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FH7nnEQ4ibRYCiUxBXGIy%2F2.jpg?alt=media&amp;token=7637abb3-1b9b-44f3-b92a-99be9a91856a" alt="" width="297"><figcaption></figcaption></figure>

* Provide a meaningful test case name.

2. **Adding Web Steps to Create a Service in Bominso Application:** Click **+ Add Step** to begin defining the web steps.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FaJrvAO3ZRRbsNW0RQfAL%2F3.jpg?alt=media&amp;token=974c1718-85c5-4326-9e90-f62576f467f1" alt=""><figcaption></figcaption></figure>

* [Record a Function](https://docs.simplifyqa.ai/introduction-to-script-less-recording-of-test-case-in-simplifyqa/record-a-function.md) that perform the following steps:
  * Login to Bominso application
  * Navigate to 'Services' section
  * Click 'Add New Service'
  * Enter Service Name, Description, and Price
  * Click **Save** to confirm the steps.

3. **Adding Mobile Steps to Fetch Reset Password Link**

* Click **+ Add Step** and choose Android/iOS from the Switch Platform dropdown.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FoYa0GfJWXrQEqY7mJMom%2F4.jpg?alt=media&amp;token=a0516cde-e52e-4193-97f0-1f493d11d3d8" alt="" width="320"><figcaption></figcaption></figure>

* Add the following steps/functions to perform the following steps:
  * Launch mobile application
  * Go to Gmail
  * Search for Bominso password reset message
  * Extract the reset password link
  * Open the link in a browser
  * Enter new password and confirm reset
* Click **Save** to add the steps.

4. **Adding API step to Edit Service Details**

* Click **+ Add Step** and choose API from the Switch Platform dropdown.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FvJj1qz3rIt1GJSK2xnxR%2F5.jpg?alt=media&amp;token=e7759084-789d-49a8-bffd-e647d54d2606" alt="" width="320"><figcaption></figcaption></figure>

* Configure the API request by adding the following:
  * API Method
  * Endpoint URL
  * Headers
  * Body
  * Send request and validate response
* Click **Save**.

5. **Execute the Hybrid Test Case**

* Click **Run** to Execute the test case.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FVlGdsmGmTqAw3RCvvEK6%2FRun.png?alt=media&amp;token=14eadd90-5c36-495e-a8e4-d85217209e07" alt=""><figcaption></figcaption></figure>

* Monitor execution logs to ensure each step executes successfully.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2F1flojSS0ZpTOkos2ioJ8%2Fexecution%20logs.png?alt=media&amp;token=a53d28d3-9b00-4c1a-8510-3a40d1923dba" alt=""><figcaption></figcaption></figure>

* Review the test results and validate the correctness of each step.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FThSAliEpIlpCKQDCybDH%2Freports.png?alt=media&amp;token=18df5a2f-e536-4314-93b4-2735582593d3" alt=""><figcaption></figcaption></figure>

### Conclusion

Using SimplifyQA, we successfully created a hybrid test case that seamlessly integrates Web, Mobile, and API testing within a single workflow. This approach enables comprehensive end-to-end testing while ensuring flexibility and efficiency in test execution.

#### Frequently Asked Questions

<details>

<summary>What is a Hybrid Test Case in SimplifyQA?</summary>

A Hybrid Test Case in SimplifyQA is a test case that combines multiple testing techniques, such as UI testing, API testing, and mobile testing, within a single execution flow. It ensures comprehensive end-to-end validation of application workflows.

</details>

<details>

<summary>When should I use a Hybrid Test Case?</summary>

Use a Hybrid Test Case when:

* A test scenario involves multiple platforms (e.g., web, mobile, APIs).
* You need to validate interconnected application components.

</details>

<details>

<summary>Can I integrate Desktop testing within a Hybrid Test Case?</summary>

Yes! SimplifyQA allows you to add Desktop testing steps within a Hybrid Test Case, making it easy to verify functionality along with UI and mobile interactions.

</details>

<details>

<summary>How do I validate data across different test steps?</summary>

You can use test data or variables in SimplifyQA to pass data between web, API, and mobile test steps, ensuring consistency throughout execution.

</details>

**A:**&#x20;

<details>

<summary>Can Hybrid Test Cases be scheduled for automated execution?</summary>

Yes, SimplifyQA supports test scheduling, allowing you to run Hybrid Test Cases at specific times or as part of a Continuous Integration (CI/CD) pipeline.

</details>
