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

How to execute same set of test cases or test suite with different roles

This is the situation we have. There are a set of test cases or a test suite that needs to be executed with different roles. Is it possible to create test execution records (with different names) of the same suite?

Thanks for all your help.
Suresh

0 votes

Comments

 Could you clarify what you mean by "different roles" ?

Bob, they are our business process roles. In our business users can login to the system as different roles. The steps are the same except for the roles. I was reaching out to see if there is any solution that anyone is already using.



3 answers

Permanent link
Another option, though may be considered a stretch for correct usage and would be affected by how you currently use Test Environments, would be set up a new Environment Type, Business Roles, under Manage Project Properties->Lab Resource Properties. The Test Plan could define this a Platform (under the Test Environment section). Execution Records could be generated for each role through the Environment. The environment is a column of the Execution Records table and the Results table.

2 votes

Comments

Bob, thanks again. I tried this out and it fits my needs. For now, I think I will go with this.


Permanent link
Have you looked into using Test Script Test Data? You can configure a test data file to contain, per row, a business role. The script can reference test data column values (e.g. business role name). The script will repeat for each row of the test data file.

1 vote

Comments

Bob, thanks for directing me towards test data. I tried and it works perfectly fine as you have mentioned. If I had three roles, it executes the steps for 3 iterations and the result is a single test case execution result with all the steps for 3 iterations. If the test case failed, I need to open the testcase result to see for what role did it actually fail. That is the challenge I am facing. Also, in the test case result, it is not possible to display the roles as a column. This is what I am trying to achieve. There are say 3 roles - role1, role2 and role3. A test suite or a set of test cases are to be executed by all the roles. I need to see 3 execution records or a way to identify that this execution with role2 failed by seeing the results. Please let me know if this can be achieved.

Thanks for all your help


Permanent link
Yes. It's possible. You can create two test plans for the same test suite. Then assign the two test plans to two execution records. By the way, at least one of Test Suite, Test Environment, Test Plan and Test Milestone must be different for each execution records.

0 votes

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,019

Question asked: Mar 07 '13, 10:03 a.m.

Question was seen: 5,284 times

Last updated: Mar 12 '13, 10:11 a.m.

Confirmation Cancel Confirm