question

lugsv avatar image
lugsv asked ericnute converted comment to answer

Error attempting to open connection to external browser

I obtain an error during web session execution and my test fail. I'm using Internet Explorer 7.0.5730.13 as External Browser. Error attempting to open connection to external browser: [Ljava.lang.String;@103362c My iTest version is 4.1.1 build 56627, running on Win XP Srv Pack 3. ![alt text][1] [1]: /storage/attachments/263-ExternalBrowserError.JPG
iTesterror messagewebui
6 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sreekanth avatar image sreekanth commented ·

Can you attach screenshot of error message.

 

Working fine for me in my system,sorry for the inconvenience.

0 Likes 0 ·
lugsv avatar image lugsv commented ·

Sure,

 

below the screenshot

 

Best Regards.

 

 

0 Likes 0 ·
sreekanth avatar image sreekanth lugsv commented ·

Can you give IE path in session profile more properties.Do you have any "firewalls" set up on your machine?

0 Likes 0 ·
lugsv avatar image lugsv sreekanth commented ·

IE Path: C:\Program Files\Internet Explorer\iexplore.exe

 

There isn't firewall installed on that machine.

 

If i try to launch IE Path followed by a URL from the Prompt of the DOS it works.

0 Likes 0 ·
sandeepreddynv avatar image sandeepreddynv ♦ lugsv commented ·

Can you change the path of the external browser in iTest  with your IE path and try to run the test case again.

 

Also please change the iTest preferences path too. Windows>> Prefernces>> General >> Webbrowser.

 

Here is the screen shot for your referecne.

 

 

0 Likes 0 ·
Web.JPG (176.1 KiB)
sandeepreddynv avatar image sandeepreddynv ♦ sandeepreddynv ♦ commented ·

Sorry,

 

you need to give the path as:

 

C:/programfiles/Internet Explorer/iexplorer.exe

 

Please use the (/) instead of backword slash(\).

 

Hope it helps!

 

 

0 Likes 0 ·
msandeep avatar image
msandeep answered ericnute converted comment to answer

Hi Nathan,

 

This issue might be causing due to the iTestBHO class has not registered with IE browser. Below are the steps to install iTestBHO plug-in manually.

1. Close all instances of iTest and IE.
2. Open command prompt and cd to the path of "<iTest installation directory>\plugins\com.fnfr.svt.applications.web.resources_4.1.4.61122\IEExtension.
3. Then run the following command:

regsvr32 /s iTestExtension.dll

4. Then launch IE manually.  Go to Tools->Manage Add ons -> Enable/Disable addons.
5. Make sure you see an entry  called "iTestBHO" in the enabled section.

Now try to start the web session and verify the base url is redirecting to the external browser or not.

 

Please be posted how it goes!!

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nbower3 avatar image nbower3 commented ·

That worked!

The address is being passed into the IE window now.

Thanks for your help!

Nathan 

0 Likes 0 ·
msandeep avatar image msandeep nbower3 commented ·

welcome..:smileyhappy:

0 Likes 0 ·
lugsv avatar image
lugsv answered ericnute converted comment to answer

Thanks for all your replies.

 

I've solved this issue with IE 7 reinstallation.

 

But now when I open a web session IE is not able to load the passed URL. It returns an empty page and the web session remains "opening" all the time..

 

Best Regards.

3 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

msandeep avatar image msandeep commented ·

Please check whether "Java Scripting" is in enable mode in your internet browser. Find the attached document for your reference.

 

 

0 Likes 0 ·
lugsv avatar image lugsv msandeep commented ·

Java scripting was enable :( but thanks for your reply. I don't understand what's happened! I hate Windows!!

 

Best Regards

0 Likes 0 ·
nbower3 avatar image nbower3 lugsv commented ·

Hi

Do you ever solve the issue with passing the URL?.

I have the same issue where the browser window opens, but the URL field says 'blank' despite the itest window in the background showing the correct base URL

Many Thanks

Nathan 

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.