Hi All,
I'm new to this tool . I couldn't able to do pass certain issues , like how to exit the application and how to close robotium once test execution is completed .
i'm currently using solo 4.1 jar and Android 4.0 API .
My issues is : i have three test cases and i want execute them in test suite . However i'm facing a problem as if it is not exit the application , the consecutive test cases are staring with the previous state of test script .
For example : i'm testing Gmail application
Test case 1 --->>> Launch the application and Login and Logout the application
Test case 2--->>> Launch the application and Login and send a mail and Log out the application .
Test case 3--->>>> Launch the application and Login and check the a mail and Log out the application .
solo.finishOpenedActivities(); is also used in each test case tear down () as well.
When i run theses three test cases in Junit test suit .
test case 1 executes and complete till log out as we have written script but it is not exit the application , the test case 2 is execution starts from Log-in screen instead of Launching freshly .
Even if test case 1 fails due to some issue at after Log-in then test case 2 is starting from that screen because of this test case 2 is also Fails .
Could some one help , how to resolve this issue ... ???
How to exit the application , once test script is completed and how to launch freshly for every test script in test suit ???
I hope there are good Pro's in this blog and i will get help.... Please help me pro's :)
Regards,
Kishore