Skip to main content
Version: 1.0.0

Creating Automated Test Scenarios

Overview of Test Scenarios​

After creating and setting up the project, the next step is to create automated test scenarios. When creating a new test scenario, basic metadata information such as code, name, test steps, etc., will be included.

The Centralize Automation Testing Suite uses a keyword-based configuration method, where a test scenario consists of keywords that represent user actions on the application/software being tested.

There are two ways for users to create test scenarios in the system:

This section will guide you on how to create a manual test scenario.

Creating Manual Automated Test Scenarios​

To create a new test scenario directly in the system, follow these steps:

Step 1: Click Test Lib on the project menu list

alt text

Step 2: Click SCENARIO tab

alt text

Step 3: Click “NEW TEST”

alt text

The system displays the CREATE TEST SCENARIO screen, tab General Information

Step 4: Enter all required information into the new creation form (tab General Information)

alt text

Description of Information Fields

Field NameMandatoryFormatConstraintsDescription
CODENoTextboxIf entered, the Code must be unique, at least 2 characters long, start with a letter, and only contain characters from a-z (case insensitive), digits, "_" and "-"This is the test scenario code used to identify the test scenario in the system. If the user does not enter a Code, the system will automatically generate a code according to the formula T-STT
E.g.: T-1
NAMEYesTextboxThis is the name of the test scenario
DIRECTORYNoButtonDisplays a list of directories of the selected test typeThis is the directory containing the test scenario to help users manage and track it more easily. Choose one directory where the user wants to save the test. How to choose a directory
TYPEYesComboboxThis is the classification of the test scenario, with selectable values including:
+ TEST CASE
+ TEST SCENARIO
+ TEST SUITE
+ TEST MANUAL
+ JDBC
+ API
+ SHARED STEPS
The user is creating a test in the SCENARIO tab, and the system defaults the type to TEST SCENARIO
VERSIONYesComboboxDisplays a list of active versions of the projectThis is the development version of the product in the project. The test scenario belongs to which version will be selected
ENVIRONMENTYesComboboxDisplays a list of active environments of the projectThis is the development environment of the product in the project. The test scenario will be conducted in which environment will be selected
MODULEYesComboboxDisplays a list of active modules in the projectThis is the component of the test scenario in the project. The test belongs to which module will be selected
TEST PRIORITYYesComboboxThis is the priority level for executing the test. Values include:
+ HIGH: test scenarios with HIGH priority will be executed first
+ MEDIUM: medium priority
+ LOW: low priority
LABELNoButtonChoose one or more labels that the user wants to attach. How to attach labels
DESCRIPTIONNoTextareaThis is a description of the test scenario being created
PURPOSENoTextareaThis is the purpose of the test scenario
PRECONDITIONNoTextareaThis is the prerequisite condition that must be met to execute the test scenario
TEST STEPSNoTextareaThese are the steps to be taken in the test scenario
EXPECTED RESULTNoTextareaThis is the expected result of the test scenario
TEST DATANoTextareaThis is the data that the user uses in the test scenario
DESCRIPTIONNoTextareaAllows the user to enter a description

Step 5: Click the OK button. The system displays the message “Create successful”

How to Choose a Directory​

Manage test scenarios by directory

To choose a directory while creating a new test scenario, do the following:

Step 1: In the new creation form (tab General Information), click Directory

alt text

Step 2: Check one suitable directory and click OK

alt text

Note: If the user wants to select a subdirectory of a directory, click on that directory

alt text

Click on the breadcrumb at the top of the data table to go back

alt text

How to Attach Labels​

To attach a label while creating a new test, do the following:

Step 1: In the new creation form (tab General Information), click text Click to Manage Label or click the textbox Label

alt text

The system displays a list of labels that are Active in the project.

Step 2: Click the “+” button on the labels you want to attach

alt text

Step 3: Click OK to save

alt text