ATF: How to make 'Order Catalog Item' succesful if 'Order Now' button is renamed ?

Miguel Perez1
Kilo Contributor

Hello guys,

I'm having an issue with the ATF, the catalog items that we are using in our company have a 'Submit' button instead of the default 'Order now' button, so this is causing my ATF tests to fail with a 'Order now button not found' error. I've read about configuring 'Custom Test Steps' for this, but I'm not sure of how to do this because the custom test steps are only Server-Side, and I'm interested in submitting the catalog item, which is a UI function (according to the Order Catalog Item step configuration). 

Have you experienced this before ? Please give me a solution.

Thanks!

Note: We are using Jakarta.

1 ACCEPTED SOLUTION

No NaME
Mega Guru

Some application code shipped with the ServiceNow system requires special protection. When an application file has a Read-only protection policy, nobody can modify the related record.

Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot make any changes without changing the policy designation first.

You can try raising one on HI portal and see if it works

View solution in original post

3 REPLIES 3

No NaME
Mega Guru

Hi Are you using this test step 

https://yourservicenow instance name .service-now.com/nav_to.do?uri=sys_atf_step_config.do?sys_id=c930b4b2c310320076173b0ac3d3aeec

Miguel Perez1
Kilo Contributor

Hi Munish, yes I'm using that step, but it says 'This item is read-only based on its protection policy.' so I can't edit it for point to the 'Submit' button instead of the 'Order now' button.

No NaME
Mega Guru

Some application code shipped with the ServiceNow system requires special protection. When an application file has a Read-only protection policy, nobody can modify the related record.

Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot make any changes without changing the policy designation first.

You can try raising one on HI portal and see if it works