Book a Demo

Author Topic: Test Cases - Setup, Auto Numbering and Results  (Read 2751 times)

Cryolitte

  • Guest
Test Cases - Setup, Auto Numbering and Results
« on: May 16, 2005, 05:46:37 pm »
I'm writing some Test Cases attached to packages. It's those test cases one would find in the "Test Cases" tab towards the bottom half of the screen. The EA model is stored in SQL Server.

Here are the questions I have not found answers to:

1. Setup
Suppose I want to note down a list of setup instructions of a set of tests in a package. What is the best way to do this?

2. Auto Numbering
I would like to automatically number the tests by the packages they're under. e.g. "rob24 - Triple click on the Close button". I went to Configuration -> Auto Counters, then click on "Auto" at the test cases. This, however, erased the original test name and replaced it with the auto-number! I still want the name, but just would like the extra auto-number. How can I achieve this?

3. Test Results
On each test case there are "execution" fields, like run by, results, status, last run date, checked by...etc. Does EA keep a log of this somewhere, or do new results simply "override" the new results? What is the best way to implement this "logging" mechanism?

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Test Cases - Setup, Auto Numbering and Results
« Reply #1 on: May 16, 2005, 08:21:39 pm »
Welcome, Cryolitte, to the small but dedicated EA users interested in the test features.

Quote
1. Setup
Suppose I want to note down a list of setup instructions of a set of tests in a package. What is the best way to do this?

If you mean that the collection of tests in the package are to be executed after some sort of setup process, then how I do it is to create a "dummy" test with the instructions in the input and an expected result of null.  The test always passes.  If you mean a common setup routine you want to apply to each test in the package then I dont have an answer - short of copy/paste.

Quote
2. Auto Numbering
I would like to automatically number the tests by the packages they're under. e.g. "rob24 - Triple click on the Close button". I went to Configuration -> Auto Counters, then click on "Auto" at the test cases. This, however, erased the original test name and replaced it with the auto-number! I still want the name, but just would like the extra auto-number. How can I achieve this?

This is a pain.  You have to copy the original name, click the autonumber button and then paste the original name back on the end.  THEN, you have to delete the original test (without the number) or you will end up with duplicates.  Alternatively - do as I have and create an addin or an Access database front end to allow you to change the name.

Quote
3. Test Results
On each test case there are "execution" fields, like run by, results, status, last run date, checked by...etc. Does EA keep a log of this somewhere, or do new results simply "override" the new results? What is the best way to implement this "logging" mechanism?

In short, no.

I take a copy of the entire repository between test cycles.  So far, (fingers crossed) I have not have had to resort to wading through the cycles.

hth
bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.