← Back to team overview

sikuli-driver team mailing list archive

[Question #190045]: Inserting the current system date into a text field

 

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

Hi,
I'm a novice user of Sikuli so apologies if this is an obvious answer.
I'm using Sikuli to automate testing of an application that has various controls: Combo Boxes, Text Fields etc..
I wish to enter into a particular textfield the current system Date&Time so that it will be a different input each time the application is fired.
I was thinking it might have been something on the lines of : Type("Field", Calander.getInstance().getTime())
However this obviously is not recognised within the Sikuli IDE.
I've also attempted to write the Sikuli Script from within an Eclipse Java environment, however hit stumbling blocks as I'm unsure how to specify particular locations on an image to click once the whole image is found.
For now if the Date&Time input can be resolved within Sikuli please could someone assist me with this. Otherwise maybe assist with the "Target Offset" with the Image within an Eclipse environment....

Thanking you,
Dave

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