Access "Manage Attachments" in Knowledge Article via ATF

Kevin Lübben
Tera Contributor

Hello everyone,

I am currently building a test scenario in ATF which should reflect a user experience. So far I have not been able to open the ‘Manage Attachments’ window to remove an existing attachment. I have already tried various test steps (Click Custom UI, etc.), but nothing has been successful.

Does anyone have a tip for me?

 

br
Kevin

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Kevin Lübben 

if you are not able to click it using Custom UI steps then you cannot test this scenario using ATF.

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

View solution in original post

4 REPLIES 4

Chidanand_VK
Tera Expert

Hi @Kevin Lübben ,

Try to remove it from the backend, by deleting the Attachment record which was created when an Attachment is attached to the record.

Follow the below steps:

1.Add'Record Query' step with below inputs.

Table = sys_attachment

Conditions: Table sys ID = {Test step where the KA record is created}

2.Add 'Record Delete' step with below inputs.

Table = sys_attachment

Record = {Test step where the Record Query is created at 1}
 
If my answer helped you in any way, please mark it as helpful or correct.
 
Regards,
Chidanand Kalmani

Ankur Bawiskar
Tera Patron
Tera Patron

@Kevin Lübben 

if you are not able to click it using Custom UI steps then you cannot test this scenario using ATF.

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

@Kevin Lübben 

Hope you are doing good.

Did my reply answer your question?

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

@Kevin Lübben 

Thank you for marking my response as helpful.

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