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.
Related
I have a web application which I want to test with Visual Studio Load Test feature.
I could create a load test on my local machine successfully.
My application deployed to a Windows Server and I would like to test it using TFS.
Can I deploy load test with my web application as well?
I need a stress test so I would like to use load test for hours which is quite difficult using my local machine, but unfortunately I don't find any useful tutorial.
My expectation is that I can deploy my load tests, and I can run that without local machine and Visual Studio.
i want to perform load test on visual studio without using fiddler and using chrome as browser as the application that i am using does not work in IE or Firefox
can someone help me out with procedure.
I am looking to run some automated RestSharp API tests in Continuous integration.
Right now, the application API is running in it's own project, which is set as a Startup Project. The Web App is running in a separate project. And when they are both run manually from Visual Studio, the app's UI can be manually tested against the locally running API (That's just for reference, I only need the API project to run for my tests to work).
So right now, to run my automated API tests as I script them, I start the API project to get the API up and running locally, then open a new window of Visual Studio, and run my MSTests from there.
My question is, how do I get the API project up and running automatically, so the tests can be run against the API? Can I start tests, while the API project is actively running in Visual Studio?
Mainly, how can I run these API tests in Continuous Integration, if the API needs to be started up in a separate VS window every time?
Sorry for the fairly broad question, I am a test automation engineer, and not an API developer. A pointer in the right direction would be great.
You can deploy the Web API to IIS (or IIS Express). In that way, it would be running in the background rather than launched from Visual Studio. The CI tool would then update the deployment after it creates a new build, but before it runs the tests. I would start with the documentation for whatever CI/CD system you are using, but assuming you're using TFS, here is a reasonable starting point: https://www.visualstudio.com/en-us/docs/build/apps/. There are links from that page for deployment and CI.
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.
I wonder how to test web apps on multiple version of browsers with coded UI tests? Such as IE 7-9, Firefox 9-11, and latest Chrome.
My first thought was that I'll install those browsers on my development box or build server. But that really doesn't sound right even if it's technically possible.
I probably need some pointers on how to approach testing web apps on multiple browsers and multiple versions.
Visual Studio 2010
TFS 2008
OK, First see the Coded UI supported platforms as the following,
Second, for creating matrix test for the supported platforms, just see the following post,
Configuration matrix testing using Visual Studio Lab Management