Forum Discussion

veerasureshk's avatar
veerasureshk
Occasional Contributor
3 years ago
Solved

Regarding tags usage in command line

Hi,   In python script, I have couple of functions (ex: 5 functions) with tag @smoke .can you please let me know how to execute particular function/functions (ex: need to execute only 2/3 out of 5 ...
  • mattb's avatar
    3 years ago

    Hi,

    I would use another tag and use the andor and not operations, for example:

    @tag1 or @tag2
    @tag1 and not @tag3
    not @tag5
    or
    @tag1 and (@tag2 or @tag3)
    (@tag1 or not @tag2) and (not @tag3 or @tag4)

    https://support.smartbear.com/testcomplete/docs/bdd/tags.html