Book a Demo

Author Topic: How to extend the Test Case element using a UML Profile?  (Read 3858 times)

kents

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
How to extend the Test Case element using a UML Profile?
« on: January 09, 2018, 09:53:26 pm »
We have used the 'Test Case' element from the Use Case diagram toolbox to document our test cases. I want to add a tagged value called testType to all current and future Test Case elements and use it to distinguish between manual tests and various kinds of automated tests. I know that a Test Case element is a UseCase element with stereotype = "testcase". I have defined a UML Profile with extensions of other element types, but I'm stuck on extending Test Case because when I drag a Metaclass element onto my profile diagram and select the Stereotypes tab, I cannot find the stereotype "testcase" anywhere in any of the lists. Can anyone tell me how to get round this?

Thanks,

John

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to extend the Test Case element using a UML Profile?
« Reply #1 on: January 09, 2018, 11:35:55 pm »
At a guess: try extending EAUML::testcase

q.

kents

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: How to extend the Test Case element using a UML Profile?
« Reply #2 on: January 10, 2018, 03:06:23 am »
Thank you, qwerty - that seems to have done the trick.