Forum Discussion

lodecesa's avatar
lodecesa
Contributor
2 years ago

Extract comments for documentation

Hi, I need to extract all the comments of a keyword test for documentation needs, a kind of javadoc. It's possible?

 

Thanks

Lorenzo

3 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    It's not possible within TC. However, you can search for "Data Description" in your keyword test file and extract the comments. For example,

     

    • lodecesa's avatar
      lodecesa
      Contributor

      rraghvani wrote:

      It's not possible within TC. However, you can search for "Data Description" in your keyword test file and extract the comments. For example,

       


      Thanks for suggest! Is there an application that is able to extract the value of a property of certain tags? So that in my case I can get the value of the Comment property of the Data tag:

      <Data Comment="The comment in a Keyword test" />

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    You can use Notepad++, use regular expression to search for the text.