I am trying to add load tests to my selenium web tests using visual studio team services(Visual studio online-vso). I have added chromedriver.exe in the deployment path in the testsettings file. When the tests run I get the error - " System.Invalid.Operations exception: unknown error- cannot find chrome binary"
Please let me know possible solutions.
I have also tried this with PhantomJS.exe and followed same steps. It works fine with PhantomJs.exe
Any help would be appriciated. Thanks
I met the issue (System.InvalidOperationException: unknown error: cannot find Chrome binary) before and it was caused by the chrome wasn't installed on my test machine. I get it work by installing chrome on it. So you may need to check if chrome is installed successfully on the machine which runs your selenium test.
Related
Is there a way to setup Chutzpah to run test with other browser than phantomjs, preferably real browser, not headless.
I'm using chutzpah as Visual Studio extension and runner 4.2.1 for CI
Please let me know if more information needed.
Today you can use the OpenInBrowser command and chutzpah will open the harness in a real browser. I am also working on supporting headless chrome but not sure when it will be ready.
I want to publish a headless UWP application for Windows 10 IoT Core devices to the app store, but fail to build the neccessary appxupload-package.
The app itself is a simple background task that reacts to the push of a button and communicates with a web service using SignlR. The project template can be found here: Windows IoT Core Project Templates for VS 2017
There is a guide for publishing UWP apps to the store, including special instructions for headless apps: Installing and Servicing apps on Windows 10 IoT Core
I follow this instructions step by step but still Visual Studio 2017 fails to build the appxupload-package (error message: "ilc.exe exited with code 1004"). If I try to build the solution I get following error: "Applications with custom entry point executables are not supported".
I did not do any other relevant modifications to the Manifest beside those mentioned in the instructions.
Also, without this modifications to the Manifest, Visual Studio 2017 succeeds creating the appxupload-package - but I can't use that one since it won't be accepted by the store because of it's headless nature.
I really have no clue about how to make this work and hope somebody can help me with this problem here! I didn't find any other information about this problem anywhere else.
I managed to create the appxupload-package. Turns out the guide to publish headless apps to the appstore has some issues.
The guide is written using markdown and some of the information contained simply gets cut off when rendered for viewing purpose.
Since the guide is available via github repository you can use the raw version for full information: Installing and servicing applications
UPDATE
The guide has been updated and issues have been solved - Installing and Servicing applications
I am teaching myself how to build websites using asp.net core/mvc6. For the same, I installed VS2015 update 3 community edition. I have extensive background with C# and .NET Framework, but not much with web applications
I am just trying to create a simple project and start debugging, but the debug mostly (say 90% times) fails with the below message
An error occurred attempting to determine the process id if the
{APPLICATION} which is hosting your application
You can reproduce my issue by following the below steps:
Create a new "ASP.NET CORE" application in visual studio, using default selections
Build the project successfully without errors or warnings
Click the "Start Debugging" button
I get the "Debug is starting" progressbar,
After that it mostly fails but sometimes succeeds in starting the debug session. When it fails, I get the below message.
When it succeeds I first get a dialog complaining about 64 bit debugging and then the debug session starts fine.
I have tried the below with no luck
I can run fine the website through Visual Studio without debugging.
I can also debug and run fine a .NET core console application from within VS.
I have Avira (antivirus) and ZoneAlarm (Firewall) installed on the machine where I am trying all this. I have tried exiting ZoneAlarm and stopping real-time protection on Avira and set my UAC to not prompt, and then try debugging, but no luck. I cannot uninstall those items for trying.
I have tried repairing VS2015.3. I have also tried uninstalling and installing cleanly VS2015.3.
If I follow the below steps, the debugger starts fine (sometimes with the 64 bit debugging warning). I am sure that attaching the debugger to the running website would also work fine:
Start Debugging using F5
Right click IIS Express and browse to the application quickly
The debug works fine, if I use the kestrel web-server
I have tried using ASP.NET Core 1.0.1 and 1.1.0.
Using IE instead of Chrome did not make any difference
I even tried using VS 2017 RC2
I would like to be able to debug without any "hacks" and also, get rid of the 64 bit slowness complains
It works fine in my VS2015.3 (version 14.0.25431.01) based on your steps and successful no matter how many times I debug it.
Please check your .NET Core version to make sure it is the latest version first. The latest version should be NET Core 1.0.3. You could get it from this link: https://www.microsoft.com/net/download/core
And according to the message when you could successful debugging, your are using some 3rd party networking software. So please make sure you closed all other programs when debugging.
In addition, I found you are debugging using Chrome. Please choose Internet Explorer to confirm whether this issue related to the Chrome.
I am developing an application of windows phone in VS2012 Express for windows phone. When I run the app using ctrl+F5, it gets installed properly and run fine. But when I hit F5. I get "A remote operation is taking longer than expected" error. I am unable to debug the app.
Thanks in advance.
Check if you are using a VPN. Uninstalling Astrill VPN worked for me.
I recently installed Visual Studio 2010 to help me with some exercises for class.
It all worked great in school but when I got home and tried to run and debug the second program I got this error:
Unable to start ...\Kapitel_1\Debug\Kapitel_1.exe
This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log.
How can this be solved?
This message generally means that the machine on which you built the application did not have the same redistributables than the system where you run the application.
Redistributables are sets of DLLs needed for your application to run properly.
In your case, I noticed that you are trying to run a debug build. That might just be the problem: you cannot run an application or use a DLL that has been built in debug configuration on a system with no debugger installed. Installing Visual Studio (ideally the same version your school has) should do the trick. You could also rebuild your application in Release configuration to avoid having to install a debugger on the running system.
Another case where this error message might be displayed is if you just installed a new Visual Studio update on the system that built the application and not on the system where you are trying to run it. In that case, you would need to update your system with the latest set of redistributables from Microsoft (at time of writing, here was a good place to look for that).