Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF How to select submit in Catalog Item (SP)

Marcin Kroszel
Kilo Guru

Hello,

I am already stuck at the beginning of writing my first test in my PDI...

What I want to test with ATF is simple:

  1. Create & Impersonate
  2. Open Catalog Item (SP)
  3. Submit Catalog Item (SP) <-- can't find it
  4. Fill the form
  5. Submit

I can't find ATF which would allow me to execute no 3

Here is the screenshot from UI perspective what I am unable to click

MarcinKroszel_0-1665809329478.png

After clicking the button it re-directs me to the Standard Change form.

The first two steps are easy and execute correctly

MarcinKroszel_0-1665809566061.png

 

I can't find the right ATF step to submit the form

MarcinKroszel_1-1665809413591.png

 

Will appreciate your help

Thanks

 

4 REPLIES 4

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Please use the below step:-

 

Saurav11_0-1665809880567.png

 

Please mark my answer as correct based on Impact.

Hello Saurav,

already tried that and I am getting the following error

MarcinKroszel_0-1665895724043.png

Hello,

 

For me it works completely fine:-

 

In Order a catalog item step check what is the assert type:-

 

Saurav11_0-1665900486317.png

 

Also are there any mandatory field on the catalog item if yes you need to fill them first using the below step:-

 

Saurav11_1-1665900566231.png

 

Please mark answer correct based on Impact.

were you able to find solutions?