Ask a Question

please add method to get CurrentModule name (not just CurrentTestCase name)

please add method to get CurrentModule name (not just CurrentTestCase name)

Hi,

 

This is a followup to this post:

https://community.smartbear.com/t5/TestComplete-Questions/Getting-Name-of-Failed-test-in-OnLogError-...

At the moment, we have a property aqTestCase.CurrentTestCase.Name, which returns the name of current Test Case. However, this property returns null/exception in case the module in not set as a 'Test Case' in the Execution Plan. The thing is, that not all modules are usually set as Test Case, therefore aqTestCase.CurrentTestCase.Name is useless for these modules. So it would be nice to have either a new property or extended existing CurrentTestCase.Name property, which will return the name of module, regardless it's set as TestCase or not. Thanks.

Announcements
Welcome to the TestComplete Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here