Table of Contents | ||
---|---|---|
|
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.
...
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.
...
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.
...
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.
...
Source/Destination | Permissions |
---|---|
Source Project (The Project from where the platform attributes will be copied) |
|
Destination Project (The Project where the platform attributes will be created) |
|
Import Platform Attributes from Other Projects
You can import Platform Attributes from other projects.
...
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.
...
The selected Platform Attribute values get copied to the target projects.
Link Attributes to Platform
Expand the Projects section on the tree and open the Platforms & Attributes sub-section.
...
Enable the Archive flag for the attribute.
Edit Platform Attributes
Go to Projects > Platforms & Attributes.
...
Field Label
Field Default (for "String" field type)
Flag for Mandatory
Remove association with current Project
Tag Attributes at Runtime
You can tag a Platform Attribute at runtime. Every execution of the test suite are run on the basis of default values entered from Projects > Platforms & Attributes. These predefined Platform attribute values can be changed at runtime.
...
On the Test Executions tab of Test Suite detail view
...
Managing Platform
Refer to Managing Platforms for more details.
...