Skip to content

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

Open
@renas

Description

@renas

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions