Forum Discussion

jlarsen's avatar
jlarsen
New Contributor
4 years ago
Solved

Get tags programmatically

Is there a way to extract all used tags from a project from outside the test complete application? I want to build a stand alone application that a user can checkbox desired tags to run and will b...
  • tristaanogre's avatar
    tristaanogre
    4 years ago

    Tags are embedded in script code and are tagged into the XML of a keyword test.  So, you'd have to parse the text of both files to find tags, probably via some sort of Regular Expression, and extract them that way.

    Personally... that seems a bit of a harder work than necessary.  How about, instead of that, have the developers who add the tags, as a part of their development, insert a record into a data table that this other application that you're writing/working with can read to display available tags?