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

Hi,
I am using Sikuli 1.0.1 on a Windows machine. I have a simple script that tried 
to identify the cell in my application which has a specific date. The results I 
am seeing are very inconsistent - sometimes it does not identify the text. At 
times it even selects the wrong text. I re-ran the test with the same data in 
an excel sheet and the behavior was the same. Are there any tuning parameters 
for text search that might help with this ?

My script:

app = App.focus("Microsoft Excel")
region = App.focusedWindow()
cell = region.find("11/24/15")
doubleClick(cell)

With this script and the data below (in a single column in an excel sheet), it 
was selecting a cell with "11/26/18" a good number of times.

XYZ       4.150  06/10/14
XYZ       4.625  09/08/14
XYZ       5.375  01/30/15
XYZ       5.375  01/30/15
XYZ       5.125  04/10/15
XYZ       5.000  09/15/15
XYZ       3.375  11/24/15
XYZ       6.250  01/15/16
XYZ       5.750  03/15/16
XYZ       2.875  03/16/16
XYZ       4.750  06/14/16
XYZ       5.625  02/27/17
XYZ       5.625  02/27/17
XYZ       1.625  03/20/17
XYZ       6.500  07/31/17
XYZ       1.250  09/26/17
XYZ       5.375  12/05/17
XYZ       5.375  12/05/17
XYZ       1.500  02/19/18
XYZ       5.000  06/04/18
XYZ       4.625  07/15/18
XYZ       8.125  11/26/18
XYZ       8.125  11/26/18
XYZ       5.450  06/10/19
XYZ       4.375  03/16/21
XYZ       4.650  01/20/22

Thanks.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to