How to call sn_hr_core_case_creation.do on ATF?

kwilliams
Kilo 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. 

Many thanks 

Krista

10 REPLIES 10

Jesper Hilde
Tera Contributor

Hi

Are there any updates to this in the Paris/Quebec release?

My tests seem to stop at the Search page, where we need to search for the employee. Has this functionality been implemented into ATF on the Paris version?

 

Br,

Jesper

KKrabbenhoft
Tera Guru

@kwilliams I am working on a similar ask. I have a new application that points to sn_hr_case_talent_management. 

I used: Open a Form (SP) after impersonation. 

That step requires the page to be sc_cat_item 

sys_id = the sysid after the form is open in the service portal (at lease that is how I did it) 

I did not set the view or Query Parameters(not mandatory so left it). I have 43 mandatory fields on the new form (I know that is a lot but it is what it is. 

I wanted to use the replay form similar to RITMs but no go. Hoping this helps you get further than I am. 

If anyone has a better Idea let me know. 

@KKrabbenhoftI have experienced the same limitation.
I think your approach is a fine alternative, until it (hopefully) is supported later on. Perhaps in a later release, with the newer Agent Workspace for HR Case Management, fingers crossed.

I tried using the Custom UI test steps, for clicking on a component, but it failed in retrieving, after the Open a new form in HR Agent Workspace view step. I also couldn't get the 'Click Modal Button' to work.

Alternatively, what I have done before, is Open a New Form in the 'Standard' view. After just filling out what is needed in the standard view, I then switch to opening the record in Workspace view. It is not ideal, because some of the test is precisely to test this process in the Case Creation UI Page and the workspace view. It comes a little bit closer, by filling out just the necessary and then switching to the workspace view in subsequent test steps.

SnigdhP77706229
Tera Contributor

How to test case creation search employee search form on ATF because we are not able to find sn_hr_core_case_creation.do on ATF. When i click on open new Form when click on table selection ?

Did you find the solution