//After logging in It goes to the profile set up page where I want to assert that particular Hint/Lable is visible or not. Screen shot is attached.
}
How to resolve this issues.
I get this error after running the test case.
junit.framework.AssertionFailedError: expected: but was:
at com.iryd.TestIRYDDeliveryApplication.testIfInTheProfileSetUpScreenAllTheBackgroundTextAreVisible(TestIRYDDeliveryApplication.java:236)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
Here is the testCase which I wrote to assert whether that particular EditText hint/Label is visible or not.
//After logging in It goes to the profile set up page where I want to assert that particular Hint/Lable is visible or not. Screen shot is attached. }
How to resolve this issues.
I get this error after running the test case. junit.framework.AssertionFailedError: expected: but was:
at com.iryd.TestIRYDDeliveryApplication.testIfInTheProfileSetUpScreenAllTheBackgroundTextAreVisible(TestIRYDDeliveryApplication.java:236)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)