A quick note: Assume.assumeTrue(condition)Assume.assumeTrue(condition) ignores rest of the steps but passes the test. To fail the test, use org.junit.Assert.fail()org.junit.Assert.fail() inside the conditional statement. Works same like Assume.assumeTrue()Assume.assumeTrue() but fails the test.