Managing Platform Attributes

Use Platform Attributes across projects to:

  • Search platforms by attribute value and link filtered platforms to the Test Suite

  • Record specific configuration details for different platforms that are common across platforms.

  • Record configuration details that vary during testing

  • Improve reporting by filtering test results by platform or attribute.

Note

You can use a Platform Attribute created in one project in other projects.

Example 48. Platform Attributes

An organization tests a mobile app on the latest Android version without targeting a specific device. Each platform includes an OS attribute for the version, so testers use any mobile device and record the OS version used in each test.



Add Platform Attributes

To add platform attributes, do the following:

New
  1. Expand the Project section and open Platforms and Attributes sub-section.

  2. Open the Platform Attributes tab.

  3. Click New.

  4. In the Field Type, select the type of Platform Attribute to create: String, Large Text, Number, Lookup List, Multi Lookup List, or Date Time Picker.

  5. To create a Lookup List Platform attribute, select Lookup List and enter the required details:

    • 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 you want to display on the screen. You can treat it like a field alias and customize it for each project.

    • Field Type: If Field Type is Lookuplist, select the list that appears for the field. If the list does not exist, click Add List to create new.

    • Fault Value: Mention the default value for the list.

Share Platform Attributes Across Projects

Share platforms across projects from Create and Edit screen. Map the project with the platform attribute to make the attribute available in the project.

Note

You can only map those projects to which they have access.

QPro_SharePAacrossProj.png

To share platform attributes across projects, do the following:

  1. Select the Project to share the platform attribute.

  2. Click Add Project.

  3. The grid shows all projects in which the platform attribute is available. To make it mandatory, enable the flag to make the field mandatory.

  4. Click Save.

The Platform Attribute is now available in the mapped project or projects.

Sharing Platform Attribute Values through Copy and Import

You can share Platform Attribute values across multiple projects. You can copy them from a source project to one or more destination projects, which avoids manual duplication and keeps custom fields consistent.

The system logs the events of Copy and Import of Platform Attributes in the Audit Log Report.

Use Case: The project admin wants to reuse list values from one project in multiple projects. This avoids manually adding and maintaining the same values in each project.

Required Permissions:

You should have the following permissions for creating or modifying Platform Attributes.

Source/Destination

Permissions

Source Project

The project from which the system copies the platform attributes.

  • Project “View” permission

  • Platform “View” permission

  • Customization “View” permission

Destination Project

Select the project where the system creates the platform attributes.

  • Project “View” and “Modify” permission

  • Platform “View” and “Modify” permission

  • Customization “View” and “Modify” permission

Import Platform Attributes from Other Projects

To import Platform Attributes from other projects, perform the following steps:

Edit List
  1. Go to Project Management and select Platforms & Attributes.

  2. Select the Platform Attributes tab.

  3. Select Edit for the Platform Attribute.

  4. Select Edit List for the project from where you want to copy the Platform Attribute values.

  5. Click Import.

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

  7. Select the values to import and click Import.

Note

  • You can select a maximum of 100 Platforms Attributes at a time.

  • The system ignores duplicate entities for name and alias while copying.

Copy Platform Attributes to Other Projects

Note

You can copy platform attribute list values only to projects where you have mapped the attribute.

To copy platform attributes, do the following:

Copy
  1. Go to Project Management and select Projects.

  2. Go to Platforms and Attributes and select Platform Attributes tab.

  3. Click Edit for the Platform Attributes values that you want to copy.

  4. Click Edit List and select the Platform Attribute values.

  5. Click Copy.

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

  7. Click Copy.

The selected Platform Attribute values get copied to the target projects. You can view the progress in the Scheduled Task section.

Note

  • You can select a maximum of 100 Platform Attributes at once.

  • You can select a maximum 5 projects at a time.

  • The system ignores duplicate entries for name and alias while copying.

  • You can copy platform attribute list values only to projects where you have mapped the attribute.

Edit Platform Attributes

To edit platform attributes, do the following:

  1. Go to Project Management and select Platforms and Attributes.

  2. The Platform Attributes tab shows platform attributes.

  3. Click Edit for the attribute.

  4. You can modify the following values:

    • Field Label

    • Field Default (for "String" field type)

    • Flag for Mandatory

    • Remove association with current Project

Tag Attributes at Runtime

By default, test suite executions use the platform attribute values configured under Project Management in Platforms & Attributes. When you enable Tag At Runtime for an attribute, testers can enter a different value for each execution.

This is useful when configuration details change between executions. For example, a hardware company can record the firmware version used in each test, including when testing an earlier firmware version. Each execution is associated with the firmware version used for that run.

Enable Tag At Runtime

Before you begin, link the attribute to the platform.

  1. Open the platform and go to the Linked Attributes tab.

  2. Enable Tag At Runtime for the platform attribute.

Specify Runtime Attribute Values

On the Test Suite Execution screen, platform attributes with Tag At Runtime appear as Runtime Attributes.

Tag At Runtime
  1. Execute the test suite. A dialog box displays the runtime attribute values.

  2. Review the values and change them if needed.

  3. Continue with the execution.

Note

  • If a runtime attribute is mandatory, enter a value for every execution, even when you reuse the same test suite and platform.

  • Runtime values apply only to the individual execution. They do not replace the configured default values.

  • After the execution, the values are kept as part of the execution history.

View Runtime Attribute Values

To view the runtime attributes for an execution, do the following:

Click To View
  1. Go to the Test Suite Execution screen.

  2. For Run Attributes, click Click to View.

The Click to View control is available only when platform attributes are linked to the platform.

Runtime values also appear in the Platform Attributes column, so you can identify the values used for each execution. You can also find them on:

  • The Test Executions tab of the Test Case detail view.

    Test Executions
  • The Test Executions tab of the Test Suite detail view.

    Edit_Runtime_Attributes_for_Platform_IOS.png
Publication date: