Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Needs to automate ATF for Creation of HR case from sn_hr_core_case_creation

iztgokul
Tera Contributor

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

8 REPLIES 8

Hi Ankur,
I have checked that. But still, I can't be able to use the custom UI

 

@iztgokul 

I already informed custom UI step cannot be guaranteed.

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

@iztgokul 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Sardash
Giga Guru

@iztgokul  - Are you creating a case via portal or native UI?

Also please use below steps

1.  Open a new form - add table required

2. Set field values - which will set the field values

3. Submit a form or Click a UI action step to submit HR case