Internet Explorer Script Error An error has occurred in the script on this page.

722 views
Skip to first unread message

Velu

unread,
Jul 12, 2010, 5:12:56 AM7/12/10
to Selenium Users
My Test setup consists of several Java test cases running in IE7
using
Selenium RC.

During my test runs, the following IE Script error popup comes
randomly. Upon trying to dismiss this popup by clicking Yes, the test
run hangs and I have to kill the entire run.

I have tried disabling popup blocker and the MDM service but without
luck.

Any pointers to what causes these errors and how to go about avoiding
them??

Internet Explorer Script Error
An error has occurred in the script on this page.

Line: 860
Char: 5
Error: The remote procedure call failed.
Code: 0
URL: file:///:/DOCUME~1/NIRMAL~1/LOCALS~1/Temp/customProfileDir50ac3eced98e4d799873892f5c313c87/core/RemoteRunner.hta

Do you want to continue running scripts on this page?
Yes No

Raja sankar

unread,
Jul 12, 2010, 7:05:46 AM7/12/10
to seleniu...@googlegroups.com
You need to disable the popup in the internet options in IE. Go to Advanced tab check the Disable script debugging both IE and other.

Rajasankar





--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Vajravelu vajju

unread,
Jul 12, 2010, 10:46:25 AM7/12/10
to seleniu...@googlegroups.com
Hi Raj,

I tried as per your suggestions, still i am facing same issue.
Any other reasons....

Regards
Velu

qualityworld

unread,
Jul 12, 2010, 3:43:31 PM7/12/10
to Selenium Users
Add your test site to run in IE compatibility mode. This might work.

You can also try single window / multi window mode and using iexplore
proxy. This also might work.

On Jul 12, 2:12 am, Velu <ksv...@gmail.com> wrote:
> My Test setup consists of several Java test cases running in IE7
> using
> Selenium RC.
>
> During my test runs, the following IE Script error popup comes
> randomly. Upon trying to dismiss this popup by clicking Yes, the test
> run hangs and I have to kill the entire run.
>
> I have tried disabling popup blocker and the MDM service but without
> luck.
>
> Any pointers to what causes these errors and how to go about avoiding
> them??
>
> Internet Explorer Script Error
> An error has occurred in the script on this page.
>
> Line: 860
> Char: 5
> Error: The remote procedure call failed.
> Code: 0
> URL: file:///:/DOCUME~1/NIRMAL~1/LOCALS~1/Temp/customProfileDir50ac3eced98e4d799­873892f5c313c87/core/RemoteRunner.hta

Raja sankar

unread,
Jul 12, 2010, 10:25:58 PM7/12/10
to seleniu...@googlegroups.com
Where you face the script error , in IE window or RC window?

If you post some screen shots that will show more info.

Rajasankar

Vajravelu vajju

unread,
Jul 13, 2010, 1:06:15 AM7/13/10
to seleniu...@googlegroups.com
Hi,

I have attached the screenshot for your reference. My code works fine for IE 6.0 with out any issues, but when i try to execute same code in IE7 and IE8 i am getting this error. Please help me to come out from this issue.


my CODE
package Selenium;
import com.thoughtworks.selenium.*;
public class test1 extends SeleneseTestCase 
{
public void setUp() throws Exception
{
setUp( "http://www.google.co.in" , "iexplore" );
}
public void testNew() throws Exception {
selenium.open( "/" );
selenium.type( "q" , "selenium rc" );
selenium.click( "btnG" );
selenium.waitForPageToLoad( "30000" );
assertTrue(selenium.isTextPresent( "Results * for selenium rc *" ));
selenium.wait();
}
}

Regards
Velu
Error.JPG

Raja sankar

unread,
Jul 14, 2010, 12:31:35 AM7/14/10
to seleniu...@googlegroups.com
AFAIK, remote procedure call is not IE specific one. The following steps will throw more light on this issue.

1. If possible, try running the same setup in different windows machine and check for the error messages.
2. Start the RPC service in the services.
3. Run the diags using WMIDiags for the windows then check for the same.

Rajasankar

Lars Vonk

unread,
Jul 15, 2010, 5:53:01 AM7/15/10
to Selenium Users
Hi,

I had the same issue. In my case it was caused by the fact that my
application generated a popup which was blocked by IE6 popupblocker.
After disabling the popup blocker the error went away.

Hope this helps.

Regards, Lars
> > On Tue, Jul 13, 2010 at 7:55 AM, Raja sankar <errajasankarc...@gmail.com>wrote:
>
> >> Where you face the script error , in IE window or RC window?
>
> >> If you post some screen shots that will show more info.
>
> >> Rajasankar
>
> >> On Mon, Jul 12, 2010 at 8:16 PM, Vajravelu vajju <ksv...@gmail.com>wrote:
>
> >>> Hi Raj,
>
> >>> I tried as per your suggestions, still i am facing same issue.
> >>> Any other reasons....
>
> >>> Regards
> >>> Velu
>
> >>> On Mon, Jul 12, 2010 at 4:35 PM, Raja sankar <errajasankarc...@gmail.com
> >>>>> selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go oglegroups.com>
> >>>>> .
> >>>>> For more options, visit this group at
> >>>>>http://groups.google.com/group/selenium-users?hl=en.
>
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Selenium Users" group.
> >>>> To post to this group, send email to seleniu...@googlegroups.com.
> >>>> To unsubscribe from this group, send email to
> >>>> selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go oglegroups.com>
> >>>> .
> >>>> For more options, visit this group at
> >>>>http://groups.google.com/group/selenium-users?hl=en.
>
> >>>  --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Selenium Users" group.
> >>> To post to this group, send email to seleniu...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go oglegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/selenium-users?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Selenium Users" group.
> >> To post to this group, send email to seleniu...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go oglegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/selenium-users?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Selenium Users" group.
> > To post to this group, send email to seleniu...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go oglegroups.com>
> > .

sandeep kota

unread,
Jul 15, 2010, 7:03:25 AM7/15/10
to seleniu...@googlegroups.com
may be try running your testcase using proxy injection mode

setUp( "http://www.google.co.in" , "iexplore" );


Change iexplore to iehta and run it again...


HTH,

Sandeep

To unsubscribe from this group, send email to selenium-user...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.




--
Cheers,
Sandeep

Nirmal

unread,
Jul 15, 2010, 1:32:33 PM7/15/10
to Selenium Users
proxy injection does not work unless you start the RC server with -pi
option

Regards,
Nirmal
> Cheers,
> Sandeep
Reply all
Reply to author
Forward
0 new messages