# 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="/files/2trIZsS9gyCWSGM277oX" 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="/files/KdldlrkpYAAcnc1TATZj" 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="/files/kklFPJHc73F7qfZA7QPq" alt=""><figcaption></figcaption></figure>

* [Record a Function](/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="/files/IJgxaVeXhfkxU5T179hb" 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="/files/yyryrBLgCmqpvJYXieB3" 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="/files/nsOqiSIcFKybMGgZ9p76" alt=""><figcaption></figcaption></figure>

* Monitor execution logs to ensure each step executes successfully.

<figure><img src="/files/UD9QUzxJacKTMC3zaL7G" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/lIiCwq0t0LbACN6mRxYO" 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.simplifyqa.ai/introduction-to-test-management-in-simplifyqa/create-hybrid-test-case.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
