Detect Platform During Testing

Is their a way to detect the platform that tests are running on with UI Test? I know it passed into the constructor for test fixtures but I need to know the platform prior to any tests running so I can execute some platform specific set-up code.

Regards,

Ben

Tagged:
Sign In or Register to comment.