Hello,
I am new here and would like to see if anyone could help me.
I am trying to make my first RPA. The goal of the RPA is to select several different categories from a combo box one at a time. The program I am trying to automate is the system we use at our glass fabrication plant. What I need to do is go into a window called "inventory cycle count", click the "Add" button and then select a glass thickness from a dropdown/combo box and save the list it generates so I can then print all of the generated files.
I have got Power Automate Desktop to launch the app, move to the Inventory tab, push the cycle counts button, push the "add button and select the glass type. It will then save the generated file.
I simply copied and pasted the current working code and changed the glass type it is to select. This worked for a few of the selected types but then would say "click failed" on one of the choices. For example, it may select and generate 2.5 mm glass, 3.2 mm glass, and then fail on 4 mm glass. The next time I test it may fail on 5mm glass instead. The error would say click failed (failed to get UI element) or click failed (click failed).
I thought this may be because I had all of them just in the main flow so I divided each glass type into its own flow and then called the subflows. The result was the same.
When looking online I found things saying that it may be caused by the window moving, but the window stays in place and it just repeatedly selects the dropdown list and selects the list item, and then clicks ok.
Does this make sense? Why does it work for some and not select others? The other issue since I divided it into subflows is that once it fails it will sometimes generate the lists for all the possible items in the dropdown. Even ones that I did not write directions for.
Any help would be greatly appreciated.
Thanks,
Vrishchik