<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Best practice for error handling in Rapise (Thread)</title><description>&#xD;
What is the best way of taking care of error handling in Rapise? Are there any general examples? &#xD;
&#xD;
</description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/rapise/best-practices/398.aspx</link><item><guid isPermaLink="false">threadId=398</guid><author>Jenny Davidsson (jenny.davidsson@ascom.se)</author><title>Best practice for error handling in Rapise</title><description>&#xD;
What is the best way of taking care of error handling in Rapise? Are there any general examples? &#xD;
&#xD;
</description><pubDate>Tue, 16 Oct 2012 13:41:34 -0400</pubDate><a10:updated>2026-04-21T05:19:12-04:00</a10:updated><link>/Support/Forum/rapise/best-practices/398.aspx</link></item><item><guid isPermaLink="false">messageId=753</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> &#xD;
&#xD;
&#xD;
Hi Jenny  In general you just use the Javascript try { .... } catch (ex) structures.   http:/</title><description> &#xD;
&#xD;
&#xD;
Hi Jenny  In general you just use the Javascript try { .... } catch (ex) structures.   http://www.w3schools.com/js/js_try_catch.asp   Regards  Adam </description><pubDate>Wed, 17 Oct 2012 17:13:14 -0400</pubDate><a10:updated>2012-10-17T17:13:14-04:00</a10:updated><link>/Support/Forum/rapise/best-practices/398.aspx#reply753</link></item><item><guid isPermaLink="false">messageId=7610</guid><author>Emma Martin (emmamartin2133219@gmail.com)</author><title> In Rapise, the most effective way to handle errors is to combine structured checks with proper logg</title><description> In Rapise, the most effective way to handle errors is to combine structured checks with proper logging and recovery logic rather than relying only on global error catching.  A common approach is:   Use Tester.Assert() or Verifier statements to validate expected states  Wrap risky steps in trycatch blocks so the script doesnt stop completely on failure  Add conditional checks (e.g., element exists/visible) before interacting with objects  Log meaningful messages using Tester.Message() to help with debugging  For reusable flows, create helper functions that include built-in error handling   A simple pattern many teams use is: try action  verify result  log failure  optionally continue or stop based on severity.  Also, when sharing test run recordings or demos of error handling flows, tools like  capcut no watermark  are often used to clean up videos so the focus stays on the actual test behavior </description><pubDate>Tue, 21 Apr 2026 05:19:12 -0400</pubDate><a10:updated>2026-04-21T05:19:12-04:00</a10:updated><link>/Support/Forum/rapise/best-practices/398.aspx#reply7610</link></item></channel></rss>