I don’t think you can set the Profile programmatically at runtime. Looking at the RunConfiguration documentation, only a get() method is provided, but no set() method.
A similar question is asked here:
I don’t think you can set the Profile programmatically at runtime. Looking at the RunConfiguration documentation, only a get() method is provided, but no set() method.
A similar question is asked here: