Forum Discussion

agiletstware's avatar
agiletstware
Occasional Contributor
12 years ago

print test case name and status

Hello, I need to print my test case name and its status (pass, fail, etc) to the log when a test case finishes. I tried a simple onstepTest and onStartTest event, but seems like this is not ...
  • khoffman90's avatar
    12 years ago
    Hi,



    How are you running the tests?



    I have something similar where I use Project.TestItems.Current.Name.



    If I run the test from the individual test editor and I do not run the test from the Project Folder I get a run time error. 



    You have to add the tests to the project editor (Test Item panel) and run them from there. 


    http://support.smartbear.com/viewarticle/29618/