ATF Click a UI Action fails

Mar
Kilo Contributor

I'm experiencing errors when run Click a UI Action in a ATF test. I have tried to recreate the step but without success.

Anyone have any idea why i'm getting the following error:

This step failed because the client error 'Error: [$parse:syntax] http://errors.angularjs.org/1.5.11/$parse/syntax?p0=%7B&p1=invalid%20key&p2=2&p3=%7B%7B%3A%3AtrustAsHtml(change.sanitized_new_value)%7D%7D&p4=%7B%3A%3AtrustAsHtml(change.sanitized_new_value)%7D%7D
    at https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:9:426
    at throwError (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:236:200)
    at t.object (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:236:33)
    at t.primary (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:232:151)
    at t.unary (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:231:503)
    at t.multiplicative (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:231:249)
    at t.additive (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:231:76)
    at t.relational (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:230:416)
    at t.equality (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:230:241)
    at t.logicalAND (https://upsqa.service-now.com/scripts/js_includes_ui16_form.jsx?v=12-03-2019_1915&lp=Mon_Jan_13_14_22_18_PST_2020&c=19_479:230:94)' was detected on the page being tested. See failing Test Logs. To ignore these errors in the next test run, use 'Add all client errors to warning/ignored list' links.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Have you opened the form using open existing record step?

Also is that UI action visible to the user with whose session you are running ATF?

Also you can ignore the error by adding it to whitelist error

https://docs.servicenow.com/bundle/newyork-application-development/page/administer/auto-test-framework/reference/whitelisted-client-errors.html

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

I am glad to hear your goal has been achieved.

Saying this, I will appreciate if you close this thread, as answered.

Have a great rest of the day

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

Any update on this?
Can you mark answer as correct, 👍 helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader