Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

ATF run ui test script find service catalog elements

ThiagoCast
Tera Contributor

Hi,
I'm using ATF's UI Test step (screen / user / sn_atf) client-side script API) to test a Record Producer field on a Service Portal / Employee Center catalog item. The field is a Select Box whose options are populated asynchronously via a Catalog Client Script. 

 

What I'm trying to do:

  1. Click the field to open the dropdown
  2. Wait for the options to finish loading (the API call is slow, several seconds)
  3. Read/verify the populated options
  4. Select one

screen.debug won't work for me to get the elements. So need some help if anybody faced the same issue. 

Thanks. 

0 REPLIES 0