Forum Discussion
rickm
14 years agoContributor
Thanks, Alex. I missed finding both of those in the help doc.
I tried the following directly in a Keyword Test, but it fails:
Project.TestItems.Current.Name
The following code, copied from the doc into a script (and called from a Keyword Test) also fails!
function Test()
{
var TestItems;
TestItems = Project.TestItems;
Log.Message("The " + TestItems.Current.Name + " test item is currently running.");
}
The error message in both cases is "Object required".
I tried the following directly in a Keyword Test, but it fails:
Project.TestItems.Current.Name
The following code, copied from the doc into a script (and called from a Keyword Test) also fails!
function Test()
{
var TestItems;
TestItems = Project.TestItems;
Log.Message("The " + TestItems.Current.Name + " test item is currently running.");
}
The error message in both cases is "Object required".