How to receive expected packet in Scoreboard

In reply to Rsignori92:

I’m able to implement the 2nd approach, writing expected value to file & reading back & comparison. Hence, my scoreboard logic is working for single testcase only

Now got stuck, as I have different testcases & giving different expected value, so how should I take that particular testcase expected value from file.
Is any ifdef/define macros I can use in file or in SCB or any switch kind of mechanism?

TIA