Not able perform anything if i use IP address in my url.

60 views
Skip to first unread message

DIBS

unread,
Oct 21, 2011, 4:47:08 AM10/21/11
to webdriver
Hi All, I am struggling with a strange issue.

My whole test scripts work fine if i pass my base url as the m/c name
eg-: http://zfm64plp:8080/enovia/emxLogin.jsp
zfm64plp is the m/c name where my app server is running.

but if i changed it to http://10.89.194.139:8080/enovia/emxLogin.jsp
-: the whole scripts nothing is working. and It only happens with
IE8 , I tested with IE9 , works fine over there.
We digged a little and found that if there is a dot (.) in the url
then selenium is not able to perform any operation on that. but
surprisingly it opens the login page. after that i am getting the
error.

anybody have came across of this issue , Please help.

System Details -: Win XP / IE8 , Selenium 2.8

Thanks

Binken

unread,
Oct 21, 2011, 5:17:23 AM10/21/11
to webd...@googlegroups.com
You should set your proxy first

DIBS

unread,
Oct 21, 2011, 6:33:22 AM10/21/11
to webdriver
Thanks Binken, Could you help me to set proxy for IE8?? am not very
sure about this.

darrell

unread,
Oct 21, 2011, 11:22:04 AM10/21/11
to webdriver
I wonder if it is a security setting in IE8 which is causing the
problem. If IE8 is looking for a name which matches a user certificate
and you give the IP address, it fails. A quick test would be to edit C:
\Windows\system32\drivers\etc\hosts and add the line:

10.89.194.139 fake.website.com

then try going to:

http://fake.website.com:8080/enovia/emxLogin.jsp

If this fail to work, similar to using the IP address. Then it is
probably a setting in IE8 which expects a specific host name in the
URL.


On Oct 21, 4:47 am, DIBS <dibyaranjan....@gmail.com> wrote:
> Hi All, I am struggling with a strange issue.
>
> My whole test scripts work fine if i pass my base url as the m/c name
> eg-:http://zfm64plp:8080/enovia/emxLogin.jsp
> zfm64plp is the m/c name where my app server is running.
>
> but if i changed it tohttp://10.89.194.139:8080/enovia/emxLogin.jsp

DIBS

unread,
Oct 21, 2011, 1:09:50 PM10/21/11
to webdriver
Darrell, I wonder how come it opens up the login page in this case and
then fails to identify the elements after that....Its really not with
the ip address. But i will check this first up.

Thanks

DIBS

unread,
Oct 24, 2011, 1:50:12 AM10/24/11
to webdriver
Darrel, i tried the suggestion, but no luck. But 1 interesting fact is
-:

in my host file i added -: 10.89.194.139 fakewebsite ---->
This worked fine.
again i modified to -:
10.89.194.139 fake.website.com ------> This failed as it was
previously. I am very much sure, its something to do with Selenium and
IE8 combination they fail when there is a . in the url. Noone else has
come up with this case!!

Thanks
Reply all
Reply to author
Forward
0 new messages