Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Agent workspace button is not available on the ATF ui action step

Ananya12
Tera Contributor

We want to create an ATF test to validate the contact type on the request which is created through the interaction,

but we are unable to find the 'Create request' button on the ATF Ui action visibility, here create request button is a workspace button.

We are opening the interaction table in the ATF step and unable to find the UI action.

Please help us with this and is there any way to get the workspace button on the interaction table for ATF test purpose or any other way.

 

Thanks in advance.

3 REPLIES 3

boteeuwen
Kilo Sage

This issue occurs because the “Create request” button in Service Operations Workspace (SOW) is not a traditional backend UI Action. Instead, it is configured as a Next Experience UX Declarative Action, specifically a Form Action or Field Action.

Traditional ATF steps, such as “Click a UI Action,” only look at the standard sys_ui_action table and therefore cannot detect workspace specific Declarative Actions.

To successfully test this interaction-to-request behavior in ATF, you should use the Workspace ATF steps instead of the standard form steps.


This is explained in more detail in the following ServiceNow article:
https://www.servicenow.com/community/developer-advocate-blog/new-atf-support-for-configurable-worksp...

Hi Boteeuwen,

Thank you for the reply.

we have used configurable workspace test step to open the workspace and after that i tried to open the test page but unable to find the page components.

I want to create an interaction and raise a request using that interaction in the ATF test steps.

Please help me on this.

 

 

Hi Ananya12,
Go to the manual page inspector:

boteeuwen_1-1788352267891.png


Fill in page typ: Custom
Starting page URL: e.g. /now/sow/home


Here you will be redirected to the workspace, and you are able to see all the components in the sidebar just as in de link (video) I provided.