Enable to add attachment to form (SP) and submit record producer (SP) via ATF

Harika Bandaru
Kilo Contributor

I have a record producer and am trying to automate using Automated test framework (ATF). From HR portal when I open the HR form and fill the variables I have attachment field mandatory When am trying to add attachment using "Add attachment to form(SP) am not able to do that am getting "invalid form" and for another case when am trying to submit record producer(SP) ( open record producer, variable state validation, set variable values, submit record producer) am not able to submit it. Can someone help me with test steps please

5 REPLIES 5

Brian Lancaster
Tera Sage

If the attachment is a variable I do not think ATF support that yet. As for the record producer I found after upgrading to Rome there was a client side error that was causing the test to fail. If you go into the test results for that test there is a related link that will allow you to ignore it completely or just show it as a warning.

find_real_file.png

@Brian Lancaster  thanks for the suggestion but am not getting "Add all client errors " options in related links . Do you have any suggestion for that?

 

I have few other record producers for which attachment is not mandatory. In that case am not able to submit the record. Do you have any suggestion for this?

Steps followed to submit record

 ( Impersonate, open record producer, variable state validation, set variable values, submit record producer)

When you looked for the related links was it when you went to test results? Also are you using Submit Record Producer (sp)? What is the system saying is the cause for the frailer.

@Brian Lancaster Yes, I have looked into related links from test results even then I don't see them.

Even after enabling property to capture screenshots I don't see any error nor screenshot taken by ATF for why is it failed. Is it an expected behavior that ATF doesn't capture failure/passed screenshot for record producer?

 

find_real_file.png