You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
jpeterka edited this page Aug 22, 2013
·
2 revisions
From time to time you need to customize test behaviour based on specific platforms. You can use Utils class providing simple test if you're running expected platform.
Customizing your code based on platform
importorg.eclipse.core.runtime.Platform;
importorg.jboss.reddeer.swt.util;
// now I need to customizeif (Utils.isRunningOS(OS.MACOSX) {
// do osx customized code
} elseif (Utils.isRunningOS(OS.WINDOWS) {
// do windows customized code
} else {
//
}