/
Managing Platform Attributes

Managing Platform Attributes

Overview

Platform attributes are custom values which can be used to help track and identify testing results and pass-fail trends. An attribute can be added and then re-used by linking to any platform. Platforms can have multiple attributes that define features and/or configurations of a platforms.

Platform Attributes can be used across projects. A Platform Attribute created in one project can be used in other projects as well. Platform Attributes can help users:

  1. Search platform by its attribute value and then link filtered platforms to the Test Suite

  2. Record specific configuration information for different platforms that might be common across platforms

  3. Record specific configuration information that might vary during testing.

  4. Improve reporting by filtering test results by platform and/or attribute.

Example:

An organization may need to test a mobile app against the latest Android OS. They are not concerned about the specific device as much as the operating system itself.  Each platform can have an attribute for OS which specifies the version. During test they can test multiple different mobile phones (often based on availability) and use the attribute OS to record which version of the OS was tested.

Add Platform Attributes

Expand the Projects section on the tree and open the Platforms & Attributes sub-section.

There are two tabs on the screen: Platforms and Platform Attributes.

Open the Platform Attributes tab.

Click on the New button icon at the top right corner of the screen.

It opens the Create screen for Platform Attribute.

  • Field Type: Users can create different types of field: String, Large Text, Number, Lookup List, Multi Lookup List, Date Time Picker. Select the type of the field you are adding for the platform attribute. The remaining fields become visible as soon as you select the Field Type.

Let us add a Platform Attribute with Field Type as "Lookuplist".

  • Field Name: This field represents the unique ID for the field. It remains same in any project. Blank space is not allowed in the name.

  • Field Label: Enter the label that will be displayed on the screen. It is like a field alias and can be changed on project wise.

  • If the Field Type is Lookuplist, then you need to select the list that will appear for the field. If the list does not exist, then click on the Add List link to create new lists.

  • Default Value: Mention the Default Value you want to maintain for that list.

Share Platform Attributes Across Projects

Platforms can be shared across projects from the Create and Edit screen of the platform attribute. Project Mapping with the Platform Attribute is required to make the attribute available in the project. The current project should also be mapped with the attribute to make it available in the current project. Users can only map those projects to which they have access.

1. Select the Project with which you want to share the platform attribute.

2. Click on the Add Project button.

A project is added to the grid, which shows the projects in which the platform attribute will be available to use.

  • Mandatory: Enable the flag to make the field mandatory to fill.

Click Save.

A new platform attribute is added to the list.

To edit and delete the attribute, click on the respective icons for the attribute.

Share Platform Attribute Values through Copy and Import

QMetry allows the sharing of Platform Attribute values to multiple projects. Users can easily copy the Platform Attribute Values from a source project to multiple destination projects, which eliminates the need for manual duplication and ensures consistency across projects sharing the same custom fields.

The events of Copy and Import of Platform Attributes are also logged in the Audit Log Report.

Use Case: The project admin wants to reuse the existing list values of one project in other multiple projects so that they do not have to manually add list values for the shared custom fields in each project and maintain them separately.

→ Required Permissions:

The user should have the following permissions for creating/modifying Platform Attributes.

Source/Destination

Permissions

Source/Destination

Permissions

Source Project

(The Project from where the platform attributes will be copied)

  • Project “View” permission

  • Platform “View” permission

  • Customization “View” permission

Destination Project

(The Project where the platform attributes will be created)

  • Project “View” and “Modify” permission

  • Platform “View” and “Modify” permission

  • Customization “View” and “Modify” permission

Import Platform Attributes from Other Projects

You can import Platform Attributes from other projects.

Steps

1. Go to Projects > Platforms & Attributes > Platform Attributes tab.

2. Click on the Edit button for the Platform Attribute the values of which you want to import.

The Edit Platform Attribute screen opens showing the projects that have the Platform Attribute.

3. Click on the Edit List option for the project from where you want to copy the Platform Attribute values.

The screen shows the existing values of the Platform Attribute.

4. Click on the Import button to import values from other projects.

The Import from Other Project screen opens.

5. Select the project from where you want to import the Platform Attribute values.

Once you select the project, the values that exist in the selected project are displayed.

6. Select the values you want to import and click on the Import button.

Notes:

  • A maximum of 100 Platforms Attributes can be selected at a time. 

  • Duplicate entities for name and alias will be ignored while copying.

You can view the progress in the Scheduled Task section.

The Platform Attribute values get imported into the project.

Copy Platform Attributes to Other Projects

Notes: The platform attribute list values can be copied to only those projects with which the platform attribute has been mapped.

Steps:

1. Go to Projects > Platforms & Attributes > Platform Attributes tab.

2. Click on the Edit button for the Platform Attribute the values of which you want to copy to other projects.

The Edit Platform Attribute screen opens.

3. Click on the Edit List option for the project to which you want to copy the Platform Attribute values.

The Edit Lists screen opens.

4. Select the Platform Attribute values by selecting the checkboxes.

Note: A maximum of 100 Platforms Attributes can be selected at a time. 

5. Click on the Copy button.

The Copy to Other Projects screen opens.

6. Select the target projects to which you want to copy the selected platform attribute values.

<