How to tag platform attributes at runtime in execution?

Quick Help Links -

User can tag a Platform Attribute at runtime. Every execution of the test suite is run on the basis of default values entered from Projects > Platforms. These predefined Platform attribute values can be changed at runtime.

Predefined Platform attributes can be changed at runtime if the parameter Tag At Runtime is set enable. This allows organizations to quickly tag a test with variable information they wish to capture when executing a test case.

For example,

A customer has a platform that changes over time, but is important to track as part of the test execution history. For example, a hardware company wants to track the firmware versions of their hardware during the test. The attribute can be tagged to the test run, and even modified at run time. As testing continues the testers can quickly adapt and change the firmware versions and even test past firmware if needed. Each test run is recorded and tagged with the correct firmware version.

On the Test Suite Execution Screen, you can see the Platform and its Attributes details. Attributes which are marked for “Tag at Runtime” appear as Runtime Attributes.

If any attributes are required at runtime they need to be set before each execution (e.g. it does not matter if the test suite/platform had been run before). Such run time values, which are edited on the execution screen, do not get saved in the database. These values are just displayed for that particular execution only and are stored in execution history once run.

Here are the quick steps:

  1. Go to, Projects Menu > Platforms > select your platform (i.e. We have taken an example here for, Chrome) & click on 'Manage Attributes' button.



  2. It opens the Attributes screen with two tabs on it - Linked Attributes & Available Attributes.
  3. Open the Available Attributes tab. These are the attributes available to associate with the platform.
  4. Select the attribute you want to link to the platform and click on the Link Selected Platform Attributes button. The attribute(s) is linked to the platform. The linked attributes are displayed on the Linked Attributes tab.

    Refer to the screenshot below for reference -


  5. You can tag a platform attribute to be defined at runtime by enabling the Tag At Runtime flag on the grid.



  6. Go to the TestSuite & make sure you have linked the correct platform (i.e. Chrome - as we have linked the attributes with the same platform in this example).User can provide attribute values on the Execution Screen either at run time or afterward.
  7. Execute the test suite, the pop-up like following appears to edit Runtime Attributes for Platform Attributes that are tagged for runtime.



    The attribute value is displayed set as default, you can change the value before execution.

    On the Test Suite Execution screen, you can see the Runtime Attributes anytime by clicking on the Click to View button for Run Attributes.

    If Platform Attributes are linked to Platforms (from Projects > Platforms > Manage Attributes > Linked Attributes tab), then the Click To View button will be displayed.