ATF(Automated Test Framework) - Execute a Schedule Job

aagman4
Tera Contributor

Hi,

 

I am trying to execute a schedule job in ATF through below Test Steps -

1. Record Query on table - Scheduled Job [sysauto]

2. Open an existing record in table - Scheduled Script Execution [sysauto_script]

3. Click a UI Action 'Execute Now' in table - Scheduled Job [sysauto]

 

but this ATF Test is failing with error 'FAILURE: Failed to find UI action 'Execute Now' on 'sysauto' form'.

 

Let me know if someone came across this error while building ATF Tests or someone have idea about this error.

Thanks!

2 REPLIES 2

abhi159
Kilo Sage

@aagman4 in 2nd step open an existing record use scheduled job table sysauto the record is in sysauto table.

 

Please mark this response as correct or helpful if it assisted you with your question.

Ankur Bawiskar
Tera Patron
Tera Patron

@aagman4 

are you opening the correct record?

share the steps screenshots.

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