IE problem on Windows Server 2012 r2

25 posts, 0 answers
  1. Gail
    Gail avatar
    9 posts
    Member since:
    Mar 2014

    Posted 09 Apr 2014 Link to this post

    I have a Testing Framework app using IE11 that runs fine on my Windows 7 desktop.  I installed it on Windows Server 2012 r2, and it starts the IE browser, but instead of doing a NavigateTo to my website, it stays stuck on the about:blank page.

    I am using the latest version of ArtofTest.WebAii.dll.  I also turned off IE Enhanced Security Configuration and performed all of the IE configuration steps.  I am logged in as an administrator on the server.

    I tried re-compiling the app with Chrome as the browser.  I performed the Chrome configuration steps.  The app runs!  (At least until it gets to a popup page).  The fact that it runs in Chrome shows me that I am able to use the Testing Framework on the server.

    But the website I am testing is only certified for IE, and I must get the app running using IE.

    I would appreciate any suggestions.

    Thanks
  2. Gail
    Gail avatar
    9 posts
    Member since:
    Mar 2014

    Posted 11 Apr 2014 Link to this post

    Well, I solved it.  Even though I am only using the Testing Framework, and that is all I have installed on my desktop, I had to install the trial download of Test Studio on the server to get my app to run there.  Why is that true only for IE browser apps?  (Remember, I could run in Chrome with just the Testing Framework.)  What will happen when my trial download expires?
  3. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 14 Apr 2014 Link to this post

    Hi Gail,

    I installed it on Windows Server 2012 r2, and it starts the IE browser...

    What exactly did you install on this other machine? Was it only your application, or Test Studio or our testing framework? I wonder if our FAQ "I want to just copy the Test Studio DLL's to a new machine instead of running the installer." applies to your case?

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  4. Gail
    Gail avatar
    9 posts
    Member since:
    Mar 2014

    Posted 15 Apr 2014 Link to this post

    I'm sorry that wasn't clear.  I downloaded and installed the Testing Framework on the Windows Server, but that was insufficient for running my app using Internet Explorer, although I could use Chrome.  I had to install the Test Studio trial on the Windows Server before my app would run using IE.
  5. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 16 Apr 2014 Link to this post

    Hello Gail,

    Thank you for the clarification. i would like to try and reproduce this problem. Would it be possible to get a copy of your executable so I can install it on my machine and try to reproduce your symptoms? Once I have reproduce it I can investigate what the root cause is.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  6. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 23 Apr 2014 Link to this post

    HI Cody,

    I am also facing the same issue.

    I am using TestingFramework_2013_2_1327. I can able to run my tests on Windows 7 and Windows 8 with IE 11, but the same test is not running on Windows 2012 R2 with IE 11, but the same test was running with Chrome and Firefox on Windows 2012 R2. 

    The test able to open an IE 11 browser, but it is not navigate to the web site.







  7. Gail
    Gail avatar
    9 posts
    Member since:
    Mar 2014

    Posted 23 Apr 2014 Link to this post

    Hi Ganga,

    Are you willing to try downloading and installing the trial version of Test Studio on your server?  When I did that, suddenly my Testing Framework program ran correctly.

    I have opened a support ticket on this issue:  http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=809098
  8. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 23 Apr 2014 in reply to Gail Link to this post

    Thanks for the suggestion. I can try it as a workaround, but it won't resolve the problem once is it expired.
  9. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 27 Apr 2014 in reply to Ganga Link to this post

    Hi Gail,

    I don't have access to your support ticket. Did you receive any update from the support?

    Thanks
    Ganga S
  10. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 28 Apr 2014 Link to this post

    Hello Ganga,

    We're still working with Gail to try and resolve her problem. We asked her to try one more experiment and get back to us.

    I worked with another customer with a similar problem. I discovered they were using two different builds of Test Studio on two different machines and that was the cause of their problem. Once we got all machines using the same build everything worked as expected.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  11. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 28 Apr 2014 in reply to Cody Link to this post

    Hi Cody,

    I really appreciate your response.

    I am using  TestingFramework_2013_2_1327 on both machine (Windows 8 and Windows 12) . Please let me know,  If you need any further investigation from my side.


    Cheers,
    Ganga S
  12. Gail
    Gail avatar
    9 posts
    Member since:
    Mar 2014

    Posted 29 Apr 2014 Link to this post

    At Telerik Support's request, I  uninstalled Test Studio and re-installed Testing Framework.  My executable that runs the tests worked perfectly.  I did not have the original problem of the browser stopping on the about:blank screen.  I am grateful that it works, but I wonder if installing the Test Studio trial set a registry key that remained set after uninstall, so that when I went back to a Testing Framework only setup, it worked.

    This is the full sequence of events:
    1.) Installed Testing Framework on my Windows 7 desktop and configured IE 11.
    2.) Created a C# program that called Testing Framework methods, and ran my tests successfully in IE 11 on my desktop.
    3.) Installed Testing Framework (same version) on my Windows Server 2012 r2 machine and configured IE 11.
    4.) Ran the C# program on the server and it consistently got stuck on the "about:blank" page in IE 11.
    5.) Installed a trial of Test Studio Ultimate on my Windows Server 2012 r2 machine.
    6.) Ran the C# program on the server and it now worked perfectly, running all my tests.
    7.) Uninstalled Test Studio Ultimate from my server and rebooted.
    8.) Re-installed Testing Framework (same version as before) on my server.
    9.) Ran the C# program on the server and it still works perfectly, running all my tests.

    Thanks
  13. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 29 Apr 2014 Link to this post

    Hello Ganga,

    Another possibility is Windows permissions level. To executes tests using IE requires that whatever you're using as a test runner must be running with Administrator level permissions. With that in mind it brings up the question: how are you running your tests? Are you running them in Visual Studio? NUnit? Your own home build executable? Make sure whatever the test runner is is running at Administrator level. If using Visual Studio make sure you start Visual Studio as Administrator.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  14. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 29 Apr 2014 in reply to Gail Link to this post

    Thanks Gail for the steps.

    It is working for me, after I followed the same steps.

    Cheers,
    Ganga S
  15. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 29 Apr 2014 in reply to Cody Link to this post

    Hi Cody,

    Thanks for the support. 

    I am using a own C# build executable. It is running as a administrator on all three (Windows 7, Windows 8 and Windows 2012) environment.

    I can able to navigate to the web site on Windows 7 and Windows 8, but not in Windows 2012.

    Regards, 
    Ganga S
  16. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 05 May 2014 Link to this post

    Hi Ganga,

    I want to make sure I understand what the problem is, your current status and what you did. If I follow everything correctly:
    1. Your executable, which was make using the Teleik Testing Framework, would work fine on Windows 7, Windows 8, but not in Windows Server 2012?
    2. After you followed the steps that Gail Rich listed, it's now working in all 3 environments?

    Once you confirm the above, I'll file a bug about this behavior.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  17. Ganga
    Ganga avatar
    37 posts
    Member since:
    Nov 2010

    Posted 05 May 2014 in reply to Cody Link to this post

    Thanks Cody...

    Please see my answer to your query.

    1) Your executable, which was make using the Teleik Testing Framework, would work fine on Windows 7, Windows 8, but not in
    Windows Server 2012?
    [GangaS] Yes 

    2) After you followed the steps that Gail Rich listed, it's now working in all 3 environments?
    [GangaS] Yes

    Regards,
    Ganga S



  18. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 08 May 2014 Link to this post

    Hi Ganga,

    Thanks for confirming. I'm also glad to hear you are now unblocked.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  19. abhishek
    abhishek avatar
    2 posts
    Member since:
    Nov 2010

    Posted 26 Aug 2014 in reply to Gail Link to this post

    Hi Gail,   I has the same issue and i followed your steps and it works perfect.
  20. Andrew
    Andrew avatar
    2 posts
    Member since:
    Oct 2015

    Posted 05 Nov 2015 Link to this post

    I ran into the same issue today and following Gail's steps fixed it for me too.  I guess this bug still hasn't been fixed?!  I am using Testing Framework 2015.3 version 153.10.15.0
  21. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 11 Nov 2015 Link to this post

    Hello Andrew,

    Glad to hear you have fixed the problem.

    The idea of getting this fixed is to have a 100% reproducible workaround which we cannot isolate, so far we haven't been able to proceed. Most probably this is due to specific environment but we cannot figure out what exactly triggers the problem.

    As soon as we are able to have a reliable repro we will applying a fix.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  22. Andrew
    Andrew avatar
    2 posts
    Member since:
    Oct 2015

    Posted 11 Nov 2015 in reply to Ivaylo Link to this post

    Ivaylo,

    I have been able to reproduce this consistently.  It's a very generic test and it basically follows Gail's steps verbatim, so I'm not sure how you have not been able to reproduce this.  I did the test using an Amazon AWS EC2 instance, which you can also use to easily reproduce this problem.  And my C# test project simply opens an IE browser and browses to https://www.google.com/. Here are the exact steps I took:

    1. Launch a new Windows Server 2012 R2 EC2 instance.

    2. Disable IE Enhanced Security Configuration in Server Manager

    3. Install the .NET Framework 3.5 Features from Server Manger Add Roles and Features

    4. Install Telerik Testing Framework 2015.3 using TestingFrameworkFree.2015.3.1015.exe

    5. Install NUnit 2.6.4 using NUnit-2.6.4.msi

    6. Copied my project bin files to the instance and opened the project DLL in nunit-x86.exe.

    7. Ran the test and it timed out.  It opened IE and just sat there on the blank page.  See here for errors shown in NUnit: http://pastebin.com/qjcMDQuq.

    8. Rebooted

    9. Ran the test and it failed again in the same way.

    10. Installed Telerik Test Studio 2015.3 using TestStudio_Ultimate_2015_3_1015_Trial.exe

    11. Ran the test and it worked.  It opened IE and browsed to https://www.google.com/ successfully.

    12. Uninstalled Test Studio 2015.3

    13. Rebooted

    14. Reinstalled Telerik Testing Framework 2015.3 using TestingFrameworkFree.2015.3.1015.exe

    15. Ran the test and it worked again successfully.

  23. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 16 Nov 2015 Link to this post

    Hello Andrew,

    Thank you for the detailed repro step. I will give a try reproducing this behavior. In case I succeed I will update this ticket with the feedback item logged.

    Thank you once again.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  24. Chelsea
    Chelsea avatar
    34 posts
    Member since:
    Nov 2015

    Posted 26 Nov 2015 Link to this post

    Hi,

    I have a similar problem to Gail with the blank screen when running tests from ArtOfTest.Runner.exe on the Command Prompt although, I only have Telerik Test Studio 2015 R3 and not Testing Framework. The tests run normally when executed from Telerik, but not while using ArtOfTest.Runner.exe. Are there any suggestions on how to fix the problem?

  25. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 30 Nov 2015 Link to this post

    Hello Chelsea,

    I am sorry to hear you are experiencing this problem, but it looks like it is not related to what is described here. Please submit a brand new ticket and provide more information including the application log for review.

    Thank you for your cooperation in advance.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top