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 - Stefan Bolleininger

Pages: [1] 2 3 ... 21
1
Suggestions and Requests / Re: EA 11 wishlist
« on: February 06, 2014, 08:21:09 pm »
It is quite interessting,

package.update() and diagram.update() works fine as ever.

but element.update() causes an exception with "Element Locked".
I suppose some things with the Broadcast events has been changed.

Do you have an addin where you are using "EA_onPostnewElement"? Does it still work?

Regards

Stefan

Issue has been reported.

2
Suggestions and Requests / Re: EA 11 wishlist
« on: February 06, 2014, 02:37:57 am »
What do you mean by cloud?

Geert would you please check if you can use the "element.update()" within your addins?

I use them with user security and require_user_lock_to_edit and it fails with exception "element locked" .
It comes up while creating a new element.

Regards

Stefan

3
Suggestions and Requests / Re: EA 11 wishlist
« on: December 13, 2013, 01:47:50 am »
I also have the feeling, that a new release or a beta comes very fast now.  It is the end of the year :-)

What I really would like:

A more powerful workflow scripting possibility, where I can enable/disable much more dialog parts. (Phase,Version) is quite good for now - But there can be more..

And a better RTF-Editor, Report-Generator, Word/Excel-Integration, ...

Regards

Stefan

4
Suggestions and Requests / Re: Skip GUI customization on first start
« on: November 27, 2013, 08:13:39 pm »
Hi Uffe i understand your Problems :-)

My Workaround is the following:

A little Installter "win32_innosetup

Does the following:

Code: [Select]
Install EA form the intranet location
(User is guided through the Installation of EA... and EA closes)

Then:

Code: [Select]
;Workspace Layout:
Source: "{#MyLibBuildDirectory}\MyWorkspace.eaworkspace"; DestDir: "{userappdata}\Sparx Systems\EA\Workspace Layouts"
Source: "{#MyLibBuildDirectory}\UserPerspective.xml"; DestDir: "{userappdata}\Sparx Systems\EA"

And
Code: [Select]
Root: HKCU; Subkey: "Software\Sparx Systems\EA400\EA\OPTIONS"; ValueType: string; ValueName: "WSLCurrent"; ValueData: "Custom::Myworkspace"; Flags: deletevalue
Root: HKCU; Subkey: "Software\Sparx Systems\EA400\EA\OPTIONS"; ValueType: string; ValueName: "PERSPECTIVE_ROLE"; ValueData: "MyPerspective"; Flags: deletevalue

(other Registery Keys are not mentioned here, they need to much characters :-X)

and than EA starts and all Settings are mine  :D ;D

You may do the same for toolboxes  :)

Regards

Stefan

5
That's what I did with the lockieration (code above)

Any User can force the whole package to be unlocked by the pressing of one button. To make it easier and more reproduceable

          
Code: [Select]
EA.IDualMailInterface Mailer = Repo.GetMailInterface();
          EA.Package lockpackage = Repo.GetTreeSelectedPackage();
          string lockpackagename = lockpackage.Name;
          string username = Repo.GetCurrentLoginUser();
          string subject = "Locked '" + lockpackagename + "' force-unlocked by " + username + "";
          string usernameGUID = ENARTalis_main.delxml(Repo.SQLQuery("Select UserID from t_secuser WHERE UserLogin ='" + username + "'"));
          string RecipientGUID = ENARTalis_main.delxml(Repo.SQLQuery("Select UserID from t_secuser WHERE UserLogin ='admin'"));
          string Message = "Lock removed by deleting lockinformation";
          try
          {
              Mailer.SendMailMessage(RecipientGUID, subject, EA.MessageFlag.mfPurple, Message);
              Mailer.SendMailMessage(usernameGUID, subject, EA.MessageFlag.mfPurple, Message);
          }
          catch (Exception)
          {
              MessageBox.Show("Mail has not been sent!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information);
              return;
          }
          bool success = true;
          string lockbreaker = null;
          lockbreaker = lockpackage.PackageGUID;
          Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + lockbreaker + "'");
          success = ea.ENARTalis_main.lockiteration(lockpackage, Repo);

The MailInterface was just for playing purpose (And a bit of statistic, how often it is really used)  :)

Additional at the Event EA_FileClose():

Code: [Select]
                   
string usernameGUID = Repo.GetCurrentLoginUser(true);
string lockeditemsfile = Repo.SQLQuery("Select EntityID from t_seclocks where UserID = '" + usernameGUID + "'");
string lockeditems = xmlnode(lockeditemsfile, "</EntityID>");
string[] split = lockeditems.Split(new Char[] { ',' });
foreach (string s in split)
                    {
                        Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + s + "'");
                    }


Regards

Stefan


6
Hi,

it would be something like that:

