Book a Demo

Author Topic: Problem with testcase diagram  (Read 13116 times)

seamoh

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Problem with testcase diagram
« on: February 03, 2011, 01:54:36 am »
Hello I create test from robustness using Iconix add in ,Enterprise architect make Test case diagram with some test cases in it. I want to add Test case in this Test case diagram ,I used Test Case from toolbox ,but an ellipse diagram appeared on the diagram ,as you know the Test cases that was produced by robustness diagrams are rectangular and it is possible to write unit test by ctrl+3 shortcut.
I tried too much to find the solution ,please help me to add rectangular test cases to test case diagram .I appreciate your help

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Problem with testcase diagram
« Reply #1 on: February 03, 2011, 02:31:39 pm »
Right-click on the Test Case element and select Advanced | Use Rectangular Notation.

seamoh

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Problem with testcase diagram
« Reply #2 on: February 03, 2011, 05:09:39 pm »
Hello and Million thanks for quick and correct response ,but I have another problem ,how can I add test case (NotRun ) in the test  that I create from tool box?
I appreciate your response
« Last Edit: February 03, 2011, 05:11:57 pm by seamoh »

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Problem with testcase diagram
« Reply #3 on: February 04, 2011, 09:54:19 am »
You can add test scripts to the Test Case element using the Testing window (View | Testing from the main menu, or hotkey Alt+3).
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/test_and_quality_control/o1529.html

To have these test scripts visible on the diagram, open the Diagram Properties, Elements tab, and make sure the "Testing" option is ticked in the Show Compartments group.

seamoh

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Problem with testcase diagram
« Reply #4 on: February 04, 2011, 12:11:50 pm »
Hello and thank you very much for rapid response .I appreciate your help ,ctrl+ 3 works when you have test below the line of the test case ,when we create a new test case from tool box and change it to rectangular form ,there isn't any test in the lower portion ,therefor ctrl+ 3 doesn't work ,I don't know how to add something in lower portion of the test case to make the ctl+3 works. Thank you very much ,I appreciate your help

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Problem with testcase diagram
« Reply #5 on: February 04, 2011, 12:29:21 pm »
The test cases generated by the Iconix Add-In will add a default test script.  The Test Case element you create from the toolbox is basically the same, but just does not contain any test scripts by default.  New test scripts can be created using the Testing window.

- Select the new Test Case element on your diagram
- Open the Testing window (Alt+3)
- Click the "New" button on the toolbar within the Testing window
- Enter the details for your test script and click the Save icon

Once you have one or more test scripts on this element, they should become visible on the diagram if the Testing compartment has been enabled in the diagram properties.

seamoh

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Problem with testcase diagram
« Reply #6 on: February 04, 2011, 04:49:23 pm »
MILLION MILLION MILLION MILLION Thanks. I can't find a word to send my regards to you.I appreciate you