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
Srinivasan Sekar edited this page Jan 30, 2023
·
3 revisions
Specific test method can be skipped based on platform (AndroidDriver/IOSDriver) when running tests Concurrently on the same OSX Host.
@Test
@SkipIf(platform = "Android")
public void testOnlyForIOS() throws Exception {
Your test steps...
...
//This will run only on iOS devices
}
@Test
@SkipIf(platform = "iOS")
public void testOnlyForAndroid() throws Exception {
Your test steps...
...
//This will run only on Android devices
}