robotium Questions

2

Solved

I thought the tearDown() is supposed to run after each test, but what I see from logs is that it is started just after setUp() method. Can you guys clarify? public class LaunchManagerActivityTest ...
Stanislas asked 11/2, 2013 at 9:36

1

Solved

I use Robotium Framework for Android testing purpose and manually take component_id or index id or else part of Widgets from Hierarchy Viewer to put value at runtime for testing purpose. Is there ...
Fanfare asked 6/11, 2012 at 4:26

2

Solved

It seems to me that robotium was designed in a way to test 1 Activity at a time instead of the whole application. So my question is how do I test an activity that expects an extra to be passed to ...
Deweese asked 1/12, 2011 at 0:50

2

Solved

one way to start testcase is, adb shell am instrument -w com.google.vishal.test/android.test.InstrumentationTestRunner i want to start this using Android code (with intent) for example, adb...

0

I want to setup integration testing for an Android app and I wonder what is better for this: Robotium or recently introduced uiautomator. I had previous experience using Robotium and this fr...
Clishmaclaver asked 20/12, 2012 at 11:40

5

I found a tool for Instrumentation Testing called Robotium.It is easy and simple for black box testing of android applications. We can use it as follows: solo.clickOnText("Other"); solo.clickOnB...
Mita asked 22/2, 2010 at 16:33

2

I have a TabHostActivity that has 4 tabs (and 4 corresponding Activities). When in the test I click on one of them("Search") the SearchActivity should appear (and it actually does). The problem is ...
Cubature asked 20/10, 2011 at 14:6

2

Solved

this my code for drag up current screen. int screenWidth = getActivity().getWindowManager().getDefaultDisplay().getWidth(); int screenHeight = getActivity().getWindowManager().getDefaultDisplay()....
Boardinghouse asked 27/9, 2012 at 5:49

2

Other than splitting up my Robotium tests into multiple projects and/or suites and running them among multiple emulators all by hand, is there a tool or technique to do this automatically within Ec...
Snowflake asked 23/7, 2012 at 15:30

2

Solved

I am new to Robotium. I have created an alert dialog box using dialog builder and called it using the show command. I was able to trigger the 'ok' button by default using Robotium and I am not able...
Bunkmate asked 27/4, 2012 at 23:37

1

Solved

I have an application that launches an activity right after a call ends. I would like to write an automatic test that makes sure that: it actually launches if some other activity pops up after my...
Toscanini asked 12/5, 2012 at 10:33

1

Solved

I want to write a Robotium/Junit test for an android app. At certain steps, I want my test to wait until the spinning loading symbol disappears off the screen. How can I do that?
Hexachord asked 23/2, 2012 at 12:41

1

Solved

i have been trying to get a screenshot lately but every thing in vain the folders are created in android emulator with api level 8. i have mentioned the code below. In the this code Method takeScr...
Zanazander asked 26/9, 2011 at 2:44

2

I am very new to Android and am writing some basic Android tests using Robotium and this fails with exception as "android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread th...
Twiddle asked 5/11, 2011 at 1:13

1

i have a main activity and when tap on the button in the main activity it moves to the another activity than runs on another process .. is there a chance to track/get that activity using robotium /...
Trove asked 5/8, 2011 at 6:24

2

Solved

I am trying to run android instrumentation Junit test using command line.I am using following command and it is launching the test right. adb shell am instrument -w com.android.foo/android.test.In...
Northumberland asked 25/10, 2011 at 23:42

2

Solved

in robotium testing, is it possible to set a wait time between clicks? For example, I have 2 buttons(A & B). I want robotium to click on button A and then 20 seconds later click on button B.
Coranto asked 26/8, 2011 at 22:49

© 2022 - 2024 — McMap. All rights reserved.