find the upper and left image in multiple images
I have the example script:
####
https:/
####
I have to find all the images in the list, and if the number of images found is greater than a quantity, click on the image that matches those of the list, and it is in the row above, and further to the left .
####
https:/
####
I have managed to count the images, but I can't think of how to identify which one is the top left.
Thank you very much in advance for any ideas on how to do it.
####
Settings.image = {}
Settings.image[1] = "1600962830107.png"
Settings.image[2] = "1600962841115.png"
Settings.image[3] = "1600962862135.png"
Settings.image[4] = "1600962873853.png"
def cantidadImagen(
cantidad = 0
if exists(imagen):
for i in findAll(imagen):
return cantidad
def clickUpperLeftI
#i don't know how
for i in range(1,5,1):
total = cantidadImagen(
popup(str(total))
if total > 5:
clickUpperLe
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: