Thanks Markus for your reply.
As you suggested, I have called at test case level. It works fine.
Thanks,
-Bala.
Search found 2 matches
- Tue Feb 26, 2013 5:02 pm
- Forum: Automation API
- Topic: How to get test case name using code, while execution
- Replies: 7
- Views: 6687
- Mon Feb 25, 2013 1:34 pm
- Forum: Automation API
- Topic: How to get test case name using code, while execution
- Replies: 7
- Views: 6687
Re: How to get test case name using code, while execution
Hi, I tried to use TestCase.Current.Name in my user code module. But I'm getting the below error. What could be the possible reason? Object reference not set to an instance of an object. Show/Hide Stacktrace at SampAutomation.supportlibraries.ExecuteTest.Ranorex.Core.Testing.ITestModule.Run() in c:\...