This is a migrated thread and some comments may be shown as answers.

Issue: Internet Explorer Cannot Display Webpage During Test Execution

6 Answers 134 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Malcolm
Top achievements
Rank 1
Malcolm asked on 23 Nov 2011, 12:45 PM
Hello Telerik Team,

Firstly, I apologise if there are other problems similar to this one that I've missed when browsing through the support forums, I've tried looking through several solutions on here myself to fix this problem before I actually created a thread myself. I also fired off a support ticket yesterday (ID: 485751) to try and fix this issue.

OS: Windows 7 (x64)
Telerik Test Studio v2011.2.1117.0 (Standalone Edition)
License Type: Trial.

I'm new to Telerik and am basically learning the ropes using the Trial License, but I'll try and be as thorough with information as I can. 
The issue I am having is running an automated test in Internet Explorer that connects to a Silverlight system over https://. The test itself simply navigates to the URL which should take you to a log-in page which enters the relevant details and then logs into the system which is designed in Silverlight.

At first, the test worked perfectly from recording to playback through Internet Explorer and the automation did exactly what it was asked to do; log into the system. But, when I then tried introducing a test to perform various options in the Silverlight system, executing the test resulted in "Internet Explorer cannot display the webpage". I re-created the test several times, and each time that you requested it to perform a task with a Silverlight control, the same issue would occur. I re-recorded the test multiple times and each time the same error occurred.

The test simply does the following:
- Navigate to target URL.
- Click OverridelinkLink - (Security Certification problem - no trusted certificate so simply clicks link to continue)
- Click OverridelinkLink - (Have to click this link again to proceed).
- Enter username in username textbox.
- Press Tab to move to password textbox.
- Enter password in password textbox.
- Click SignIn button and wait for 6000ms for Silverlight stuff to load.

A very basic test. This works fine until you either EnableSilverlight in the Project Properties, Use the Silverlight Out-Of-Browser options to configure the test to run against a Silverlight application (where the application path and recording host is specified - WebURL and Internet Explorer respectively) or attempt to make an action within the Silverlight application once it has logged in.

I configured Internet Explorer following the steps listed here (http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/configure-your-browser/internet-explorer.aspx), which unfortunately didn't make any difference as well as doing standard tasks such as uninstalling the studio and reinstalling to see if that made any difference. You can access the URL perfectly using IE outside of Test Studio and you can also access the URL when executing the test in FireFox or Chrome, it's simply in Internet Explorer that there is an issue, seemingly.  Naturally, being unable to get past the first simple step in the automated test causes all the other steps to fail because the test cannot actually get to the URL to perform any of the other steps and I'm forced to simply Abort the test or just wait for it to end itself.

I have no idea whatsoever at the moment as to what the exact problem is. Hope the information I provided isn't too vague, I can provide more if needed to (logs, screenshots where necessary, etc). Pretty stumped at the moment and hoping you guys are able to find a solution. Essentially, we're using the trial as a proof of concept against other software automation tools to see which is the most effective for our needs, so a quick solution to this problem would be ideal!

Thanks and hope to hear back from you guys soon!

6 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 28 Nov 2011, 05:14 PM
Hello Malcolm,
in order to get you up and running with Test Studio I believe the best course of action is to go into a GoToMeeting. I would like to get another engineer, Cody, involved in the meeting as well. I've went ahead and sent you a meeting request for tomorrow. Please go ahead and update the time if necessary. Keep in mind, however, that I'm in Sofia, Bulgaria which is UTC +2:00 and Cody is in Austin, TX which is UTC -6:00.

Kind regards,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 1
answered on 27 Dec 2011, 09:10 PM
Was there a resolution to this? I am having a similar issue on playback with TestStudio Plugin.
0
Cody
Telerik team
answered on 27 Dec 2011, 09:24 PM
Hi,

Are you using Silverlight and HTTPS? If so, please register our certificate and try the test again.

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 1
answered on 27 Dec 2011, 11:44 PM
That worked. Thanks, Cody!
0
John
Top achievements
Rank 1
answered on 05 Jan 2012, 08:57 PM
This worked to solve the error message:
"Internet Explorer has blocked the content of this page due to certificate issues"

It was driving me nuts as I had followed all of the steps for configuring IE, turning off the pop-up blocker, adding everything I could find to Trusted Sites and reducing all security to the lowest level.

Might want to put adding the cert to the IE configuration steps.
0
Cody
Telerik team
answered on 06 Jan 2012, 06:08 AM
Hi,

That is a good suggestion. Thank you. We'll work on that.

Greetings,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Malcolm
Top achievements
Rank 1
Answers by
Stoich
Telerik team
David
Top achievements
Rank 1
Cody
Telerik team
John
Top achievements
Rank 1
Share this question
or