Forum Discussion
agabriel
12 years agoContributor
Following up on what MGDIS TIA said, if the test is being run on its own, then the variable will be undefined. If you run the test as part of Project or Project Suite instead of by itself, you should get the Test Name (the name that it was given when added to the Project).
I used a 'try, catch' to give the variable a name of "Unknown Test Name" so I could run these test by themselves without an error coming up.
I used a 'try, catch' to give the variable a name of "Unknown Test Name" so I could run these test by themselves without an error coming up.
Related Content
- 12 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago