What ATF step to set variable values for 'Business Justification' free text field after 'Order a Catalog Item'?

Sean41
Kilo Contributor

Hey all,

I am encountering an issue when attempting to create an ATF test for the creation of a Catalog Item being initiated from our Service Portal.

The process is to open the form via our Service Portal, complete the form, then order it.

After clicking the 'Order Now' button a pop-up appears titled 'Order Confirmation' and has a mandatory free text field titled 'Business Justification'. After entering any text into the business justification free text field, the next action is to click the 'Checkout' button which will close the pop-up and display the Request Summary.

Is anyone aware of any ootb test step to perform this action of entering the text into the business justification free text field and progressing the process via the 'Checkout' button?

Attached a few screenshots for reference.

8 REPLIES 8

Brian Lancaster
Tera Sage

Have you tried these?

find_real_file.png

Hi Brian,

Thanks so much for your reply mate. So there are two answers to this which are yes and no 😉

I did attempt both these options but anything with 'Custom UI' it requires a 'Retrieve Page Components' step to gather the page components.

First of all, this 'Retrieve Page Components' (see attachment) function typically requires the process to run end-to-end to be able to capture all of the page components from all of the pages in the workflow (not sure if it captures components from the 'Order Confirmation' pop-up) but because I am searching for the ATF test steps to progress my automated test past that 'Order Confirmation' pop-up and the 'Retrieve Page Components' is not able to get that far in the workflow, no components are captured for the 'Order Confirmation' pop-up.

So I did attempt a couple of the Custom UI steps but as they cannot really be setup properly due to the above issue, I did not use them, hence the yes and no answer.

I really appreciate you replying and if you have any ideas about how I might progress this 'Retrieve Page Components' step and/or any alternatives to the 'Custom UI' options then please keep helping?

Maybe, it will require some custom development? I am looking into using the 'Page Inspector' to asses the 'Order Confirmation' pop-up but I am still unsure of how that will translate to a ootb ATF test step outside of the 'Custom UI' section?

Sean41
Kilo Contributor

Hi Brian,

Further to my previous reply, it looks as though the Service Catalog is not supported by Custom UI steps. Grrrr. (see attachment)

Thoughts?

So frustrating 😞

Kindest regards, Sean

For me when I use the Oder a Catalog Item (SP) it shows the pop-up and also clicks the submit. Sounds like you have a field that is not out of the box. I'm not sure there is a way to test this.

Just an FYI... you should just past screenshots in the body of the response instead of adding them as attachments. My company blocks us from downloading screenshots.