Originally posted by troyyerJP on January 19, 2024
Hi ,
I saw this mentioned a few times, but I didnt see any resolution as such. (/t/running-edge-in-ie-mode/694)
Currently I have a Web App under test, that is opened up in Edge using IE mode.
I have tried the TestComplete v15 Edge Plugin as well as the chrome Edge plug in and it does view the element on the Edge Chromium page, when Edge is opened normally. However when I have tried to open the web application in Edge IE mode, at this point TestComplete cannot capture or view any components
Note: I have found a hacky way to get Internet Explorer 11 to open, but unsure how long this hack would work. Using this way the page was viewable by the object spy within the actual IE 11 window (iexplore.exe). however when I then tried to change the browser in the scrpit to Edge and run the test it would then not execute
In my gif you can see the red capture box when the page is loaded in normal edge chromium rendering. Not sure what else you have installed to get yours working.
Can you provide the extension link from your edge instance that ran for your testcomplete.
What is your version of edge that got it to work on your end?
The other thing I notice in your screenshot is the missing right-hand side sidebar so I might try and disable that and redo the check
*Edited to confirm the version of the Edge Extension used per version of TestComplete
Originally posted by troyyerJP on January 21, 2024
Ok on looking at the screenshot you provided of the TestComplete Object Browser it seems like it maps the page as a browserWindow rather than a page
So trying to using the TestRecorder plugin to click and record a test is actually useless in this situation as it will show what was the previous visible Browser Page
Screenshot below shows that I am on the site “The Internet (the-internet.herokuapp.com)” in IE mode yet the Object recorder Spy marks that the Page being viewed is the previously opened page before the Edge Browser opens IE mode
now you can view the elements of the page within the Object but you cannot record a Keyword test or a Script Test. you will have to manually add the object from the Object Browser to your Name Mapping and then script it out accordingly
so a Browser test that would normally go from
browser → page → element
will have to go to the Alias of the shell object viewer which has the view of the page.