Forum Discussion

vthomeschoolmom's avatar
vthomeschoolmom
Super Contributor
5 years ago
Solved

ProjectSuite.TestItems.Current.ProjectName has no value

So I have an event in a script unit that is shared.    var currentProject = "default project"; currentProject = ProjectSuite.TestItems.Current.ProjectName;   ... do a small condition around ...
  • cunderw's avatar
    5 years ago

    You can only acces the ProjectSuite object if you are running the suite, not the project, otherwise it doesn't exist.

     

    If you run the suite and not the project should work.