How to get Edge to display popup windows in the same format between Windows 10 and Server 2019?

Feaster, John 20 Reputation points
2024-04-17T15:34:14.61+00:00

We have Win10 on laptops and Server 2019 on servers. On the Win10 machines, Edge will display popup windows with the title of "Message from webpage" and the OK button is a rectangle. Our UFT testing scripts recognize the popup windows.

On Server 2019, Edge displays the same popup windows with a title of "xxxxx.yyy.zzz says" and the OK button is a rounded blue button. the xxxxxx.yyy.zzz is the URL of the webpage. Our UFT testing scripts will not recognize the popup and will hang.

If we use IE on the server, the popup windows will display the same as the Edge windows on Win10 and our scripts work. However, we are not able to use IE due to policy and we have testing to do on pages that only display correctly in Edge.

How can we get Edge to behave exactly the same between Win10 and Server 2019?

thanks

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,135 questions
Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,463 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,630 questions
{count} votes

Accepted answer
  1. ShiJieLi-MSFT 7,471 Reputation points Microsoft Vendor
    2024-04-19T03:48:30.21+00:00

    Hi @Feaster, John,

    Your screenshots actually helped. Here's what we can know:

    1. On Windows 10, your Microsoft Edge is running in IE mode, so the popup window is same as the one on IE.
    2. On Windows Server 2019, your Microsoft Edge is not running in IE mode, so the popup window is the default Edge one.

    Your VBA script can only interact with the old IE popup window (actually it is an alert window), so on Server 2019, you also need to run Edge in IE mode. The easiest way is adding the URL in browser settings.

    But since you are on an automation project, I would suggest you configure the IE mode policies (You may have done it on Windows 10).


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Shijie Li


0 additional answers

Sort by: Most helpful