The expert’s corner

Tests attributes

You can create and associate custom attribute to your tests. These attributes can be used later in filters to automatically select some tests matching some specific criteria.

There are two types of attributes: static and dynamic. Dynamic attributes are identified with the icon. A dynamic attribute is an attribute that you can overwrite when creating a campaign session.


Associate some attributes to a test

To associate attributes to a test:
  • in the tree, select a test
  • on the right panel, select the Attributes tab
  • un-toggle the select filter button to display the complete attributes list
  • check the attributes that need to be associated to the current test.
  • give a value to each of these attributes. Depending of the type of the attribute the value field will be different:
    • Boolean: a check box
    • Integer: a text field accepting a combination of number, range of numbers, list of numbers.
      • you can use the character “:” to define a range of numbers (i.e. “10:15” will define all numbers included in between 10 and 15. This is equivalent to “10;11;12;13;14;15
      • you can also use the character “;” as a delimiter of several numbers
      • both can be combined (i.e. you can use strings like “-4;34:56;-2:-1;67:68”
    • String: a text field accepting a string or a list of strings.
      • you can use the character “;” as a delimiter of several strings (i.e. “foo bar;john doe;jane doe”)





  • (opt.) re-toggle the select filter button to display only the selected attributes
  • click on Submit


Create and associate a new attribute to a test

To create a new (not already existing) attribute and associate it to a test:
  • in the tree, select a test
  • on the right panel, select the Attributes tab
  • un-toggle the select filter button to display the complete attributes list
  • click on the create attribute button
  • a dialog box is displayed
  • enter the name of the attribute
  • choose the type for this attribute
  • Select the checkbox dynamic if you this attribute to be over-writeable at campaign session creation time
  • click on Submit
  • immediately, the attribute appears in the tree
  • check this attribute
  • give a value to this attribute





  • (opt.) re-toggle the select filter button to display only the selected attributes
  • click on Submit


Edit an attribute

To rename an attribute or change its ”dynamic” property:
  • in the tree, select a test
  • on the right panel, select the Attributes tab
  • un-toggle the select filter button to display the complete attributes list
  • select the attribute you want to edit
  • click on the edit attribute button
  • a dialog box is displayed
  • enter the new name of the attribute, change the type of the attribute or select/unselect the dynamic property (note that if you change the type of the attribute, all the former associations with some tests will be deleted)
  • click on Submit
  • immediately, the modified attribute appears in the tree


Create a campaign based on attribute filter

When you gave a lot of tests, it may be interesting to preselect all tests having certain attribute values.

To create a campaign based on attribute filter:
  • in the tree, select a folder
  • on the right panel, click on the create campaign icon
  • a dialog box including two tabs is displayed





  • fill the Details tab with the name of the campaign
  • in the Content tab
    • click on the preset filter settings button
    • a dialog box is displayed
      • select the root folder and add a AND operator
      • click on the add an expression button
      • a dialog box is displayed





      • enter the expression “new attribute” starts with “value for”
      • click on submit





    • click on submit
    • click on the preset filter button
    • filtering will be performed and the content tab will highlight and pre-select all the tests matching the filter. You can of course unselect or select new tests from this list





  • click on submit
  • immediately, the campaign appears in the tree


Dependencies between tests

It is possible to add dependencies between tests. One test can be the parent of one or several tests. The reverse is also true.
Ultimately, XStudio will be able to use this information to:
  • execute only child tests if the parents are all successful
  • override the order of execution of the tests
To create some dependencies between tests:
  • in the tree, select a test
  • on the right panel, select the Dependencies tab
  • select the Child of (or Father of) tab
  • un-toggle the select filter button to display the complete test tree
  • check all the tests that are childs of (or fathers of) the current test
  • (opt.) re-toggle the select filter button to display only the selected requirement
  • click on submit





In this example, Test1 will be child of Test2 and Test3.


Test execution history

One very interesting option is also to check the history of all the executions of one specific test. To do so, it is extremely simple:
  • in the tree, select a test
  • on the right panel, select the Results tab





The panel shows a number of useful information:
  • the campaign sessions that were already executed and that included that test
  • the start and stop date of this campaign session
  • the result of this test in the campaign session
Note: You can reach one particular campaign session by just clicking on it.


Duration of test execution

Estimated duration of a campaign

As we’ve seen before, a campaign is made of a list of test. If a test has already been run several times, Xstudio can provide an estimated duration based on previous executions as well as the probability of exactness.

This information is available in the Details tab of the campaign:




Average duration of a test

If a test has already been run several times, Xstudio can provide the average duration based on previous executions.

This information is available in the Details tab of the test: