# 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-d3d5b32db5a6c957dbe38bb362baa3690e51caf1%2FDesign%20services.png?alt=media)

### 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-3d5b93e3d177dc915ae6b1054ecb2858cb420927%2Fmobile%20design%20dashboard.png?alt=media)

### 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-4756b89b08d20ff3193eecd772145a947423ce77%2Fdesigner.png?alt=media)

### 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-8dca9c87295992fe31a826c1da08e46bf1d0a4f0%2Freviewer.gif?alt=media)

**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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-30d3e2a79afa62b373d7a22dfd06e3e2de01e789%2FCreate%20component.png?alt=media)

### 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-415433b9d9b5f4503263f6bd67cf38d7f1e2d048%2FAdd%20step.png?alt=media)

### 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-a3406cd34adf213950015747fd513fe4168c099d%2FSteps%20form.png?alt=media)

### Additional Options on the Add Step Page

![Options page](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-b8be8ce1f015be051ec2785fac8588af7f9c1503%2FOptions.png?alt=media)

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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-2de857e79aeddb011dfcfcd7d124a182ad2a46db%2Fadd%20step%20buttons.png?alt=media)

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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-0659c962194d5f154c337d635f22025d942f9ea3%2FQuick%20run.png?alt=media)

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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-0b1d8959902f049f3487278dfa04f5dd378dcdbf%2FTest.png?alt=media)
7. **Runs**: View Quick Run status and click **`View`** for comprehensive details.

![Run status](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-49a339a5a203ef4ef47d83b9cb48f465e4964595%2FRun%20status.png?alt=media)

#### 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](https://1420569841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNZEZFJW017cw1ybAMHLs%2Fuploads%2Fgit-blob-6365679b49210b03d3210464db0eb6c8c176693a%2FReport%20page.png?alt=media)
