Forum Discussion

hxiao's avatar
hxiao
Occasional Contributor
9 years ago

Can launch edge using Browsers.Item['edge'].run(url) but cannot navigate to url.

test environment: testcomplete 11.20.1491.7, windows 10 pro, scription:python. Have checked the information I can get from internet including http://community.smartbear.com/t5/Functional-Web-Testing/Edge-and-TestComplete-11-11-not-working/td-p/109102 and https://support.smartbear.com/viewarticle/77787/.  

 

when I use code below to get some infomation about each browser by  

for i in range(0,Browsers.Count-1):

browser = Browsers.Item[i]

Log.Message("current browser is "+browser.Description)

browser.run("https://www.google.com")

aqUtils.Delay(2000)

Aliases.browser.BrowserWindow.Close(5000)

 

I got information as below:

 

current browser is Mozilla Firefox ver.44.0.2 (x86)   
Mozilla Firefox was launched.  
current browser is Microsoft Internet Explorer ver.11.0.10586.20 (x86)  
Microsoft Internet Explorer was launched. 11:25:26 Normal 
current browser is Microsoft Internet Explorer ver.11.0.10586.20 (x64)
The browser is already running. 
Cannot obtain the window with the window class 'IEFrame', window caption '*' and index 0. See Additional Information for details. 11:25:48 Normal
current browser is Google Chrome ver.48.0.2564.116 (x86) 
Google Chrome was launched. 

 

it seems IE and Edge have a confliction there.  any idea?   Thanks

 

  • Hi Hxiao,

     

    There were some known issues in TestComplete 10.20 with Edge. They were fixed in TC 10.30. I recommend that you update to the latest product version.

     

     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Hxiao,

     

    There were some known issues in TestComplete 10.20 with Edge. They were fixed in TC 10.30. I recommend that you update to the latest product version.

     

     

    • hxiao's avatar
      hxiao
      Occasional Contributor

      Hi Tanya,

       

      After upgraded to TC 10.30, the issue has gone. 

       

       

      Thanks

      Heather