Service Catalog category
-
- UpdatedJan 30, 2025
- 10 minutes to read
- Yokohama
- Automated Test Framework
Validate single catalog item transactions as well as requester and fulfiller flows in Service Catalog.
Activation of the Automated Test Framework for Service Catalog
These test steps require activation of the The Automated Test Framework Service Catalog (com.glide.automated_testing_impl.service_catalog) plugin, which is active by default on new instances. Administrators may need to activate the plugin on instances upgraded from earlier versions.
Support for parametrized tests
Service Catalog step configurations support parametrized tests. For more information on parametrized tests, refer to Parameterized tests.
Variable editor support
- Step configurations to order a catalog item or record producer in the Service Catalog category.
- Open an Existing Record step configuration in the Form category.
- Set Variable Values, Validate Variable Values, or Variable State Validation step configuration in the Service Catalog category.
Open a Catalog Item
Open a catalog item.
Open a Record Producer
Open a record producer.
Set Variable Values
Set variable values for the current catalog item or the record producer.
For a catalog item, use this step after opening a catalog item page using the Open a Catalog Item step, and before using the Order Catalog Item step. For a record producer, use this step after opening a record producer page using the Open a Record Producer step, and before using the Submit Record Producer step.
Set Catalog Item Quantity
Set the quantity for the current catalog item.
Validate Variable Values
Validate variable values on the current catalog item or record producer.
For a catalog item, use this step after opening a catalog item page using the Open a Catalog Item step, and before using the Order Catalog Item step. For a record producer, use this step after opening a record producer page using the Open a Record Producer step, and before using the Submit Record Producer step.
Variable State Validation
Validate the state of variables. Possible variable states are mandatory, not mandatory, read only, not read only, visible, and not visible.
Validate Price and Recurring Price
Validate price and recurring price of a catalog item. Use this step after opening a catalog item page using the Open a Catalog Item step, and before using the Order Catalog Item step.
Add Item to Shopping Cart
Add a catalog item to the shopping cart. Use this step after opening a catalog item page using the Open a Catalog Item step. After this step, you cannot use any other steps on the catalog item.
Field | Description |
---|---|
cart_item_id | The sys_id of the added catalog item. |
Order Catalog Item
Clicks Order Now for a catalog item. Use this step after opening a catalog item page using the Open a Catalog Item step.
After this step, you cannot use any other steps on the catalog item. If the two-step checkout is false, a request is generated for the catalog item. If the two-step checkout is true, you are redirected to the cart preview page.
Field | Description |
---|---|
request_id | The sys_id of the created catalog request. |
cart | the sys_id of the cart holding the catalog item. |
Submit Record Producer
Submits the current record producer. Use this step after opening the record producer page using the Open a Record producer step. After this step, you cannot use any other steps on the catalog item.
Field | Description |
---|---|
record_id | The sys_id of target record of the record producer. |
On this page
- Activation of the Automated Test Framework for Service Catalog
- Support for parametrized tests
- Variable editor support
- Open a Catalog Item
- Open a Record Producer
- Set Variable Values
- Set Catalog Item Quantity
- Validate Variable Values
- Variable State Validation
- Validate Price and Recurring Price
- Add Item to Shopping Cart
- Order Catalog Item
- Submit Record Producer