18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
how to turn on/off asserts
Hi all,
Win7, FF8.0, Sahi V3 Release 2011-07-19
Is there a way to turn on/off asserts?
Turning off asserts would speed up the less interesting parts, i.e. when correcting a test of a ui flow.
mr.user1
Win7, FF8.0, Sahi V3 Release 2011-07-19
Is there a way to turn on/off asserts?
Turning off asserts would speed up the less interesting parts, i.e. when correcting a test of a ui flow.
mr.user1
Comments
The assertion is used for the business logic purpose. If you want to check if the username exists before inserting an username then assertions is used.
This is necessary when correcting a test of a ui flow.
Regards
Sumitra
It seems I was too concise. Let me explain it better.
Imagine you have a suite for checking the ui flow. Each step of the ui flow is addressed by a separate sahi script, each having many asserts. Now, one of the steps has been radically changed. Of course you want to update/correct the sahi scripts of that step. After you correct it, you run the suite. It is slow.., checking all those asserts. Finally, we are at the step we got to correct. It turns out that the correction is not good enough, so you change it again. Then, you run the suite again. It is slow...
It was not slow, if it were not for the many asserts.
So this is what I meant by turning on/off the asserts. I would turn them off for the sahi scripts in the suite that are not under development.
Greetings,
mr. user1