How to use tags in Automation to segregate test/build?

How to use tags in Automation to segregate test/build?

Hi Alex,

You need to use the below snippet:

String[] customTags = {"Custom Tag"};

String[] customTags = {"Tag 1", "Tag 2", "Tag 3", ...};

Pass this object inside the capabilities.