Forum Discussion

jkrolczy's avatar
jkrolczy
Super Contributor
2 months ago

MS Edge 133.0.3065.92 : Downloads window NOT being recognized by TestComplete 15.72

I've asked the question many times over the years and lately I've just gone along with this being broken.

I've submitted tickets, it gets addressed eventually, but then some other pop-up window breaks.
That pop up issue gets fixed, and the the Downloads is broke again. 


I noticed in my current code, I've just hard-coded coordinates over the past few releases to click on the 'Save As' button for this unrecognized Edge Downloads window.

I noticed lately even that code was broke because the Downloads button layout changed.

It is now as such:


I need to use 'Save As' to control where my file goes and a name change as well and not use automatic download.

I want to throw this question back out to the TestComplete community,
Anyone experiencing this issue?

 

5 Replies

  • Do you have Desktop license? if you do I would assume you can interact with the browser to properly automate these steps.

    I am assuming that you only have the Web license and TestComplete would only be able to interact with the page elements and not the Browser. Having said so, you still have the option to use Keys action https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/onscreen/keys-action-onscreen-object.html for example ^j to open the download.

    Unfortunately there is no shortcut for "Save as".

  • You can interact with that dialog if you enable MSAA in TC Project Settings. This will expose majority of the controls of your browser.

     

  • All,

    I have the TestComplete Pro package
    Desktop/web, etc.

    I have MSAA setup also.

    The above scenario is a 'Print PDF' button is selected which then opens up the
    Download window, where I then need to click on 'Save as', etc...

    I've been a user of TC many years and the the above functionality comes and goes
    with the constant updates from Chrome and Edge.

    I just gave up trying to ask SmartBear to keep up with the changes.
    It would be nice if there were patches supplied from SmartBear when browsers change,
    but again the browsers change so much these days, it would be hard to keep up and waiting for the corrections in the minor releases take time.

    This was more of a check to see if others have this issue too.

    Thanks

     

     

    • eykxas's avatar
      eykxas
      Regular Contributor

      Hi ! 

      As a workaround, you could hardcode the click via coordinates. 

      I did this for Edge : 

      function edgeDownloadOpen(){
         Aliases.browser.dialogTLChargements.Click(105, 140);
      }

       

      • jkrolczy's avatar
        jkrolczy
        Super Contributor

        In my original post, that is what I am doing currently.
        Using coordinates.
        Thanks