Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unexpected behavior? with TCER/ TSER generation with 'add prefix to name' feature

As per documentation at Generating test case and test suite execution records automatically
The point as below, we should be able to create unique TCER/ TSER and unique Test Environment names by using 'prefix'
Tip: You can create unique names for each test case execution record or test suite execution record by selecting the To make the new test environment names unique, add a prefix to the generated name option.

However, the prefix does not work as expected.

Sample scenario:

1. Go to Test Plan > Test Cases > 'select a test case' > Click Generate TER.
Now, select few environment attributes, select option to add prefix to generated name.
result: A TCER and test environment is created.

2. Re-try scenario on step 1 without prefix.
expected : There is one more TCER and test environment created.
actual : A new TCER is created, but the test environment created in step 1 is reused.

Is this a documentation defect?

0 votes


Accepted answer

Permanent link
It depends on the environment attributes you have set.

In the Generate Test Case Execution Records Wizard - Step 1, You'll select a number of environment attributes on the Generate Test Environments tab.
Then in Step 2 it will try to find any existing environments with the attributes you set in previous step, the result could be one with a prefix. If you want to ignore the existing one a create a new Test environment, then you use a new prefix.

Then, to answer your question, if in 2. (from your steps) you used the same environment attributes in step 1, then it is expected that it will reuse the one you created in 1.


Sunil Kumar R selected this answer as the correct answer

1 vote

Comments

Hi Gerardo.. exactly as I expected. But I am unable to find any supporting document that says there should not be unique environment(s) created unless the test environment variables in the 2 steps use different attributes..

Also, the document says noted in my comment above says...
 "Tip: You can create unique names for each test case execution record or test suite execution record by selecting the To make the new test environment names unique, add a prefix to the generated name option."

So it is confusing whether the prefix usage should create unique TCER/ TSER alone or will it create unique Test Environments as well...

Best Regards, Sunil

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Apr 16 '15, 10:27 a.m.

Question was seen: 2,738 times

Last updated: Apr 18 '15, 8:19 a.m.

Confirmation Cancel Confirm