getActivity hangs | ||
2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1.Two test methods 2.When second test is issued the getActivity in the setUp method hangs. 3. What is the expected output? What do you see instead? Expected to get the activity and run the test. What version of the product are you using? On what operating system? Robotium 2.5 Please provide any additional information below.
Oct 12, 2011
#1 slott.ha...@gmail.com
Oct 12, 2011
In cases like this I would recommend you to use the constructor in which you only give the instrumentation object. You first set up solo and then call getActvitiy().
Status: Invalid
Nov 17, 2011
Same problem. What constructor are you referring to? SoloWrapper only has one constructor.
Nov 17, 2011
There are to constructors. You also have Solo solo = new Solo(getInstrumentation()); |
getActivity hangs | ||
2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1.Two test methods 2.When second test is issued the getActivity in the setUp method hangs. 3. What is the expected output? What do you see instead? Expected to get the activity and run the test. What version of the product are you using? On what operating system? Robotium 2.5 Please provide any additional information below.
Oct 12, 2011
I have found a solution to my problem however this might still be an actual issue for you guys to look into. The app that I am testing requires me to login and thus the activity that I have marked as my start activity might redirect me to another activity and I recon that is why it hangs as it gets confused that it is not getting the activity it expects. Changing my start activity solved my problem.
Oct 12, 2011
In cases like this I would recommend you to use the constructor in which you only give the instrumentation object. You first set up solo and then call getActvitiy().
Status: Invalid
Nov 17, 2011
Same problem. What constructor are you referring to? SoloWrapper only has one constructor.
Nov 17, 2011
There are to constructors. You also have Solo solo = new Solo(getInstrumentation()); |