Forum Discussion
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.
- nishaa1238 years agoContributor
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.
- tristaanogre8 years agoEsteemed Contributor
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 usingBrowsers.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.- nishaa1238 years agoContributor
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")
Related Content
Recent Discussions
- 16 hours agomarkos