cancel
Showing results for 
Search instead for 
Did you mean: 

TestExecute can NOT launch IExplorer

Highlighted
Contributor

TestExecute can NOT launch IExplorer

Hi  all,

 

Does anyone execute the tests by using IExplorer and TestExecute (11.10.1005.11)? I just wrote one command for testing.

 

  Browsers.Item(btChrome).Run("http://smartbear.com");  //OK (Chrome 45)

  Browsers.Item(btFirefox).Run("http://smartbear.com"); //OK (firefox 40)

  Browsers.Item(btIExplorer).Run("http://smartbear.com"); //failed (IE 11)

 

Does anyone know why it happens? 

 

Regards,

Jie

13 REPLIES 13
Highlighted
Contributor

Re: TestExecute can NOT launch IExplorer

In addition, IE can be lauched using testcomplete.

Highlighted
Regular Contributor

Re: TestExecute can NOT launch IExplorer

I regularly run tests in IE 11 (11.0.9600.18015) with TE 11.10.1005.11 without any problems.

 

Is there an error message shown or some entry in the log?

Highlighted
Contributor

Re: TestExecute can NOT launch IExplorer

In "C:\Users\...\AppData\Local\Temp\tcResults1.mht"

 

we found the following information in the attachment

Highlighted
Contributor

Re: TestExecute can NOT launch IExplorer

IE 11.0.9600.17280IS

TestExecute 11.10.1005.11

Highlighted
Contributor

Re: TestExecute can NOT launch IExplorer

Sorry, I know why. In the task manager, I saw two Iexplorer process.

Highlighted
Regular Contributor

Re: TestExecute can NOT launch IExplorer

the log also said that the browser is already running Smiley Wink

Highlighted
Occasional Contributor

Re: TestExecute can NOT launch IExplorer

We are starting to to add a quick process that makes sures all the browsers are killed on our testexecute machines before the test runs. 

Highlighted
Regular Contributor

Re: TestExecute can NOT launch IExplorer

We have such stuff in our onStartTest-event, like terminating processes of all the browsers.

Highlighted
Contributor

Re: TestExecute can NOT launch IExplorer

We also found this is a practical thing to do. It can be a hassle, though, because you need to (and usually forget to) disable it when you are debugging.

 

Moreover, as a comment to the original question: I have once, some time back, had a browser running (I do not remember whether it was an IE), that was not closed by this procedure. So, in rare cases you may have to open the Task Manager and do you own killing.

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