cancel
Showing results for 
Search instead for 
Did you mean: 

cannot find Edge browser

SOLVED
kevin_kapell
Frequent Contributor

cannot find Edge browser

After opening the Edge browser TestComplete does appear to see the browser is running.

I use the following code:

 

  Browsers.Item(TestBrowser).Run();
  aqUtils.Delay(5000, "Delayed for browser to appear.");
  var browser = Sys.Browser("*");
  var Page1 = browser.Page("*");

 

When it gets to "var Page1 = browser.Page("*"); " I get the message that "The page '*' was not found."

In the additional Info I get:

The Process("MicrosoftEdge", 2) does not contain Page("*").

 
This works in every other browser.
1 ACCEPTED SOLUTION

Accepted Solutions
kevin_kapell
Frequent Contributor

Re: cannot find Edge browser

I put in a support ticket. Their response was.

 

Hi Kevin,

Thank you for sending the screenshot. According to it, you are using Windows 10 version 1709 (Fall Creators Update). Unfortunately, TestComplete 12.41 doesn't support this version, so it's expected that Edge is not recognized as a browser. 

We are going to release TestComplete 12.42 which will have support for Windows 10 Fall Creators Update. There is no specific release date yet. If everything goes well, we will release TC 12.42 by the end of the month. Stay tuned for updates! 

View solution in original post

4 REPLIES 4
tristaanogre
Community Hero

Re: cannot find Edge browser

Edge is considered to be a Microsoft Store Application.  In order to test such applications, you need to make sure that under Tools | Options | Engines | General the "Enable support for testing Windows Store Applications" is checked.  Note you will need to have administrator rights to your machine to do so and you will need to restart TestComplete.

Additionally, checking that box has the following effects according to the help documentation (https://support.smartbear.com/testcomplete/docs/reference/options/engines/general.html😞


Enable support for testing Windows Store applications (requires restart) - Available only if you run TestComplete under Windows 8 or later. If this option is enabled (by default), TestComplete supports testing of Windows Store applications.

When you change this option, restart TestComplete for the change to come into effect.

Note: With the Windows Store applications support enabled, TestComplete stops supporting several test features you may want to use:
  • Automating TestComplete via COM (to do this, you need to configure your application in a certain manner).

  • Running tests in Connected and Self-Testing Applications (the applications will not be able to connect to TestComplete).

  • You may also experience problems with various tools that launch TestComplete via COM or command line.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
AlexKaras
Community Hero

Re: cannot find Edge browser

Hi,

 

> The Process("MicrosoftEdge", 2) does not contain Page("*").

In addition to what was suggested by Robert, check with Task Manager that you don't have Edge processes that were closed but still continue running.

I have pretty similar case in one of the environments for IE. Don't know if this is because of the given web application or because of something else, but pretty often IE process remains running after the browser was closed. And in this case TC also fails with the message that Page cannot be found for this 'orphaned' process.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
kevin_kapell
Frequent Contributor

Re: cannot find Edge browser

I tried all of this with no change. I put in a support ticket.

kevin_kapell
Frequent Contributor

Re: cannot find Edge browser

I put in a support ticket. Their response was.

 

Hi Kevin,

Thank you for sending the screenshot. According to it, you are using Windows 10 version 1709 (Fall Creators Update). Unfortunately, TestComplete 12.41 doesn't support this version, so it's expected that Edge is not recognized as a browser. 

We are going to release TestComplete 12.42 which will have support for Windows 10 Fall Creators Update. There is no specific release date yet. If everything goes well, we will release TC 12.42 by the end of the month. Stay tuned for updates! 

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors