Forum Discussion

rickm's avatar
rickm
Contributor
13 years ago

Script access to variables for ProjectName, KeywordTestName, etc

I've searched but I can't find how to access things such as the Project Name, the Keyword Test name currently running and the currently running TestedApp.  Others might be nice, such as the folder containing the Keyword Test.



I'd like to access these from the Keyword Test and from scripts called from a Keyword Test.



I'd also like access from a Script Extension at record-time.



Another is variable substitution in the instructional text of a stored Manual Checkpoint



The Project Name can be set once in the Project Variables. That's not too bad, but setting each Keyword Test name in each test's Variables is a bit much.



Is there a pool of global variables or a method call somewhere, or some elegant tricks I need to learn?

17 Replies