Hi,
I have a flow that runs through various links on a web page table. On clicking this link a pop up table appears where data is extracted. Once completed this pop up table needs to be closed each time before moving on to the next link.
The problem is that there is an id number in both the "OK" button and the "X" close button which keeps changing. It's necessary to find this new UI element before clicking on the "OK" or "X" button. These numbers are not necessary sequentially increasing by one and the starting number may not be 1.
I've tried using OCR to find OK and left clicking but this didn't work, I also tried finding the "OK" image and left clicking but this didn't work either.... any ideas please?
The code for the "OK" button is: div[Id="ui-id-1"] > iframe input[Id="okBtn"]
For the "X" button it is:
> body[Class="MainBody"] > div[Class="ui-dialog ui-corner-all ui-widget ui-widget-content ui-front ui-draggable ui-resizable"]:eq(1) > div[Class="ui-dialog-titlebar ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle"] > button[Class="ui-button ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-close"][Type="button"] > span[Class="ui-button-icon ui-icon ui-icon-closethick"]
