Unable to interrogate the Message box in the Edge browser

Hi

Unable to interrogate the Message box in the Edge browser. I need to capture the text in the pop-up window.

@AkhilS234I am going to have to check on this. I don’t know of a way without using a little C# to read these dialogs. You can certainly dismiss them using the DialogDismissal component, but it does not have any means to read the contents.

I will update this post if I find a better way than using some C#, although using UIAutomation will certainly work.

@ThomasSasnett Hi Thomas,

I need to read the text available in the message dialog box. BC while submitting the data an click save if any validations got failed BOT needs to throw the error message in order to do that we need to grab the text available in the message dialog box.

@AkhilS234I was mistaken earlier. I have confirmed that you should be able to interrogate these sine 22.1.22. I can interrogate these in Chrome, but I did get an error in Edge. What build of 22.1 are you using?

https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/supported-technologies/automate-dialogs.html

@ThomasSasnett It appears a fix for this will be made in an upcoming release of 22.1. Please check the build notes to see when it is released.

https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/release-build-notes/build-notes-pra-221.html

@ThomasSasnett The latest version has been released and has a fix for this.