# Product Element

## What is Product Element?

Product elements are the data variables in QATTS. They carry the test data to execution engine during test execution.

They have a tight bonding with UI elements. Which means, every product element is associated with a UI element.

## Create Product Element

### Step by step walkthrough

To add an Product Element follow the below steps

**STEP 1**: Go to **Studio**, it directs to new window which will be appearing as shown below.

![](https://545053280-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVX-yOtIHRnx7UtstUT%2F-Mgp4eu5xaGEWm-XurSa%2F-MgpSeICOkIC4wEvjWBv%2FSuit.JPG?alt=media\&token=de11e8f8-6ae1-43a6-93ac-31f5c86949e8)

**STEP 2**: On the right corner Click on "**+**" icon and select **Add Product Element**, it should appear as below.

![](https://545053280-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVX-yOtIHRnx7UtstUT%2F-MgpUzckr-S6kNKKvV1A%2F-MgpXAVZitsjumF4ZCly%2FAdd%20product.png?alt=media\&token=ef9d28f3-86ab-490e-ab6b-2965f5808ec1)

**STEP 3**: Fill the required details as shown in the below screenshot.

{% hint style="info" %}
Selecting the Group details is mandatory.&#x20;
{% endhint %}

![](https://545053280-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVX-yOtIHRnx7UtstUT%2F-MgpUzckr-S6kNKKvV1A%2F-MgpXQ6TKvpPRGbJNbpz%2FProduct.JPG?alt=media\&token=174d092b-68ca-4d74-a8c7-889360a92981)

* **Product Element Name:** The name could any of the user choice.
* **Label Name:** It should be similar to the given product element name.
* **Product Element Type:** There are various fields to choose from input,output,action, custom, page.
* **UI Input Element Name:** Add the UI Element you want to connect it from the drop down selection.
* **UI View Element Name:**
* **Data Type:** Choose the type of data as string, boolean, Integer and others.
* **Database Column Name:**
* **Sequence**:

**STEP 4**: After adding required details and then click on **Save**, the given **Product Element** name would be saved in the groups you have selected it in.

### Short video

![](https://545053280-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVX-yOtIHRnx7UtstUT%2F-MkGhpnxQ0P3hHnVeI1k%2F-MkGiYqKoTMlX_hD_3c8%2FCreaing%20Product%20Element.gif?alt=media\&token=c062ec9a-8f91-4a0e-a0b7-b000cc9bbbc4)

{% hint style="info" %}
**Note**: The Product Element Name should be same as the excel sheet headings.
{% endhint %}
