How to open Incident from Case using ATF

mmonisha311
Kilo Contributor

I am creating an ATF test where:

  • A user submits a Record Producer
  • A Case is created
  • An Incident is automatically created and linked to the Case
  • An agent opens the Case and then opens the linked Incident
  • The agent clicks Assign to me

I can submit the Record Producer and open the Case.

However, I am not able to open the Incident record from the Case.
Which ATF step should be used next to open the Incident record from the Case?
2 REPLIES 2

shivakumarpatil
Tera Expert

Hi @mmonisha311 ,

Please refer below,

  • Use "Apply Filter to List" as the next test step.

    • Set List Type = Related List
    • Table = Case
    • Related List = Case >> Incident
    • In List Filter Condition, set Case to the output of the Submit Record Producer step.
  • Then use "Open a Record in a List" to open the Incident record using the filtered related list output.

    Please mark this response as Helpful & Accept it as solution if it assisted you with your question.

Sardash
Tera Guru

@mmonisha311 - 

You can use 'Validate Record Present in List' Test Step to validate if the record is actually created. Then use 'Open an existing record' step to open the record. Check below screenshot for reference

Sardash_0-1776430917757.png

----------------------------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."