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.
24 Answers, 1 is accepted
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?
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.
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.
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
I don't have access to your support ticket. Did you receive any update from the support?
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.
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.
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.
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.
It is working for me, after I followed the same steps.
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.
I want to make sure I understand what the problem is, your current status and what you did. If I follow everything correctly:
- Your executable, which was make using the Teleik Testing Framework, would work fine on Windows 7, Windows 8, but not in Windows Server 2012?
- 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,
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?
2) After you followed the steps that Gail Rich listed, it's now working in all 3 environments?
Thanks for confirming. I'm also glad to hear you are now unblocked.
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.
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.
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
14. Reinstalled Telerik Testing Framework 2015.3 using TestingFrameworkFree.2015.3.1015.exe
15. Ran the test and it worked again successfully.
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.
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?
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.