Current import logic:
==================
Test Cases for the Story
==================
Test Case I
1. Disable Create AquaScript Permission. User cannot see Import AquaScript - PASS
2. Disable Add Server Permission. User cannot see Import Server - PASS
3. Disable Add User File Permission. User cannot see Import a User File - PASS
Test Case II
1. Enable Create AquaScript Permission. Prompt user to enable View AquaScript - PASS
2. Enable Add Server Permission. Prompt User to enable View Server - PASS
3. Enable Add User File Permission. Prompt User can enable Import a User File tab - PASS
Test Case III
1. Enable Permissions Create AquaScript + View AquaScript . User can see AquaScripts Tab and Import AquaScript - PASS
2. Enable Permissions Add Server + View Server Permission. User can see Servers Tab and Import Server - PASS
3. Enable Permissions Add User File + View User File Permission. User can see User File Tab and Import User File - PASS
=============================
Main Test Case IV for 3.1.26
=============================
AquaScript File Already exists
1. Enable Create AquaScript Permission.
Disable Edit AquaScript Permission.
Disable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit AquaScript" for project "project P".
PASS
AquaScript File Already exists
2. Enable Create AquaScript Permission.
Enable Edit AquaScript Permission.
Disable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Import Success - PASS
Login as different user with permission to project. AquaScript File Already exists
3. Enable Create AquaScript Permission.
Enable Edit AquaScript Permission.
Disable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit AquaScript" for project "project P".
PASS
Login as different user with permission to project. AquaScript File Already exists
4. Enable Create AquaScript Permission.
Enable Edit AquaScript Permission.
Enable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Import Success - PASS
----------------------------------------
Server Already exists
1. Enable Add Server Permission + View Server
Disable Edit Server Permission.
Disable Edit Any Server Permission.
Import Server - Prompt to overwrite
FAIL --> This didnt happen Authorization Failed: •User "tariq" not authorized to "•Edit Server" for project "project P".
FAIL
Server Already exists
2. Enable Add Server Permission.
Enable Edit Server Permission.
Disable Edit Any Server Permission.
Import Server - Prompt to overwrite
Import Success - PASS
Login as different user with permission to project. Server Already exists
3. Enable Add Server Permission.
Enable Edit Server Permission.
Disable Edit Any Server Permission.
Import Server - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit Server" for project "project P".
FAIL --> This didnt happen Authorization Failed: •User "tariq" not authorized to "•Edit Server" for project "project P".
FAIL
Login as different user with permission to project. Server Already exists
4. Enable Add Server Permission.
Enable Edit Server Permission.
Enable Edit Any Server Permission.
Import Server - Prompt to overwrite
Import Success - PASS
---------------------------
User File Already exists
1. Enable Add User File Permission.
Disable Edit User File Permission.
Disable Edit Any User File Permission.
Import User File - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit User File " for project "project P".
FAIL
User File Already exists
2. Enable Add User File Permission.
Enable Edit User File Permission.
Disable Edit Any User File Permission.
Import User File - Prompt to overwrite
Import Success - PASS
Login as different user with permission to project. User File Already exists
3. Enable Add User File Permission.
Enable Edit User File Permission.
Disable Edit Any User File Permission.
Import User File - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit User File " for project "project P".
FAIL
Login as different user with permission to project. User File Already exists
4. Enable Add User File Permission.
Enable Edit User File Permission.
Enable Edit Any User File Permission.
Import User File - Prompt to overwrite
Import Success - PASS
==================
Test Cases for the Story
==================
Test Case I
1. Disable Create AquaScript Permission. User cannot see Import AquaScript - PASS
2. Disable Add Server Permission. User cannot see Import Server - PASS
3. Disable Add User File Permission. User cannot see Import a User File - PASS
Test Case II
1. Enable Create AquaScript Permission. Prompt user to enable View AquaScript - PASS
2. Enable Add Server Permission. Prompt User to enable View Server - PASS
3. Enable Add User File Permission. Prompt User can enable Import a User File tab - PASS
Test Case III
1. Enable Permissions Create AquaScript + View AquaScript . User can see AquaScripts Tab and Import AquaScript - PASS
2. Enable Permissions Add Server + View Server Permission. User can see Servers Tab and Import Server - PASS
3. Enable Permissions Add User File + View User File Permission. User can see User File Tab and Import User File - PASS
=============================
Main Test Case IV for 3.1.26
=============================
AquaScript File Already exists
1. Enable Create AquaScript Permission.
Disable Edit AquaScript Permission.
Disable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit AquaScript" for project "project P".
PASS
AquaScript File Already exists
2. Enable Create AquaScript Permission.
Enable Edit AquaScript Permission.
Disable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Import Success - PASS
Login as different user with permission to project. AquaScript File Already exists
3. Enable Create AquaScript Permission.
Enable Edit AquaScript Permission.
Disable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit AquaScript" for project "project P".
PASS
Login as different user with permission to project. AquaScript File Already exists
4. Enable Create AquaScript Permission.
Enable Edit AquaScript Permission.
Enable Edit Any AquaScript Permission.
Import AquaScript - Prompt to overwrite
Import Success - PASS
----------------------------------------
Server Already exists
1. Enable Add Server Permission + View Server
Disable Edit Server Permission.
Disable Edit Any Server Permission.
Import Server - Prompt to overwrite
FAIL --> This didnt happen Authorization Failed: •User "tariq" not authorized to "•Edit Server" for project "project P".
FAIL
Server Already exists
2. Enable Add Server Permission.
Enable Edit Server Permission.
Disable Edit Any Server Permission.
Import Server - Prompt to overwrite
Import Success - PASS
Login as different user with permission to project. Server Already exists
3. Enable Add Server Permission.
Enable Edit Server Permission.
Disable Edit Any Server Permission.
Import Server - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit Server" for project "project P".
FAIL --> This didnt happen Authorization Failed: •User "tariq" not authorized to "•Edit Server" for project "project P".
FAIL
Login as different user with permission to project. Server Already exists
4. Enable Add Server Permission.
Enable Edit Server Permission.
Enable Edit Any Server Permission.
Import Server - Prompt to overwrite
Import Success - PASS
---------------------------
User File Already exists
1. Enable Add User File Permission.
Disable Edit User File Permission.
Disable Edit Any User File Permission.
Import User File - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit User File " for project "project P".
FAIL
User File Already exists
2. Enable Add User File Permission.
Enable Edit User File Permission.
Disable Edit Any User File Permission.
Import User File - Prompt to overwrite
Import Success - PASS
Login as different user with permission to project. User File Already exists
3. Enable Add User File Permission.
Enable Edit User File Permission.
Disable Edit Any User File Permission.
Import User File - Prompt to overwrite
Authorization Failed: •User "tariq" not authorized to "•Edit User File " for project "project P".
FAIL
Login as different user with permission to project. User File Already exists
4. Enable Add User File Permission.
Enable Edit User File Permission.
Enable Edit Any User File Permission.
Import User File - Prompt to overwrite
Import Success - PASS
To do --> Tariq to add test cases for ROLLBACK once the defects related are resolved
To do --> Tariq to add test cases for ROLLBACK once the defects related are resolved
Issue #832 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
Time Estimate 30 minutes |
see issue http://10.168.1.17:8081/app/home/project/aquadataserver/issue/960