15 votes
Accepted

Why is Visual Studio 2013 not willing to run my Web Performance / Load Test?

According to Visual Studio: Load testing in the cloud, here are the steps to switch the test from using Visual Studio Online to running locally: Simply open your existing project using Visual Studio ...
user avatar
9 votes
Accepted

API Testing tools in C#

You can use the combination of any unit testing framework (like NUnit, MSTest, XUnit) with additional nuget packages for the work with REST API itself RestSharp (http://restsharp.org/) Probably the ...
user avatar
6 votes

Comparison of JMeter vs Visual Studio Load Test

I would recommend JMeter as: Price JMeter: free and open source MSVS: Test Professional costs around $2000 per developer. OS supported JMeter: any MSVS: Windows only Protocols supported JMeter:...
user avatar
  • 12.6k
6 votes

API Testing tools in C#

Writing an API test in Visual Studio can be done with: NUnit or MSTest as your Test Runner ** NUnit and the TestAdapter are available on Nuget An http client, like .Net's HttpClient ** This is in the ...
user avatar
  • 4,030
5 votes
Accepted

Selenium C# - How to wait with WebDriverWait using the element as parameter instead of a locator?

The easiest way is to create your own ExpectedConditions class with methods accepting a WebElement as parameter, for example: Wait.Until(MyConditions.ElementIsVisible(element)); With the ...
user avatar
  • 5,834
4 votes
Accepted

Load testing selenium scripts in visual studio

I would recommend looking into Visual Studio load test tool. You will need an Ultimate license. This tool will make it much easier to do all the things necessary to create a useful performance test ...
user avatar
4 votes

Coded UI vs Protractor

If it is an Angular application I would go for Protractor EDIT: Protractor was made for Angular Apps. You don't have deal with elements not being visible yet due to page loads. Protractors deals ...
user avatar
  • 193
4 votes
Accepted

Parallel Execution in Selenium with Visual Studio

Disclaimer: the answer is assuming you're using the MsTest unit test framework. Solution 1 The easiest way to run parallel tests is simply to activate this flag here: An important note here: this ...
user avatar
  • 5,834
4 votes
Accepted

What are the differences between Microsoft Test Manager MTM, Team Foundation Server TFS & Visual Studio Test Professional VSTS?

If you are a programmer you need Microsoft Visual Studio Enterprise which is $5,999/user/first year and includes Team Foundation Server online access & Microsoft Test Manager stand alone app. ...
user avatar
3 votes

Why is Visual Studio 2013 not willing to run my Web Performance / Load Test?

You can have more than one ".testsettings" file. On a recent project we used three Local.testsettings - for test development and low load tests driven entirely from one computer. Agent.testsettings - ...
user avatar
  • 1,453
3 votes

How to choose between tcm.exe, mstest.exe and vstest.console.exe

There are a few pages that describe the differences between newer VSTest.Console.Exe and older MSTest.exe. Choose and configure a test runner VStest support recent features, including Fakes. However ...
user avatar
3 votes
Accepted

Are there any detailed tutorials for TFS, Visual Studio and MTM?

TFS=Team Foundation Server. All things microsoft that require storage and integration get run through this. VS=Visual Studio. All things that are "visualized" are pushed through this. MTM=...
user avatar
  • 1,663
3 votes

Selenium Webdriver: Finding elements and contents in deep structures

In order to find the specific h2 tag you are trying to locate you can find them in below ways: Through name as an element locator. Using relative xpath syntax is : //tagname[@attribute="value"] ...
user avatar
3 votes

How To Move Test Explorer Window To Vertical Bar In Visual Studio 2015

Just drag the tab (the bit that has the words "Test explorer") towards the middle of the window. As you drag it, expect to see a wireframe of possible locations and drag the tab to the wanted place in ...
user avatar
  • 1,453
3 votes
Accepted

What are the Differences in Test Management with TFS vs MTM for 2017 vs 2012?

A lot. The last I heard, MTM will be deprecated once the test-specific functionality of the TFS web portal is available. Create backlog items (in TFS) - the UI is a lot better, and there's been a ...
user avatar
  • 30.8k
3 votes

Javascript : click() method doesn't click the link

You can use XPath, linkText or className to locate your Link object. By XPath: driver.findElement(By.xpath("//li[@title='This is test']")); By linkText: driver.findElement(By.linkText("TestLink"))...
user avatar
  • 6,749
3 votes
Accepted

TFS Selenium C# Visual Studio 2017

First up, your boss is going to want to see this information in a convenient form. TFS allows this without much extra work on your part. Pro You can use TFS (if it's a recent enough version) to set ...
user avatar
  • 30.8k
2 votes

What tools work well for automating .NET 4.0 web sites using web forms with dynamic data?

A lot depends on what you want the front-end automation to do. Given that you've got a lot of web forms with code behind, I'd honestly consider starting with the unit test framework built into ...
user avatar
  • 30.8k
2 votes

What tools work well for automating .NET 4.0 web sites using web forms with dynamic data?

I assume your web application is for external customers (so your users can use web app in many browsers and operating systems outside of your control). Which is very interesting challenge - exactly ...
user avatar
2 votes

Where can I find ".browser" files for the latest browsers

Although I have never used the Visual Studio load test functionality I think it works in the following way: You specify some browser types and the load testers does HTTP calls with those browser user-...
user avatar
2 votes
Accepted

redirect containing + is not being encoded properly by visual studio

I had got the same issue with web performance test in Visual Studio 2013. Some redirects in my application contains a white space in their url <h2>Object moved to <a href="/Error/SubErr.aspx?...
user avatar
2 votes

Coded UI vs Protractor

Have you looked into TestComplete? We use it at my company and have found it to be very versatile and the SmartBear folks are excellent to work with. http://smartbear.com/product/testcomplete/...
user avatar
2 votes

Web performance test does nothing

The answer was buried in some MSDN documentation that was challenging to reach via Google. Also ... don't forget to enable the test tool. Might have to check a couple places.
user avatar
2 votes
Accepted

Transaction Response Times in Visual Studio

For Transaction Response Time to populate, you will need to create Transactions. Once you have your .webtest (let say after recording it via VSTS 2013), then in the webtest file you will need to group ...
user avatar
  • 4,540
2 votes

Alternative to Ranorex that integrates in Visual Studio

CodedUI seems to be the only solution. Because Coded UI is the new testing framework from Microsoft so,it will 100% support the visual studio too. And; support SAP-No idea support Java applications-...
user avatar
  • 2,093
2 votes

VS 2015: Selenium webdriver reference isn't found

The project reference for "WebdirverTest" in the UnitTest project's references does not include any libraries that are in "WebdirverTest", it only includes references to classes within that project. ...
user avatar
  • 4,030
2 votes
Accepted

C# + Visual Studio : Can I create multiple selenium test through unit test project type in one solution?

Functional tests need a way to get run in batches. The unit-testing frameworks help with this, also they include assert functions to verify results. So the unit-testing framework is reused as test-...
user avatar
2 votes

How to get test results data to members of my team that don't have a Visual Studio License?

Visual Studio offers a lot of different ways to grab the summary information from the application and paste it into other microsoft programs like excel/word. I would recommend going to Paste into word ...
user avatar
  • 1,180
2 votes
Accepted

How to use .xlsx Excel files as Data Source for Coded UI test?

Here is the Attributes: Data Source Types and Attributes Excel, ".xlsx" format [DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};dbq=|DataDirectory|\\data....
user avatar
  • 523
2 votes

What is the max user load that can be taken by VS 2013 for a load test

It depends. VS2013 does not place any limits on the number of virtual users. That said, there are trade-offs. You may want to use distributed load tests if: Your application or the test processing ...
user avatar
  • 30.8k

Only top scored, non community-wiki answers of a minimum length are eligible