Issue: Internet Explorer Cannot Display Webpage During Test Execution

7 posts, 0 answers
  1. Malcolm
    Malcolm avatar
    1 posts
    Member since:
    Nov 2011

    Posted 23 Nov 2011 Link to this post

    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!
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 28 Nov 2011 Link to this post

    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
  3. David
    David avatar
    45 posts
    Member since:
    Aug 2010

    Posted 27 Dec 2011 Link to this post

    Was there a resolution to this? I am having a similar issue on playback with TestStudio Plugin.
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 27 Dec 2011 Link to this post

    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
  5. David
    David avatar
    45 posts
    Member since:
    Aug 2010

    Posted 27 Dec 2011 Link to this post

    That worked. Thanks, Cody!
  6. John
    John avatar
    12 posts
    Member since:
    Dec 2011

    Posted 05 Jan 2012 Link to this post

    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.
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 06 Jan 2012 Link to this post

    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
Back to Top