← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #202219]: Android+windows xp

 

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

    Status: Answered => Open

Bikash Kumar Mohanty is still having a problem:
Hi RaiMan,

I am using mouse wheel to scroll the screen.I have added the screen shot
also.
Here is my Java code:-

                        s.click("imagsQVGA/1342510823072.png", 0);

 Thread.sleep(40000);
s.click("imagsQVGA/Allow.png", 0);

Thread.sleep(2000);
s.click("imagsQVGA/Allow.png", 0); // Click on MyAccount
Thread.sleep(5000);
After this screen i want to click on the mvarrnunr.png image that is
located in another screen,but below the screen.if the screen  will not
scroll , the image  will not find and cannot be clicked.
 //app.window().mouseMove(app.window().getCenter());
Thread.sleep(5000);
s.click("imagsQVGA/mvarrnunr.png", 0);

thanks
Bikash



On Tue, Jul 17, 2012 at 4:55 PM, RaiMan <
question202219@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Your question #202219 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/202219
>
>     Status: Open => Answered
>
> RaiMan proposed the following answer:
> Since I do not know, what you are programming where, I only told you
> where in Sikuli Java API you can find the mouseXXX methods.
>
> If you are running a script in Windows environment and acting on the
> emulator window, you have to simulate the actions, that you have to do
> with the mouse manually inside the emu window.
>
> So if this is your use case, you have to give focus to the emu window
> and then issue the appropriate mouseXXX comands or try to use wheel().
>
> If you tell me exactly, how you scroll manually in the emulator window,
> might be, that I can help you with some coding suggestions.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/202219/+confirm?answer_id=13
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/202219
>
> You received this question notification because you asked the question.
>


-- 
Thanks & Regards,

Bikash Mohanty
Software Engineer
Photon Infotech

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