Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity is not closed/finished when an sudden popup or alert displayed at the end of testcase. Pls suggest #255

Open
renas opened this issue Aug 19, 2015 · 2 comments

Comments

@renas
Copy link
Contributor

renas commented Aug 19, 2015

From [email protected] on October 20, 2011 05:28:43

What steps will reproduce the problem? 1.Activity is not closed/finished when an sudden popup or alert displayed at the end of testcase.
2. While navigating between screens through robotium testcase, at times it clicks device hardware back key without any reason. This causes scripts to stop in between.
3. Also i've no where used solo.goBack() methods in my tests. What is the expected output? What do you see instead? activity should be closed and it should come out of the application What version of the product are you using? On what operating system? Robotium 2.5, Win 7 Please provide any additional information below. Below is my tearDown method:

public void tearDown() throws Exception {
try {
solo.finalize();
} catch (Throwable e) {
e.printStackTrace();
}
getActivity().finish();
super.tearDown();

}

Original issue: http://code.google.com/p/robotium/issues/detail?id=176

@renas
Copy link
Contributor Author

renas commented Aug 19, 2015

From [email protected] on October 20, 2011 06:18:17

Thanks for this issue. Which version of Android are you running?

@renas
Copy link
Contributor Author

renas commented Aug 19, 2015

From [email protected] on October 21, 2011 03:34:54

AVD(Emulator) Details:

Target Name - Android 2.1-update1
Platform - 2.1-update1
API Level - 7

Motorola Droid(Handset) Details:

Android OS Version - 2.2.1

Let us know your feedback on this. If this issue is resolved; that would help us to save our time a lot. Because of this; we end up with re-running the suites again.

Also this occurs on both handset and emulator. Pls. let us know your resolution on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant