Hello Everyone.
I have a flow that opens Excel, populates data automatically in a table and then goes to a second Excel tab, where a graph is there from the data, and I want it to then take a screenshot of the graph.
I use the Take screenshot of UI element action for this. I click the chart area of the graph and then save it to a file.
The issue is that the flow never seems to take the screenshot and just fails with the error 'failed to take screenshot of UI element'.
I can see the element on the screen as I type this thread.
I went in to the UI settings of the captured UI element (Local Computer > Window 'Data - Excel' > Image 3) and investigated the selector. When I tested it it selects the correct Excel chart area, as expected.
I even put in a 60 second delay to slow everything down during this process - can anyone give me tips on how to get the screenshot to actually be taken?
I did manage to get it working once, but the screenshot was just black, even though the UI element was clearly visible on the screen.
Many thanks.