The Recording Invoker class provides the functionality to execute dependent and independent Ranorex Recordings.
Use the “StartIndependentRecordings” method to execute your recordings and continue the test even if one of the recordings fails.
For example:
RecordingInvoker.StartIndependentRecordings( Recording_Fail.Start, Recording_Success.Start)Use the “StartDependentRecordings” method to execute your recordings and abort the execution if one of your recordings fails.
For example:
RecordingInvoker.StartDependentRecordings( Recording_Fail.Start, Recording_Success.Start)Attached you will find a sample project and the RecordingInvoker class.
Regards,
Peter
Ranorex Support Team