Test cases › Studio › Variables and codelists
TC-STU-248 A codelist needs a name and every option needs text Medium
revision 1 · last changed 6d 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 codelist needs a name, text for each option and a valid variable name.
- Source
- Live observation; Implementation (UI); back end confirms; ENG-8173
- Observations
- B5 on TA-144: ENG-8173 (Completed) makes a name of only spaces fail in the dialog like an empty one. Not re-walked since the fix.
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | In a draft study configuration's Codelist, select Add Codelist. | The Create Codelist dialog opens with Name, Variable Name and Options with Choice and Code. |
| 2 | Select Create with Name empty. | Name shows Please enter some name. |
| 3 | Enter only spaces in Name, give the first option a choice and select Create. | Name shows Please enter some name., the dialog stays open and no codelist is created. |
| 4 | Enter a Name, add a second option row and leave its Choice empty, and select Create. | The empty Choice shows Can't be empty. |
| 5 | Enter a Variable Name with a space in it and select Create. | Variable Name shows Only alphanumeric characters, underscores (_) and colons (:) are allowed. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-248.