Hi,
Please let me confirm the specifications.
Is it possible to press the OK button when a modal dialog or modal window is displayed at the timing of a web system in Power Automate Desktop?
--
Kind Regards,
Toru
Hi Deenuji-san,
Thank you for your reply.
I tried various things this time, but decided that it was not possible to retrieve elements and process them from the dialog of the in-house web system, so I achieved the same thing by pressing OK when the dialog in the action's detailed settings is displayed and retrieving the elements of the items in the html.
Thank you for your advice.
--
Kind Regards,
Toru
Hi @Toru-san
Sure thing!! You may also use JavaScript function to detect the any specific element or dialog and based on the output you can execute the remaining stuffs.
Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀
Hi Deenuji-san,
Thank you for your reply.
I was unable to obtain the modal dialog element with the action you told me about. We are currently continuing our investigation, but in the details of each action, it says that "If a pop-up dialog is displayed" is sometimes clickable and sometimes not, so it seems that the modal dialog can be clicked under certain conditions.
I will continue my investigation a little more.
--
Kind Regards,
Toru
You can also try with below action where you capture your UI element where you want to extract your text(it may also work for popup dialog). Then once you extract the text you can perform your desired operation.
Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀
Hi Deenuji-san,
Thank you for your cooperation again.
I'm sorry if I'm not good at explaining.
This time I'm investigating whether it is possible to check whether a dialog box with no corresponding data appears when clicking the inquiry button.
I was able to obtain the elements of all three of the information you told me about, but I was unable to obtain the content (text).
I was able to click on the dialog box by sending a key, but that did not achieve my original purpose.
I will try to investigate other methods on my own. Thanks.
--
Kind Regards,
Toru
Yes, that is possible. If the popup appears during any populate text action, you can use the default handler.
If that doesn't work, you can first check if the popup appears using the action below:
then you can use "click link on the web page" action.
If nothing works you can also consider "Send keys" action.
Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