Existence of an object
The assertion consists in a validation that the object specified in the system-under-test exists (by “exists”, we mean “visible for the end-user browsing your cube or database”).
Once we have defined the object that will be validated, we have to define the assertion of type exists:
The whole test will look like:
Display-folder for measures and hierarchies
It’s not possible to check that a display-folder for measures or hierarchies exists. But anyway you can validate that a measure (or hierarchy) is effectively available in the expected display-folder. Using the attribute display-folder.
If you want to specify that the measure (or hierarchy) should be in the root of the measure-group simply apply an empty value for the display-folder.
If you don’t specify the attribute display-folder then NBi will not take into account the display-folder when looking for your element. It means that if your measure (or attribute) is specified in the root or in a display-folder will not influence the result of the existence test.