Kateryna
13 years agoContributor
Name of keyword tests
Hello, Is it possible to get the name of current keyword test and save it to variable? Thank you in advance. Kateryna
- 13 years agoHi,
If you run your test via a test item, you can get its name via the test item's ElementToBeRun property. Here's the full name of the property whose value you need to get (for example, via the [url=http://support.smartbear.com/viewarticle/11075/]Call Object Method operation[\url]):
Project.TestItems.Current.ElementToBeRun.Caption