A/B test for PopUp. Is it possible?

Hi,

I would like to test my popups by A/B testing. Can I do that? If yes, how?

Thank you!