Code Examples

jfry edited this page Sep 13, 2010 · 2 revisions

Add code that executes on hitting an exception, in any of your tests

For example, the following snippet captures a transaction_id within the application under test, whenever the script errors out.

This code takes advantage of python’s with syntax

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.