← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295379]: Sikuli Can't Click Image and Ask to Run the SikuliX Stuff as Admin

 

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

Nael Abd Aljawad gave more information on the question:
The java code:


import java.security.SecureRandom;

import org.sikuli.script.App;
import org.sikuli.script.FindFailed;
import org.sikuli.script.Screen;
import org.testng.Assert;
import org.testng.annotations.Test;

import base.ScreenShotsUtils;

public class PrismBIStudioTest extends BIStudioTest {

        private Screen screen = null;

	@Test
	public void biStudioTest() throws FindFailed, InterruptedException {
		App app = new App("BIStudio.exe");
		app.focus().makeAppEntry();
		screen = new Screen();
		// screen.click(ScreenShotsUtils.biStudioScreenshotsPath +
		// "WelcomeAutoTestCloseButton.PNG");
		Thread.sleep(5000);
		screen.wait(ScreenShotsUtils.biStudioScreenshotsPath + "SheetToolsButtons.PNG", 5);
		screen.click(ScreenShotsUtils.biStudioScreenshotsPath + "DataBrowser.PNG"); /////////////// fails here!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.