Ask a Question

Get tags programmatically

SOLVED
jlarsen
New Contributor

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 build the command line execution.

3 REPLIES 3
BenoitB
Community Hero

By tags do you mean test item ?

Not sure of what your are talking about.

Un sourire et ça repart

Tags added to keyword tests

tristaanogre
Esteemed Contributor

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?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: