# Component Design for Mobile Service

Welcome to the Mobile Service Component Design. This guide will provide you with a detailed walkthrough of the component creation process, from selecting the mobile section to creating test steps. Please follow the steps outlined below for a seamless experience.

***

### Navigating to Mobile Service Design

1. Begin by navigating to the Component Design section.
2. Click the **`Select`** button under the **Mobile section**.

![Design service page](/files/Gxyv8v77f3Oht9yWDoPa)

### Creating a New Component

1. After clicking the **`Select`** button, you will find the option to create a new component.
2. Click the **`Create Component`** button located on the left panel.
3. This action will open the Create Component form.

![Mobile design page](/files/VQW8emRADaDhDCZ7owio)

### Designer View

As a designer, you'll have access to multiple tabs:

* **My Components**: Displays all created components.
* **Approved Components**: Shows components approved by reviewers.
* **Awaiting Approvals**: Lists components awaiting reviewer's approval.
* **Rejected Components**: Presents components declined by reviewers.
* **Draft Components**: Encompasses components created but not submitted for review. ![Designer](/files/RDvyaP4WxnnP6Jx16gRp)

### Reviewer View

Reviewers will have a similar view, with the exception that 'Approved Components' and 'Rejected Components' are consolidated under the 'All Components' tab. Clicking **`Go To Component`** for awaiting components enables reviewers to approve or reject the component.

![Reviewer](/files/jAnGr3ooArYR1h8PAxqY)

**Note**: that Clicking on **`Create Project`** will open the same interface for both Designer and Reviewer as demonstrated in the [Quick Start](https://github.com/QQyrus/component-testing-user-documentation/blob/QA/Getting_Started/Quick_Start_Guide.md) section. And components created by the Reviewer will be automatically approved when clicked on **`Send For Approval`**.

### Creating a New Component (Continued)

1. Once you've navigated to the Create Component form, provide the following details:
   * Component Name
   * Module Name
   * Component Description
2. After completing the form, click the **`Create Component`** button.

![create component page](/files/1SEEJzedgVjJ8ZgPwKe9)

### Adding Test Steps to the Component

1. After creating the component, you can begin adding test steps.
2. Click the **`Add Step`** button.

![add step page](/files/t7QNwRDOtJERBwgR2bsZ)

### Designing a Test Step

1. Upon clicking **`Add Step`**, you'll access the Test Step form.
2. Select an appropriate **Action type** for the step.
3. Fill in the mandatory fields.
4. To add more steps, use the **`Add Step`** button at the bottom.
5. Once all steps are defined, click the green **Save** icon at the top right to store your progress.

![Steps form page](/files/OjMlRD0jT8wvNkWxeOb3)

### Additional Options on the Add Step Page

![Options page](/files/UtQpkGmwgx6XtkyhiZkv)

1. **`Add Steps`**: Clicking **`Add Step`** enables two buttons:
   * **`Pre Step`**: Add a step before the current one.
   * **`Post Step`**: Add a step after the current one.

![Options page](/files/EhSDMUiKzbbeIJlK7rkD)

2. **`Save`**: Store your progress.
3. **`Send For Approval`**: Submit your steps for approval by reviewers.
4. **`Quick Run`**: Initiate a Quick Run to validate the test before official approval.
   * Design your test steps.
   * Click the blue **`Play`** button for Quick Run.
   * Fill out the pop-up form.
   * Execute the Quick Run.

![Quick run](/files/mz8opkt0WgY7ZxK2FRGj)

5. **Component Info**: Displays component details such as name, module, creation date, and description.
6. **Tests**: Shows where the component is used in tests. Update a component's steps, and navigate to tests from here.

   ![Run status](/files/2DvpJwTvIqGOAVGuLDuW)
7. **Runs**: View Quick Run status and click **`View`** for comprehensive details.

![Run status](/files/quYAHlVpBuKdjseZQsIJ)

#### Execution Summary Report

After clicking **`View`** in the Run Status, access an execution summary report. Additionally, a video recap and step-by-step screenshots are available for review.

![Report](/files/bfucX506YJz2woI0FOfZ)


---

# 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.qyrus.com/component-testing/design_page/mobile.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.
