comment or description

Help
2009-11-26
2012-09-15
  • Roy de Kleijn
    Roy de Kleijn
    2009-11-26

    Hi all,

    I like to put a comment or description attached with the test case.

    When I move a test case to the left panel, I can double click on it. Then I
    see in the right panel a desciption cell... (How can I give a description? I
    hope I can do it from the code level)

    Also, When I edit testdata in the excelsheet I see a comment column. How can I
    do that in the code?

    Any clue? much appreciated!

    Roy

     
  • Roy de Kleijn
    Roy de Kleijn
    2010-01-02

    Any comment on this?

    It will be very helpfull because we are working with different teams.

    Regards,

    Roy

     
  • Golan Derazon
    Golan Derazon
    2010-01-03

    In the "Test Info" tab you have to sub-tabs: "Test Documentation" and "User
    Documentation"

    "User Documentation" can be set by the user from the runner.

    "Test Documentation" can be set from the code by simply writing javadoc to the
    test:

    Note that in order to see javadoc in the runner you need the java2html.jar in
    the runner/thirdparty/lib

     
  • Roy de Kleijn
    Roy de Kleijn
    2010-01-04

    According to: "Test Documentation".

    Can you give me a example on how I can write javadoc for the following
    testcase?

    @Test

    @TestProperties(name="Changing MVNO details")

    public void tc02() throws Throwable {

    selenium.click("link=Create Ticket");

    }

    Thanks in advance,

    Roy

     
  • Golan Derazon
    Golan Derazon
    2010-01-05

    /**

    • doc here

      */

      @Test

    @TestProperties(name="Changing MVNO details")

    public void tc02() throws Throwable {

    selenium.click("link=Create Ticket");

    }

     
  • Roy de Kleijn
    Roy de Kleijn
    2010-02-01

    When I open the scenario in Excel, I see two collumns: Comment & User-Doc

    How can I define there some text from the source code?

    I like to put there our TestLink title. In order to relate those test cases.

    Regards,

    Roy

     
  • Golan Derazon
    Golan Derazon
    2010-02-02

    As I previously wrote "Test Documentation" comes from test javadoc.

    The reason you don't see it in the excel is probably because of a bug in
    converting to excel.