Automating Watin with IE10 and TeamCity - teamcity

I've upgraded internet explorer to version 10 on one of the team city build agents. After the upgrade, our Watin acceptance tests will not run. I get exceptions like:
System.Runtime.InteropServices.COMException : This function is not supported on this system. (Exception from HRESULT: 0x80070078)
The Team City build agent is running as local system account with access to desktop and needles to say, our tests used to work on older versions of IE. Things I've tried: changed the service log on to localadmin, disabling uac; still get the same errors. If I remote onto the build agent and fire up powershell as administrator I can run the tests successfully. If I fire up powershell without elevating to admin, I am not able to run the tests. The server is Server 2008 R2 SP1.

Internet Explorer 10 does not appear on the list of supported browsers, so it may not be possible to get it to work with IE10.
From [the WatiN home page]
Works with Internet Explorer 6, 7, 8, 9 and FireFox 2 and 3
Link Removed - Domain hijacked by Spammers
See https://web.archive.org/web/20161230004014/http://watin.org/ for old versions of the site)

Also from the Watin website: Latest release is WatiN 2.1 (released on 12 April 2011).
Time to port to Selenium alright.

Related

Easy Repro UI Automatid testing test fails. with error LoginPage' threw an exception of type 'System.MissingMethodException'

I trying to use EasyRepro https://github.com/microsoft/EasyRepro/tree/releases/OnPremise to automate UI testing for our on premise Customer Relationship Management site part of the Dynamic 365 apps.
What I have tried so far is running the sample test which comes with the EasyRepro as well as using an ADFS login function. I have also tried the later and earlier branches of the Easy Repro and the on premise branch, since I am using an on premise version of CRM. I ensured the drivers were installed and that I am using the correct versions as well that they are all compatible.
What happens is the google chrome browser opens up to the CRM website then meets the login page. Nothing happens till the test times out after about 3 minutes.
Specs
Visual Studio Enterprise 2017
Google Chrome v74
Windows Server 2012 R2
CRM Version 1612 (8.2.2.112) on-premises

Selenium test runs on Windows Server 2008 R2 doesn't work?

I'm working with Selenium in VB.NET using IEDriver. I want to launch my ordered tests suite on my windows server 2008 R2 (My server used IE 11). I launch my test by command line : vstest.console.exe.
When I launch this on Windows 7, that works. I try to launch it on my server ( OS : windows server 2008 R2). That launch my Internet Explorer and my first page test. My test fail on the first try to find element (text input) and send key . However the element is present on my web page and I launch on the same website. I don't know where is my problem. I have some idea :
IE Driver compatibility with Windows Server 2008 R2 can't modify
Security server, some rights don't allow my driver to interact with IE
Problem in my code tests (Impossible for me, because the same code run perfectly on the same website)
Someone have any idea ?
This seems like a problem with windows server. Look for installed updates in server. This will probably occur because of that. Windows sometimes install updates without telling you and there are some updates that tamper with IEdriver and breakes it

Where to get exact version of internet explorer 9.0.8112.16421CO

and what does it mean "CO" in the name?
I have a website failing to display correctly (css file problem). Client has Win 7 Enterprise Edition SP1 with that ie version.
I do tests on browser stack which has ie 9.0.8112.16421 (without CO). It could be the problem - different browser versions. And I cannot replay the error because client is forbidden to use "remote desktop" app.

How to check the last updated date of Internet Explorer

My selenium project running on a remote machine in US is not working all of a sudden. Need to check any IE update occurred in US machine.

Debugging Developer Fabric Issues - Service Not Starting Web Components

I am trying to get the Azure SDK up and running on my dev PC and have been having some issues.
I have installed the SDK, tools for VS and am trying to run the samples. Every time I try to run the samples the Development Storage service starts and then the Developer Fabric tries to start. This is where is stops. The Developer Fabric cannot run any websites for whatever reason.
I have followed their checklist for setting up the system and there is not Event messages. I am running under Vista Home Premium with IIS 7 installed.
If you have any suggestions I would love to hear them.
It turns out my problem is a little deeper than simply Azure not working on my computer.
In order to natively debug IIS apps using windows vista (configured under the project settings) you need to have windows authentication enabled for IIS. This feature cannot be installed let alone enabled under Vista Home Premium under the guise of what home user would want such a feature.
For the average VS 2005 user this is okay there is a hotfix but for me and my fancy VS 2008 SP1 there is no solution.
After becoming supremely frustrated with this issue I posted it as the following Microsoft Connect issue.

Resources