Internet Explorer crashes unexpectedly on test case exectn

Ask general questions here.
michael_esi
Posts: 10
Joined: Mon Nov 05, 2012 10:27 am

Internet Explorer crashes unexpectedly on test case exectn

Post by michael_esi » Fri Nov 23, 2012 6:39 am

Internet Explorer crashes unexpectedly on test case exectn

Hi,

I am facing problems while running my test suite on IE 8 , and I am automating a silverlight application using windowlessfalse mode.

On running test suite, internet explorer crashes unexpectedly. I see it happen randomly. Out of 10 times I run my test suite it happens 4 times.
Capture12.PNG
ie crash dialog box
Capture12.PNG (27.56 KiB) Viewed 2458 times

this is what i see in event viewer
Untitled.png
Event Log
Untitled.png (22.91 KiB) Viewed 2458 times
and finally ie gets redirected to
Capture1.PNG
Redirect URL
Capture1.PNG (50 KiB) Viewed 2458 times
Could you please help me out with the issue ?
I am using ranorex version 3.3.3

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by Support Team » Fri Nov 23, 2012 12:02 pm

Hi,

You are using IE 8 right?
Could you disable the Ranorex plugin in your Internet Explorer (Ranorex.Plugin.TridentIpc.RanorexAddon) for test purposes and check if the IE still crashes?
Which .Net version is installed on your machine?
Does IE also crash if you manually perform the same steps?
Please also update to 3.3.4, which is the current version.

Regards,
Markus
.
Image

michael_esi
Posts: 10
Joined: Mon Nov 05, 2012 10:27 am

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by michael_esi » Mon Nov 26, 2012 7:58 am

IE works fine when I manually perform those steps. It happens in automated scenario only.
I did an upgrade to IE 9 to check if it is a broswer issue, but still the issue exist.
Disabled ranorex addon , upgraded to ranorex 3.3.4 still IE crashed randomly.
.Net version 4.0 is installed in my machine.

On further investigation I found that, the issue was happening frequently, in few recording modules , where recording was having actions to open a dialog by double clicking an item in telerik rad grid view control.
In my application telerik controls are almost used, everywhere.
IE crashes frequently on these recording modules. Interestingly Test case executes successfully without any issue, when I run these recordings individually.

Any idea why this happens ?
I would really appreciate , If you could help ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by Support Team » Mon Nov 26, 2012 1:27 pm

Hello,

Could you please add a validation step to ensure that the dialog is visible?
Please add the Validation(Exists) action prior to the Click action.

Could you please post a Snapshot of your whole application?
Please take a look at section Creating Ranorex Snapshot Files in our User Guide.

Regards,
Markus (T)
.
Image

michael_esi
Posts: 10
Joined: Mon Nov 05, 2012 10:27 am

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by michael_esi » Mon Dec 03, 2012 11:21 am

Hi,

I cant post the snapshot of my application, as it is confidential. Any other workaround's for this issue ?

thanks..

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by Support Team » Mon Dec 03, 2012 2:45 pm

Hello,

Problems with the file 'npctrl.dll' indicates an issue with Silverlight or the registry.

Please try to install Silverlight 5 in order to fix issues related to older versions.
Please take a look at this article. You could try to fix this issue with WiseFixer (Download from CNET).

Regards,
Markus (T)
.
Image

michael_esi
Posts: 10
Joined: Mon Nov 05, 2012 10:27 am

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by michael_esi » Thu Dec 06, 2012 9:58 am

Hi ,


I installed silverlight 5, to check if the issue is due to older version. IE crashed again after I did Silverlight update .
Below is the event log after I did a Silverlight update.
toranorex.PNG
Event Log After SilverLight Update
toranorex.PNG (23.67 KiB) Viewed 2341 times
Im running Ranorex 3.3.4 , using IE9, .Net Version4, Windows7 OS running on 64 bit system.
Any other steps to resolve this issue ?

Thanks...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by Support Team » Thu Dec 06, 2012 11:39 am

Hello,

Unfortunately, we could not reproduce this issue.
We would need a sample application that produces this behavior in order to analyze this issue.

Regards,
Markus (T)
.
Image

michael_esi
Posts: 10
Joined: Mon Nov 05, 2012 10:27 am

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by michael_esi » Tue Dec 11, 2012 1:02 pm

Hi,

I use 64 bit system to run and record test cases. Have you had any scenario where IE crashed on 64 bit systems while test case execution ?

Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Internet Explorer crashes unexpectedly on test case exectn

Post by Support Team » Tue Dec 11, 2012 5:25 pm

Hello,

I have not found the same specific error behavior but you could try to reinstall .NET Framework.

Is it possible to run your test on a different machine?
This would help to analyze this issue.

Regards,
Markus (T)
.
Image