You dont have to extend your MainActitiy, you write and deply an second Activity which basicly runs the test using the Solo class.
Am Samstag, 4. Mai 2013 06:11:51 UTC+2 schrieb Felix Thomas:--I am able to execute the test cases from my eclipse and it works fine. But when i try to do the same from a maven project i get run time error that my activity is not found. I have added the app jar as my dependencies etc. in my pom.xml . Still I am unable to understand why it says Activity not found during run time because in compile time its compiles perfectly. I am using the android maven plugin version 3.1.1 .Hello,
Just a Note , My MainActivity extends com.actionbarsherlock.app.SherlockActivity Is it causing the issue? I am not sure.Can anyone help , what could be the issue. I am using Robotium 4.1 ,Maven 3.0.5, JDK 1.6+.
regards,Felix T
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotium-develo...@googlegroups.com.
To post to this group, send email to robotium-...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotium-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
hello jens,I am not sure i understood your comment. Basically My Hierarchy of the Activity is like this SpecificActivity->BasicActivity->SherlockActivity.In my solo test case I am using SpecificActivity class only. I dont know how I can exclude the other hierarchy in my code since its not under my control.regards,Felix T
On Sat, May 4, 2013 at 7:30 PM, Jens Hohl <jens...@googlemail.com> wrote:
You dont have to extend your MainActitiy, you write and deply an second Activity which basicly runs the test using the Solo class.
Am Samstag, 4. Mai 2013 06:11:51 UTC+2 schrieb Felix Thomas:
--I am able to execute the test cases from my eclipse and it works fine. But when i try to do the same from a maven project i get run time error that my activity is not found. I have added the app jar as my dependencies etc. in my pom.xml . Still I am unable to understand why it says Activity not found during run time because in compile time its compiles perfectly. I am using the android maven plugin version 3.1.1 .Hello,
Just a Note , My MainActivity extends com.actionbarsherlock.app.SherlockActivity Is it causing the issue? I am not sure.Can anyone help , what could be the issue. I am using Robotium 4.1 ,Maven 3.0.5, JDK 1.6+.
regards,Felix T
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotium-developers+unsub...@googlegroups.com.