The following demonstrates how to serialize RuleSession state, also known as a Test Scenario, to the file system and then subsequently load the RuleSession state back into memory. The persisted file on the file system can be loaded directly in irVerify by selecting File --> Load Test Scenario and selecting the file.
Saving RuleSession State to the File System
// Save RuleSession state
Loading RuleSession State from the File System
// Load RuleSession state