Evening All,
Me again. I am stuck at another point in my ongoing flow. I am looking to click an element within a window and then fill it with data. In this instance it is two separate date fields within a window that unfortunately look almost identical. I recorded myself clicking on each section of the data and filling in values manually. I then went back on that recording and switched out my manual key entries with variables so that the dates can be different for each run of the flow. The issue I am having is that the application correctly identifies and fills the first date box (outlined in Red below) with the correct information, what then happens is that when it should move onto the next date field (outlined in green) and fill in the dates there, instead of detecting this element it seems to detect the first field again and overwrite the information it has entered first.
This is the window I am trying to populate with date field 1 in red and date field 2 in green:

Within power automate I can see two images for the elements that have been taken in order to locate the item within the GUI and although it is clear that the image around the main date element is different in each picture (as can be seen below) because I think it is only focusing on the section within the red outline it identifies the first date element on both instances for data input.


I did do an inspect element selection to see if there was anything I could get from the date fields to identify them from each other and they do have unique ID numbers. Now I am not sure if this is an ID that Power Automate has assigned them or an ID number it is somehow getting from the open application, either way I am not sure this would help me though as if this is ID numbers for my particular application on my machine. If I were to run this flow on another machine even with the same application installed it is unlikely to have the same element ID I would assume. Especially as this particular application (MetaTrader 5) is distributed by a number of companies who white label it slightly and I am not sure if in doing so would make it a unique application with unique element ID's.
This is the flow below as it is, maybe I am approaching this sort of task in the wrong way. If someone could shed some light onto a method that may work it would be greatly appreciated.

Kind Regards,
Chris