Trying to select date from Calender Icon

Asked by monicar

I have 3 images, Image1 will click on the Calender Icon, Image2 will click on Next Month arrow (>) and Image 3 will select the Date image( In my case Dec 15th).

It is clicking the Calender Icon and Next month. But failing to click on the date.

            screen.hover(calIcon);
            screen.click(calIcon);
            screen.wait(calNextMonth,5);
            screen.hover(calNextMonth);
            screen.click(calNextMonth);
            screen.wait(calExpDate,15);
            screen.hover(calExpDate);
            screen.click(calExpDate);

Please help!

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
monicar (monicar) said :
#1

[image: CalenderIcon.png] Image 1

[image: CalendarNextMonth.png] Image 2

[image: CalendarExpDate.png] Image 3

On Wed, Nov 14, 2018 at 11:47 AM monicar <
<email address hidden>> wrote:

> New question #676153 on Sikuli:
> https://answers.launchpad.net/sikuli/+question/676153
>
> I have 3 images, Image1 will click on the Calender Icon, Image2 will
> click on Next Month arrow (>) and Image 3 will select the Date image( In my
> case Dec 15th).
>
> It is clicking the Calender Icon and Next month. But failing to click on
> the date.
>
> screen.hover(calIcon);
> screen.click(calIcon);
> screen.wait(calNextMonth,5);
> screen.hover(calNextMonth);
> screen.click(calNextMonth);
> screen.wait(calExpDate,15);
> screen.hover(calExpDate);
> screen.click(calExpDate);
>
> Please help!
>
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
masuo (masuo-ohara) said :
#2

Is your issue FindFailed error?
I recommend to use SikuliX IDE to check match objects are there or not on the screen.
Capture image, and click the caputured image, then pattern setting window open.
Select ”matching preview” tab, then you can check match objects on the screen.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.