RobotiumTech/robotium

Unable to execute two testcases (method) in one class of robotium

Opened this issue · 2 comments

Robotium V 5.6.0
API22
Junit 3

.When two method is used in one class it executes first method and second method stops executing,.I have used teardown .

Also does robotium support junit4?

renas commented

Robotium supports junit4. Please see the example test project in the
downloads list. Are you using solo.finishOpenedActivities() in your
teardown?

On Wed, Jul 20, 2016 at 3:11 PM, padmapriyalakshminarayanan <
notifications@github.com> wrote:

Robotium V 5.6.0
API22
Junit 3

.When two method is used in one class it executes first method and second
method is stops executing.I have used teardown .

Also does robotium support junit4?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#842, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGpQPS2AfpnWol0TNllIlqcVAXQhirks5qXcoNgaJpZM4JQfNv
.

Hi renas,

Yes I have used it.actually same code pattern works for another application which has only one base class activity.IN the application which I am trying is web based hybrid app first time it has login screen i am logging it & then it closes the app .After signed in ,then in second method I am trying to view the job in the app,as soon as it finishes the first method it launches the app again and closes immediately.I donot know why this happens ...

Also can u please provide link for writing project in junit 4 because in downloads tab all project has only junit3 script

thanks.