Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sample Unit Tests on Role Redesign

Former Member
0 Likes
922

Hi All,

I'm working in a Project in which we undertaken the resposibility of creating new set of roles and the new roles are built.

Now, the client is asking for unit tests.

Can someone please provide me with some "sample unit tests" for this Role Redesign.

Regards,

Preethi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
820

Hi

As a part of unit testing you can create Individual IDs for each role ( I ID = 1 Role )and test if the user is able to execute the tcode added through menu ( Ideally just the first screen of transaction to check S_TCODE Authority ) .

In further testing rounds like CSST / BPIT you can check role for further restrictions .

Thanks

Aditya

4 REPLIES 4
Read only

Former Member
0 Likes
821

Hi

As a part of unit testing you can create Individual IDs for each role ( I ID = 1 Role )and test if the user is able to execute the tcode added through menu ( Ideally just the first screen of transaction to check S_TCODE Authority ) .

In further testing rounds like CSST / BPIT you can check role for further restrictions .

Thanks

Aditya

Read only

Former Member
0 Likes
820

Aditya, Thanks for your reply.

Well, I understood what you told.I am totally new to this industry and need to write test scripts for testing the Roles. Could you please Provide a little more insight on 1 sample test case.I mean the steps to test 1 Role .

Regards,

Preethi

Read only

0 Likes
820

Hi,

Speak to the test team on your project, they will have templates, methods etc.

Basic steps are

1. Login with appropriate user & role

2. Run transaction to completion. If errors then capture input data & actions & corresponding error messages (texts, SU53's etc).

3. Fix & retest if required, include SU24 changes etc

Your security team will be able to help with any of the above that is new to you.

Read only

0 Likes
820

Thanks Alex , for your Reply.