New question #175280 on Sikuli:
https://answers.launchpad.net/sikuli/+question/175280

I´m testing an app that appears some "popup´s", how can i do to click on the 
"ok" button, in that popup? i´m writing in java + sikuli! thanks a lot.

Here are the code that i´m using:

public static void main(String[] args) throws InterruptedException, 
AWTException{
                Screen s = new Screen();
                Robot Keyboard = new Robot();
                try {
                        
                        String myPath = 
("C:\\SmartClientValidacao\\SmartClient.exe");
                        App.open (myPath);
                        s.wait("image-login/TOTVSParimet.png");
                        Screen first = new Screen();
                        first.click("Ok.png", 0);
                        Thread.sleep(10);
                        s.wait("image-login/Sejabemvindo-1.png");

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to