Test cases › Studio › Variables and codelists
TC-STU-242 A variable needs a name and a data type Medium
revision 1 · last changed 7d ago by import from the test management tool
- Role
- Member with Studio access
- Preconditions
- Signed in as a member with Studio access.
- Passes when
- A variable cannot be saved without a name, spaces alone do not count, and a data type is needed.
- Source
- Live observation; ENG-7694; Implementation (UI); UI-only gate · verified 2026-10-19
- Observations
- ENG-7694 words the refusal as Spaces are not allowed in a variable name; the screen shows Required.
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open a draft study configuration, select Variables and add a new variable. | The New Variable panel opens with Name, Data type, Default value, Object type and Field, and Discard and Save. |
| 2 | Clear Data type, leave Name empty and select Save. | Nothing is saved and the browser asks for Name to be filled in. |
| 3 | Enter only spaces in Name, choose a Data type and select Save. | Nothing is saved and Name shows Required. |
| 4 | Enter a Name and choose a Data type, and select Save. | The panel closes. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-242.