Botium Namespaces allow you to group together Test Projects, Test Results, Test Sets, Chatbots and Crawler Projects under one common namespace. This is particularly useful for testing multiple chatbot implementations across different brands or product offerings that your business might have.
The default Botium Namespace that is selected covers "All Namespaces", and additional Namespaces are available in the dropdown menu in the top right corner of the Botium platform.
Test Projects, Test Results, Test Sets, Chatbots and Crawler Projects are added to a Botium Namespace by typing the desired name of the Namespace into the text field on the corresponding configuration page.
By clicking on a configured Namespace in this dropdown menu, you will see all of the grouped items for each section of the Botium platform. In the example below, the "Meaningful_Name" Namespace is selected, and in the Test Projects section, we can only see the project attached to this Namespace.
Creating new Namespaces
To create a new Namespace, simply type the name you would like into the optional Namespace field and a new Namespace will be created. Leaving this field blank will still add this project to the "All Namespaces" category.
Namespaces can also be created or added from the last step of the Quickstart Wizard. This will include both the Chatbot and the Test Project in the specified Namespace.
If a Test Project, Test Result, Test Set, Chatbot or Crawler Project is included in a Namespace, it will have a Namespace Tag to indicate this.
Namespace permissions can be enabled and disabled from the global settings panel under the Namespace Permissions tab. Here the user can apply rules for read/write access to any Namespace.
These permissions are set on a role basis so per Namespace you can set different permissions based on the different roles in Botium (It is possible to add as many custom roles as you like).
There are two options for permissions, Read or Write (when the write permission is granted, the read permission is automatically granted in the background)
For any record in Botium which isn’t assigned to a Namespace by default no permission rules are applied, meaning that those records are readable and writable for anyone (based on role).
So for example, a "guest" user can have "read" permissions to a "public" namespace, but in addition it can have "write" permissions to a "public.superpublic" namespace. Otherwise, child namespaces inherit permissions from the parent namespaces.
Records without Read Permissions
The detailed records where no read permissions are granted will not be shown in any list view. Hyperlinks to those records may be shown, but clicking on it reveals only some basic information (like the record name), but no detailed information.
For example: a Chatbot is in a Namespace where the current user does not have any read permissions, so the Chatbot will not appear in the Chatbots list. However that same Chatbot is part of a Test Result that the user is permitted to see, thus only the link to the Chatbot is visible on the Test Results view but no further information is available on clicking.
If there are no write permissions for a Namespace, then the user can view the whole record, but it cannot be changed. So a user can view the Chatbot capability secrets, but will not be able to apply changes to them.