&&assertSuccessCount

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Action:

Returns a count of the number of times that the result of an assert macro command is a Success (since the beginning of the execution of the macro that contains the assert).

Syntax:

&&assertSuccessCount 

The "assert" functions (also including &&assertFailureCount and &&assertStatus) are particularly useful if you are using the assert command to automate your code testing, letting you keep track of the successes and failures of the assertions.

To clear the count at any time (other than by default when the Client is started/restarted or when a new macro is invoked), you can use the resetAssertCounts command.

Introduced: Build 50