Maybe write out your registration id to a spreadsheet between test runs and then read the registration id back in from that spreadsheet.