Code: [Select]
               //lockiteration from lockbreaker and exit
        public static bool lockiteration(EA.Package lockpackage, EA.Repository _Repo)
        {
            string lockbreaker = null;
            string lockbreaker_E = null;
            string lockbreaker_E_I = null;
            string lockbreaker_E_D = null;
            string lockbreaker_D = null;
            foreach (EA.Element element in lockpackage.Elements)
            {
                try
                {
                    lockbreaker_E = element.ElementGUID;
                    _Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + lockbreaker_E + "'");
                }
                catch
                {
                    MessageBox.Show("Element Lock could not be released", "Failure", MessageBoxButtons.OK);
                    return false;
                }
            }

            foreach (EA.Element element in lockpackage.Element.Elements)
            {
                try
                {
                    lockbreaker_E_I = element.ElementGUID;
                    _Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + lockbreaker_E_I + "'");
                }
                catch
                {
                    MessageBox.Show("Element Lock could not be released", "Failure", MessageBoxButtons.OK);
                    return false;
                }
            }
            foreach (EA.Diagram diagram in lockpackage.Element.Diagrams)
            {
                try
                {
                    lockbreaker_E_D = diagram.DiagramGUID;
                    _Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + lockbreaker_E_D + "'");
                }
                catch
                {
                    MessageBox.Show("Diagram lock could not be released", "Failure", MessageBoxButtons.OK);
                    return false;
                }
            }

            foreach (EA.Diagram diagram in lockpackage.Diagrams)
            {
                try
                {
                    lockbreaker_D = diagram.DiagramGUID;
                    _Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + lockbreaker_D + "'");
                }
                catch
                {
                    MessageBox.Show("Diagram lock could not be released", "Failure", MessageBoxButtons.OK);
                    return false;
                }
            }

            foreach (EA.Package package in lockpackage.Packages)
            {
                lockpackage = package;
                lockbreaker = lockpackage.PackageGUID;
                _Repo.Execute("DELETE FROM t_seclocks WHERE EntityID='" + lockbreaker + "'");
                if (!lockiteration(lockpackage, _Repo))
                    return false;
            }
            return true;
        }

not complete but working for the elements

7
Suggestions and Requests / Re: Software quality report
« on: November 11, 2013, 05:57:16 pm »
Dear Steve,

i like your idea about the reports, but it has a big point which makes it unable for the tool-manufacturer to create such a solution:

"Your process is defined by yourself and not by the tool-manufacturer".

In your case the completeness of trace-chains would be:

Usecase<--Requirement<--Testcase.

my  Rulecheck is performed against

Requirement<--PARequirement<--PAObject/PAComponent/anything<--Testcase

(While all items with "PA" could be Possibly Available).

Such rulecheck and completeness-routines must be written against your process and it is hardly possible to define the overall accaptable process :)

Regards

Stefan

8
Suggestions and Requests / Re: Text Formatting of Element Names
« on: September 04, 2013, 11:37:55 pm »
Hi Doug,

I struggeled in the same points. From a distant view I'm very happy about it because the special chars may cause many, many errors.  Even with the original Report toolset, or other toolsets.

Like you I have to write it "SpO2".

Did you have taken a look at my latest Addin-Update at  http://www.b-quality.de/?page_id=207.

Maybe you will find it useful.

Beste Regards

Stefan

9
Suggestions and Requests / Re: Requirements Management Features
« on: August 23, 2013, 07:26:38 pm »
Dear BenF,

there are a few plugins out there, which enhance the Requirement management functionality.

Otherwise, you can build your own addin for creating your desired functionality.

Regards

Stefan

10
Suggestions and Requests / Re: Requirements Engineering & Management
« on: January 30, 2013, 12:07:34 am »
EA allready holds all needed options for being a RM-tool. It's about the way you want to use EA.

Most items work out of the box, however a fine-tuning is recommended.

The nice itema about it (my opinion): There is no need of a break between requirement, requirement modelling(traceability) and the "real"-modelling within the software development.

Additional other groups like HW or mechanical development can also be embedded into the EA-workflow.

Best regards

Stefan

11
Suggestions and Requests / Re: Linked document icon in Project Browser
« on: October 25, 2012, 10:21:25 pm »
+1

custom icons would be ver, very nice

12
Or you write yourself an addin by setting a taggedvalue with the template-name and take the  
project.runreport(PackageGUID, (valueof)taggedvalue, OuptufileName)

Greetings

Stefan


13
General Board / Re: Baseline information in generated documentatio
« on: May 04, 2015, 07:13:52 pm »
Yes,

this is possible, if you use template fragements and SQL-Querys for the baseline. "Select * from t_document Where Type = Baseline AND... "

A Video turorial from Scott Hebbard using this feature is available on Youtube.

Best reagrds

Stefan

14
General Board / Re: Can't re-connect keystore manager to keystore
« on: January 30, 2014, 12:05:37 am »
Kill the file and create a new one

15
General Board / Re: Manual testing in EA
« on: December 12, 2014, 08:43:53 pm »
Quote
Quote
Hi,

you may do that with compilations of tests within a diagram or a package.

My favorite condition is the following:

Create a Package for each Test plan.
Add a Diagram into the Package.
Move all Test case elements into this package.

On Diagram options "inclde all Elements from that diagram into the report"
Do not show the diagram within the report

Create a test plan template for the specific need.


One ;D Problem: Each test-case-element is available ONCE, but you can overwrite it.
You ahould use the audit trail function for using it AND writing the device under test identifier into the result.

Regards

Stefan
Stefan,
Where is the option "inclde all Elements from that diagram into the report"?
Why not showing the diagrams? Why creating a test plan template?
Where is the audit trail function?
What do you mean by "writing the device under test identifier into the result"

Sorry if my questions look dumb to you, I just don't understand your way to proceed.



Hi

When i create the test plans and test specifications within a terxtual way, i don't like the diagrams beeing included, because they are just ways of view. Therefore I exclude them.

The option "include all elements" is on the "right-click into the diagram -->diagram options"

The test plan template is a rtf document template which is used for managing tests and test setups. It will be the very first step within a testing framework, the main definition and scope. And to ensure a quick generation, I usually creat a template for.

The audit trail is in "Project-->Auditing". a really valueable feature.

The device under test, the correct reference for a single device or version is usually not handled by enterprise architect in a usable way. to have the information bound to the test in the Testing window, i use the device-identifier within the test result. The device is hand-written in there and with that approach i can manage variants and updates with regression and problem solution processes.

Pages: [1] 2 3 ... 21