In policy-based applications, some actions can only be performed by certain roles. This usually leads to complexity when managing test case pre-conditions, which often forces authors to wrap all test-cases in login and logout actions, which makes them slow to execute.
Boozang keeps track of which user is logged in, and automatically switches user login when necessary. This allows test to execute reliably and fast independent of the execution order.
Boozang also supports conditional tests based on the current role, utilizing so-called matrix data. This is great for testing of permissions. See sample of matrix data below as an example.
Learn more about role-based testing in our documentation: http://docs.boozang.com/#ai-authorization