CaseComplete Community

Sharing ideas about CaseComplete® and Use Case modeling
Welcome to CaseComplete Community Sign in | Join | Help
in
Home Forums

Test Plan Report - Including Extensions Within Steps.

Last post 01-18-2008, 9:36 AM by Doug. 4 replies.
Sort Posts: Previous Next
  •  01-16-2008, 9:19 PM 397

    Test Plan Report - Including Extensions Within Steps.

     

    Hi All!

     

    I am customsing the Test Plan Report so that I can show the both the steps, and extensions together, i.e.

     

    Step 1

     

    Step 2

        Extension 2a

        Extension 2b

     

    Step 3

        Extension 3a

     

    Step 4....

     

    My repeats for both the Steps, and the Extensions work in isolation, but when I nest them (as below), the Extensions don't display between the rows of Steps as I would expect.

     

    Does anyone know the correct way to achieve what I am trying to do? 

     

    Regards

    Stuart 

     

     

    ~~~~~~~~~~~~~~~~Begin Report~~~~~~~~~~~~~~~~~~~~~~~~~

     

    $repeatUseCasesSortID where ID = UC-1

     

    $repeatSteps

    TC-$ID-Main

    Procedure / Inputs

    Expected Results

    Pass/Fail

    $NumberedDescription

    $TestingProcedure

    $ExpectedResults

     

     

    $repeatExtensionsNoSteps

    TC-$ParentID-$Count

    Procedure / Inputs

    Expected Results

    Pass/Fail

    $NumberedDescription

    $TestingProcedure

    $ExpectedResults

     

    $tableSteps $NumberedDescription

    $TestingProcedure

    $ExpectedResults

     

     

    $endrepeatExtensionsNoSteps

     

    $endrepeatSteps

     

    $endrepeatUseCases

     

    ~~~~~~~~~~~~~~~~~~~End Report~~~~~~~~~~~~~~~~~~~~~~~~

     

    (Note the Where statement to restrict the results to the first Use Case for test purposes).

  •  01-17-2008, 12:50 PM 400 in reply to 397

    Re: Test Plan Report - Including Extensions Within Steps.

    Stuart,

    Sorry, but the $repeatExtensionsNoSteps is only valid in the context of a use case. In other words, you can't get the extensions for just the current step.  But there's no reason it has to be that way, so I'll add this enhancement to be included as a fix for the next release.  Thanks for the suggestion.


    Doug
    Serlio Software
  •  01-17-2008, 12:56 PM 401 in reply to 397

    Re: Test Plan Report - Including Extensions Within Steps.

    Forgot to mention an alternative to the where clause you have for testing purposes: you can right click on a use case in the list and select generate word report from there.  The word generation dialog will come up with "generate for selected items only" chosen by default.  That way you don't accidentally run the report on the entire model.  Just thought I'd mention this because it's a handy shortcut that many people may not know about.


    Doug
    Serlio Software
    Filed under:
  •  01-17-2008, 1:55 PM 402 in reply to 400

    Re: Test Plan Report - Including Extensions Within Steps.

    Doug:

    Stuart,

    Sorry, but the $repeatExtensionsNoSteps is only valid in the context of a use case. In other words, you can't get the extensions for just the current step.  But there's no reason it has to be that way, so I'll add this enhancement to be included as a fix for the next release.  Thanks for the suggestion.

    Many thanks Doug!

    I thought this might be the case when I saw the list of valid contexts in the report documentation.  I saw the Extensions had parent keys linking to the Steps in exported XML and hoped it might work anyway. :-)

    I am wanting to produce UAT scripts and the users will find it difficult to jump backwards and forwards in the document to test Extensions so I think this would be a valuable enhancement!

    (Thanks also for the tip on testing reports by usecase!)

    Have you got a planned date for the next release at this stage?

    Regards

    Stuart

  •  01-18-2008, 9:36 AM 403 in reply to 402

    Re: Test Plan Report - Including Extensions Within Steps.

    Stuart:

    Have you got a planned date for the next release at this stage?

    I thought that might be the next question ;-).  Sorry, no date that we're ready to publicly state yet.


    Doug
    Serlio Software
View as RSS news feed in XML