Forum Discussion

erivm's avatar
erivm
New Contributor
7 years ago

Can't spy on browser elemetns (url nav, natification bar) on Edge.

Hello,

I'm testing a web application and as part of a few tests I need to be able to automate the download bar/pop up of the browser (See attached image). I get the file name, and save the file in my system. 
I was able to automate the download bar/pop up for Firefox, IE and Chrome.  However, I'm unable to access the download bar for Edge with TestComplete.

is this supported? I already followed the steps on "Preparing Edge for web testing". Is there an extra step i need to follow? For chrome, I had to add a window name under Open Applications -> MSAA. Do I need to do the same for Edge?

Setup:
TestComplete 12.50.4142.7 x64
Microsoft Edge 41.16299.402.0

Image:

 

 

Thanks.

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3
    I was able to automate the download bar/pop up for Firefox, IE and Chrome.  However, I'm unable to access the download bar for Edge with TestComplete.

    What happens when you try?  Screenshots would help us a lot.

    is this supported? I already followed the steps on "Preparing Edge for web testing". Is there an extra step i need to follow? For chrome, I had to add a window name under Open Applications -> MSAA. Do I need to do the same for Edge?

    Did you try adding a window name?  What happened?

     

     

     

     

    • erivm's avatar
      erivm
      New Contributor

      Hi Marsha,

      1. When I try to spy on the download bar, it highlights the entire Page panel. And when I try the navigation bar (url) it highlights the entire browser window. I believe these elements should be children under BrowserWindow(0), but they don't come up:



      2. I don't know what is the window name for Edge. I tried using the value from WndClass (Windows.UI.Core.CoreWindow) but that didnt work. Below are the properties I get for BrowserWindow(0) in the Object Browser:

      Thanks