Needs to automate ATF for Creation of HR case from sn_hr_core_case_creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 12:29 AM
Hi,
I am using Automated Test Framework to create tests for HR.
The 'Open a New Form' Test Step points to a table, and i can select sn_hr_core_case - this creates a Core case.
However, now we use the newer Create new case option - sn_hr_core_case_creation.do - whereby search for employee, and once Employee is selected, the Employee information and Case Details appear, whereby the COE and HR Service are selected and we can then Create Case.
I'd like ATF to call sn_hr_core_case_creation.do and be able to set up tests starting from the Case Creation page.
Thanks in advance
Gokul Raj M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 02:49 AM
that is a case creation page and is an UI page.
You will have to open that UI page and then use Custom UI steps to select the fields there
Remember using custom UI step doesn't always guarantee you will find those components.
Even if you find those, no guarantee that it will work later as it uses HTML elements on page.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 07:01 AM
@iztgokul - If you have any category where this HR Case creation is available then Use Custom UI Step i.e. Click Component (Custom UI) which will navigate you to the desired form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 07:21 AM
that's what I informed, it's not a normal form but a UI page
Did you check my earlier response?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader