How to validate SLA's conditions in ATF application?

surjithkumar
Kilo Contributor

Need to perform automated testing for Service Now version upgrade. Could you suggest best solution to validate all our incident sla's through ATF.

1 ACCEPTED SOLUTION

Hi surjith, Looks like you have mapped incident table in record query, could you change it to task_sla and try Mark correct if this has resolved your issue Regards, Venkat

View solution in original post

8 REPLIES 8

Venkatasubraman
Tera Expert

Hi Surjith,

step 1: open form incident

Step 2: set field values (as per your need) , Status -> inprogress

step 3: submit the form

step4 :  record query on task_sla table and give condition as sysID mapping to step 3

step 5: open existing record (task_sla) and record mapping to step 4

step 6: Field values validation and check the stage of the sla (Either inprogress ,breached,paused or completed)

Repeat the same steps to validate the sla for different status depending upon your sla configuration

Please mark correct if it had helped you

Regards,
Venkat

Hi Venkatasubramani,

                       For me Step : 6 is getting failure.could you please help.

This is what i have given in that step.

find_real_file.png

 

find_real_file.png

surjithkumar
Kilo Contributor

Hi Venkat,

During record query i have mapped to incident sys_id it reads the value. However, while querying it gives an error message.

 

find_real_file.png

Hi Surjith,

 

During record query, map the Incident Number with 'Task' field in Task_SLA table. Then you can validate your SLA conditions.

 

Regards,

Kaushik.