← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #287511]: Date input

 

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

Description changed to:
I am testin an application which has a date field which is formatted
automatically when you type something like 10101990 ,the field will
become 10/10/1990.  when the date field is empty, it looks like this
__/__/____.

I tried following code:

Pattern image3 = new Pattern(".\\image\\dob.png");

m_screen.wait(image3, 2.0);
		
m_screen.click(image3);
m_screen.type(image3, "10101990")

or

m_screen.click(image3);
m_screen.type(image3, "10/10/1990")

or

m_screen.click(image3);
m_screen.paste(image3, "10101990")

I can see the cursor was at the beginning of the textbox, but after
typing or pasting, the date field looks like __/__/1010.

The application is adobe flash player.

Any idea?

Thanks

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