Getting "Internal error Occurred While running the Microsoft Internet Explorer browser" Error.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting "Internal error Occurred While running the Microsoft Internet Explorer browser" Error.
I am getting the error "Internal error Occurred While running the Microsoft Internet Explorer browser" While running below code
Call Browsers.Item("iexplore").Run
Can you tell me the reason?
When i am trying to open the IE manually than i could see on task manager two process together opened.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Double check these settings and try again...
https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/internet-...
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As suggested by @tristaanogre Please check the IE settings.
Also Can you please provide more info. Attach a screenshot of the error what you are getting and also provide the environment details i.e Which OS( 32 or 64 Bit) and IE version.
Also Can you kill all the IE process from task manager and execute the below code and check
Browsers.Item(btIExplorer).Run(<url>)
For your second query please check the link below. Might be of some help.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I did IE setting suggested by tristaanogre
I also tried the code by Sanjay.
I am still getting attached error for launching the IE browser.
I also reinstall my IE.
Note:1) If i manually keep IE browser then i can able to open URL through code.
2)It is working for IE9 but we don't support IE 9
3) I tried the same code for Chrome.The browser launched but URL didn't opened.
Environmental Detail: IE10 , 64 bit OS Windows 7 Professional.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TestComplete is a 32-bit application still. So, technically speaking, when it launches an IE instance, I THINK it launches the 32-bit version.
So, verify when you run your test that the version of IE that is being opened is the 32-bit version.
You can force this using
Browsers.Item(btIExplorer, '', pX86).Run()
One thing, also, that I just noticed...
Run is a method... in the code you put in your OP, you left off the parenthesis after the call to Run. If you do so, you could also get VBScripting errors. Double check your code to make sure you are executing properly.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reply but it didn't work too.
I am using Run correctly as i am putting url inside parenthesis like below.
Browsers.Item(btIExplorer).Run("https://abcd.com")
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you post your full code that contains that line? The error message you posted earlier indicates that the error is happening on line 2, column 1 of your unit. I'm assuming that line of code is that line in the error, but it might be useful to see the fuller context.
Couple of really quick questions... I know they are probably obvious but...
1) The machine you are running this on, is it licensed with the Web module of test complete? The Browers object is part of that module so, if you aren't licensed, this whole thing may be a matter of VBScript reporting that the Browsers object is an unknown object.
2) After you click OK on the error dialog that pops up, I'm assuming Testcomplete stops running the test. Is there any additional information in the test log to give information as to what's going on?
3) You mentioned that it works fine with IE9. Do you happen to have multiple versions of IE installed on your machine? If so, have you tried passing to the Items method the version number you want to run (second parameter)?
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
