I cannot use Project.TestItems.Current to get the currently running test name because it is returning null in the Log.Error event. Is there a way to get the test name in code? Thanks
Solved! Go to Solution.
Are you running from the project level with test items added to it? Sounds like you might running an individual keyword test or script function.
Project.TestItems.Current is the actual test item itself. Replace with Project.TestItems.Current.Name and see if that gets you what you need.
I cannot get the Name because the Current is null. I did use name....
Are you running from the project level with test items added to it? Sounds like you might running an individual keyword test or script function.
Ohhhhhhhhhh. Yes I am. Dern, now I am thinking of the documentation I was reading when I found that info. Thanks.
Subject | Author | Latest Post |
---|---|---|