aldebaran
14 years agoOccasional Contributor
get the currently tested Item Name
How can I retrieve the Name of the current test?
My Project is a mix of keyword and scripttests, using vb-script. I handle the OnStart and OnStop Events and would like to access the Project.TestItems.Current.Name Property!! I have found plenty of code-examples to do this, e.g.: call Log.Message(Project.TestItems.Current.Name)
Trying to do this result in an error: Object required "Project.TestItems.Current". Evaluating the expression Project.TestItems.Current returns a value of type Object however.
Any suggestions are welcome.
thanx. C
My Project is a mix of keyword and scripttests, using vb-script. I handle the OnStart and OnStop Events and would like to access the Project.TestItems.Current.Name Property!! I have found plenty of code-examples to do this, e.g.: call Log.Message(Project.TestItems.Current.Name)
Trying to do this result in an error: Object required "Project.TestItems.Current". Evaluating the expression Project.TestItems.Current returns a value of type Object however.
Any suggestions are welcome.
thanx. C