Forum Discussion
Ryan_Moran
9 years agoValued Contributor
Try this:
current = Project.TestItems.Current
Log.Message('Current Item',
("Name: {}\n" +
"Description: {}\n" +
"Location: {}").format(current.ProjectName,
current.Description,
current.ProjectLocation))JohanH
9 years agoOccasional Contributor
'Project.TestItems.Current' and 'ProjectSuite.TestItems.Current' is not the same and does not even have the same interface.
There are no 'ProjectName' property on the TestItem, it is only named 'Name'...
I would like to know the Name of the currently running project (and test file/function) but that seems not to be possible...
- Johan