Sauce Labs Product Announcements

New
xcuitest
espresso
real devices
May 24, 2023

Stop an Automated Espresso/XCUITest Session for Real Devices

To ensure that you have more control over your automated Espresso/XCUITest sessions on Real Devices, we are excited to offer you the option to stop long-running/blocked sessions. This feature gives you the option to free up your minutes/public device concurrency/private device and can be done in three ways:

  • Through the Stop Job API (for more information see Stop A Job). See the image "Stop Job API".

  • Through the "Automated > Test Results" overview page. You will find the "Stop session" button when the device is in a "Running" state. See the image "Stop an Espresso/XCUITest session from the Test Results page".

  • Through the Test Details page. See the image "Stop an Espresso/XCUITest from the Test Details page".

The end status of the job will be set to "Errored" and the Test Details page will hold a banner with more information, see the image "End Status".

Happy Testing!


Stop Job API (link)

Image #1

Stop an Espresso/XCUITest session from the Test Results page:

Image #2

Stop an Espresso/XCUITest from the Test Details page:

Image #3

End Status:

Image #4

Thanks for your feedback
We are ⚡by Beamer