Forum Discussion

dcorral's avatar
dcorral
New Contributor
12 years ago

Runtime acces to description column in some case created

I have a question, I have created a project in which I have a few cases, ok, I want to access to the "Description" column of any case but at runtime, that is, while I'm running a case (a function), then I need access to column "Description" in runtime, any idea ?, do not know if I explain well, thanks.
  • Hi David



    You may get description of current Test Item by using following statement.



    Log.Message(Project.TestItems.Current.Description);
  • Hi David



    You may get description of current Test Item by using following statement.



    Log.Message(Project.TestItems.Current.Description);
  • dcorral's avatar
    dcorral
    New Contributor
    Incredible, it works, thank you very much, I'm starting with TestComplete and I still have much to learn, thanks,

    regards.