Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ricardo Guerra

Pages: [1]
1
Bugs and Issues / "Import Tests from Other Element" feature
« on: July 19, 2008, 12:31:49 am »
Hi there,

i have a bunch of test cases defined in the "Unit" tab of the "Testing" workspace (ALT+3 or View>Testing).

This test cases should have been defined in the "Acceptance" tab and im now i have to move them from one tab to the other.

Im following the documentation "Import tests from other element" procedure but nothing really happens (!).

Detailed Scenario:

- I have a "Use case" object marked with the "Test case" stereotype.
- This test case has 3 unit tests defined in the "Unit" tab of the Testing workspace.
- I want to "move" them to the "Acceptance" tab.
- In the "Acceptance" tab i select the option "Import tests from other element" from the context menu over the list.
- i select all the "Unit::tc1", "Unit::tc2", ...,"Unit::tcN" in "select items to import".
- in "import from another element" i select the test case from where i want to import (this should be optional as i want to import them from the same test case...)
- press ok
- no tc's are imported.

Any suggestion?

Thanks in advance!
Ricardo

2
Automation Interface, Add-Ins and Tools / Re: .NET partial classes
« on: March 12, 2009, 08:10:12 pm »
Thanks for your reply Midnight!

3
Automation Interface, Add-Ins and Tools / Re: .NET partial classes
« on: March 10, 2009, 12:56:31 am »
Yes, we are using 7.1...

I was thinking to automate the duplicate objects after reverse engineering but that might be error-prone...

By the way i couldnt find anything on the forum related to this subject...

Thanks

4
Automation Interface, Add-Ins and Tools / .NET partial classes
« on: March 09, 2009, 09:54:26 pm »
Hi there,

EA duplicates UserControls partial classes that have a .Designer.cs file when using the Import Source feature. Is there a way to avoid this or to remove them after generation ?

Thanks in advance!

Cheers,
Ricardo

5
Hey Frank,

this was really my bad...
thanks for guiding me to a solution.

Cheers,
Ricardo

6
Hi there,

i am automating the process of creating system tests from existing software requirements. I managed to do pretty much what i needed like adding elements to diagrams, linking to other objects and so on.

My issue here is with the position of new elements in a diagram.
How can i set the position of a new element in a diagram ?
I see the EA.Element object does not have a style like property to work with.

Thanks in advance!

Cheers,
Ricardo

7
Thanks for your reply Aaron!

I managed to get element ids now so it became easier to get elements.
Your approach forces me to have the queries pre-created in EA.

Cheers,
Ricardo

8
Automation Interface, Add-Ins and Tools / Finding an element by name
« on: February 28, 2009, 04:24:42 am »
Hi there,

i need to find an element in the model and i only know its name.
I'm using the EA.Package.FindObject(myObjectName) but it throws an exception stating "Can“t find matching object".

Thanks in advance!

Cheers,
Ricardo

Pages: [1]