sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22550
Re: [Question #240153]: validations for a dynamically genrating tickets
Question #240153 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240153
Status: Open => Answered
RaiMan proposed the following answer:
-- get PNR number (as a string)
... either by using OCR (Region.text()
... or by simulating a ctrl-a, ctrl-c and get the number from the clipboard with Env.getClipboard()
-- write to EXCEL sheet
... depends on wether it has to be written into an existing sheet or can be a newly created sheet.
To do it programmatically we have the modules xlrd and xlwt (see faq
2208)
The other way would be to enter the text via paste() in a visually
selected sheet field.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.