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.
_condition causes very hard to find errors
function foo(){
_log( "Javascript error because of condition in one line comment \"}\"" , "info" );
// _condition( _title() == "b:flexx PM - Aktuelle Aktivität" )
}
foo();
/* After removing "_" before "condition" in the comment and there is no JavaScript error anymore */
/* By the way: if I use the word "_condition" instead of "condition" in the String of the log-Message above, the log command won't be executed */
/*Version of Sahi: Build : 2010-11-03*/
/* Google Chrome (9.0.597.84) */
Comments
Thanks for pointing this out. This is a bug in our parser. We will be fixing this in a future release.
Regards,
Narayan