How to create an HR Case using ATF in HR Agent Workspace?

iztgokul
Tera Contributor

Hi everyone,

I'm trying to automate a test case using Automated Test Framework (ATF) in HR Agent Workspace. The scenario involves impersonating an HR Agent, navigating to HR Agent Workspace, and creating an HR Case with specific values (service, category, description, etc.).

However, I couldn't find options like "Open Workspace" or "Open URL" that work with the HR Agent Workspace view in ATF. I want the case creation to happen specifically within the Workspace interface, not through the classic UI or GlideRecord.

Is it currently possible to automate HR Agent Workspace actions using ATF? Or are there any workarounds or supported approaches for Workspace-based testing?

Any guidance or best practices would be appreciated!

Thanks in advance.

1 ACCEPTED SOLUTION

J Siva
Tera Sage

Hi @iztgokul 
Use "Open a New Form" test step and select the HR Agent Workspace as a form UI.

JSiva_0-1752215327281.png

 

Regards,
Siva

 

View solution in original post

7 REPLIES 7

Hi @iztgokul I think yes, we can.

kumaar
Tera Contributor

Can we add task to the same case ?

Ankur Bawiskar
Tera Patron
Tera Patron

@iztgokul 

are you planning to use ATF for the "Case Creation" page which opens up from left navigation?

please share some screenshots.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader