← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169859]: Availability? Android: using Monkey runner? Mac: Cocoa Accessibility API?

 

Question #169859 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169859

Tsung-Hsiang Chang posted a new comment:
I just updated the android robot http://sikuli.org/dl/android-
robot-0.2.jar, which can be used without MonkeyRunnerStarter now.

Here is a sample Java code:

import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

import org.sikuli.script.android.AndroidScreen;

public class SikuliAndroidTest {
	static AndroidScreen scr;
	
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		scr = new AndroidScreen();
		assertNotNull(scr);
	}

	@Test
	public void testDummy(){
        // use scr as Sikuli Screen to test your android app
	}
}

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.