Questions tagged [visualstudio]
Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft.
119 questions
21
votes
3
answers
18k
views
How to choose between tcm.exe, mstest.exe and vstest.console.exe
Using Visual Studio 2013 plus TFS and MTM. Want to run tests from the command line. There are three programs available. How do I choose which of tcm.exe, mstest.exe and vstest.console.exe I should use?...
16
votes
2
answers
14k
views
Why is Visual Studio 2013 not willing to run my Web Performance / Load Test?
I am attempting to run a simple Web Performance Test that I recorded in Visual Studio 2013 Ultimate.
I click the 'Run Load Test' icon inside of VS, only to be greeted with the following error details:...
15
votes
5
answers
20k
views
What are features of MS Visual Studio Coded UI Test framework that are not present in other tools?
I've recently started working at an organization that has no automated testing in place. They are migrating to Team Foundation Server for project management and source control, and use Visual Studio ...
13
votes
4
answers
28k
views
API Testing tools in C#
I'm looking at writing at automated tests to cover regression testing in respect of Restful API's.
I have familiarity with how to do this in Java using Rest Assured, however the company I currently ...
7
votes
2
answers
24k
views
Selenium C# - How to wait with WebDriverWait using the element as parameter instead of a locator?
I have a big problem, and I don't find the solution.
I have 2 classes: Components_BI.cs with this component:
[FindsBy(How = How.XPath, Using = "//*[@id='body-container']/div/div[1]/div/div/button[...
7
votes
3
answers
3k
views
How do I unit test Word AddIn written in C#
I need end-to-end guidance on this topic.
Here is a scenario: I have a Word AddIn written in C#, in which I have some interop interaction with Excel. I need to unit-test that.
How?
There is no ...
6
votes
1
answer
6k
views
What are the differences between Microsoft Test Manager MTM, Team Foundation Server TFS & Visual Studio Test Professional VSTS?
Recently I got Visual studio Enterprises Subscription from my company and I was asked to prepare the system for testing, With the help of support team somehow I manage to set up the system but during ...
6
votes
1
answer
283
views
Query TFS 2013 to get recently automated
I want to find a method to query our TFS Server 2013 for test cases that have been switched from "Not Automated" or "Planned" to "Automated" within a given time period. I know I can create a query in ...
5
votes
3
answers
7k
views
Load test with multiple credentials
Okay so I have created a very simple webtest. The purpose of this webtest is to attempt to login whilst simulating a few failing attempts.
The webtest has the obvious credentials associated with it:-
...
5
votes
2
answers
8k
views
Comparison of JMeter vs Visual Studio Load Test
My organization is currently planning to test the load capability of our web application (we live in a third-world country, of which testing practice is a very new thing here). In accommodating this ...
5
votes
4
answers
2k
views
What tools work well for automating .NET 4.0 web sites using web forms with dynamic data?
What would be the best solution to accommodate automated testing of web forms with code-behind (.NET 4.0)? Specifically, we need a solution that can automate web form testing and handle dynamic data ...
5
votes
1
answer
679
views
IP Addresses of agents used when load testing
How can I find the IP addressses used by the agent computers in a Visual Studio load test? When using Microsoft's cloud based load testing service I see the status message that This load test will run ...
5
votes
4
answers
676
views
Looking for an alternative testing software
A few years ago we converted from Excel spreadsheets to TFS 2013. MTM (Microsoft Test Manager) was bundled at the time and had out of the box compatibility with TFS. Recently we have been looking at ...
5
votes
0
answers
599
views
How to improve SpecFlow intellisense in Visual Studio [closed]
I'm using SpecFlow to write automated test cases for a project. I'm writing them in Visual Studio 2013 It's cool and the intellisense works, but I have some issues with it:
Is it possible to limit ...
4
votes
4
answers
3k
views
Any one have experience with frameworks using webdriver in Visual Studio?
I'm using webdriver to automate our browser testing, I have some scripted tests already where I am using Visual Studio and while I don't mind other formats I'm looking for a good supportable framework ...
4
votes
3
answers
2k
views
Where should I create a coded UI project?
Should Coded UI tests be within the solution that they are testing (similar to Unit Tests), or should they be contained in a separate, generic Coded UI solution that is built only once and executed ...
4
votes
2
answers
14k
views
Parallel Execution in Selenium with Visual Studio
How to run test scripts in parallel for Selenium WebDriver with Visual Studio and C# ?
4
votes
1
answer
6k
views
How To Move Test Explorer Window To Vertical Bar In Visual Studio 2015
Does anyone know how to move the Test Explorer window to the "small vertical bar" in MS Visual Studio pls ?
I am using MS Visual Studio 2015.
I have attached a screen shot.
I have checked the ...
4
votes
3
answers
521
views
Visual Studio Team System 2008 Test Load Agent - Query on "Usefulness and Licensing"?
I m a tester using VS 2008 - Test edition for performing web testing on web applications. So got a suite of web tests for different web applications in our company.
Recently I was asked to perform ...
4
votes
3
answers
3k
views
Visual Studio 2013 Performance results analysis issues
I have to use VSTS 2013 ultimate as a Performance (Load) test tool for one of my project, I have my prior experience in JMeter, but client want only VSTS performance report. I have studied and used ...
4
votes
0
answers
86
views
Passing a dynamically created query string for Salesforce application
I created a web performance test for a Salesforce workflow using visual studio. I created a custom extraction to retrieve a parameter from a query string. However, the request with the query string is ...
4
votes
0
answers
1k
views
Get Visual Studio (2013 Community) unit test execution messages
Hi, I'm trying to make a "nice" test execution report and get the following elements:
Message
StackTrace
Elapsed time
Test name and Test Outcome are easily taken as TestContext parameters, ...
3
votes
2
answers
2k
views
Visual Studio 2010 Performance Testing Javascript not supported
Quite simply the question in the title, when I run test it by default runs it within my visual studio.
This doesn't seem to support JavaScript which makes all my test's invalid. Is there anyway to ...
3
votes
5
answers
5k
views
Selenium Webdriver: Finding elements and contents in deep structures
I've got a fair basic grasp about how Selenium works, and I'm comfortable at a beginning level using it in VS and C#. However, when it comes to finding things in pages which are not straight-forward ...
3
votes
3
answers
7k
views
Are there any detailed tutorials for TFS, Visual Studio and MTM? [closed]
I've just started at a new company where the developers use TFS and Visual Studio 2013; they seem to use the two names interchangeably so I'm getting myself confused with which one is which and which ...
3
votes
1
answer
278
views
Not displaying nunit tests in visual studion after NUnit integration in Visual Studio
I have downloaded the vISUAL Nunit 2010 and also edited the .vbproj file guid. But still Visual Studio is not displaying nunit tests. Any idea what I am missing here.
3
votes
1
answer
2k
views
Web Driver (Selinium Version)
How to add the webdrivers of C# in VS 2005, I was tried the same but the "OpenQA" not found error is shown,
Is there is any version problem?
3
votes
1
answer
6k
views
How to use .xlsx Excel files as Data Source for Coded UI test?
I want to use ".xlsx" format Excel file as Data Source in my hand coding Coded UI test. The best information I get is found in MSDN: Creating a Data-Driven Coded UI Test, which has useful information ...
3
votes
1
answer
9k
views
Passing a dynamically created query string between requests in web tests?
So we have the following type of a URL:
http://www.myurl.com/mypage.aspx?suid=145db467-907e-4e3d-b944-c1666f9d08d6
This suid query string is generated dynamically and is unique to the specific ...
3
votes
1
answer
129
views
Is there test inheritance in VisualStudio?
Imagine you have a sequence of web tests in Visual Studio, recorded individually i.e., Login, Event A and Event B.
To do both Event A and Event B you need to login. Is there a way for tests Event A ...
3
votes
1
answer
6k
views
Selenium code generates error messages the likes of CS0246 & CS0103
I am getting lots of CS0246 Code error messages in Visual Studio after trying to run the Selenium code below. I have chosen the ASP.Net Core file to programme the code in.
The file is called LoginTest....
3
votes
1
answer
2k
views
Issue executing Selenium/C# Test script via MS Test & Command Line Arguments
I have created my test script using Selenium 3, C# and for the browser Firefox v49.
When I run my test using Visual Studio 14 it works properly and executes accordingly, but I want to use MS Test ...
3
votes
1
answer
291
views
Sync/Rendezvous point in VSTS 2013
Just to give background about the problem.
Few weeks back I started using VSTS Ultimate 2013 for Performance and Load testing (this is Client's demand to use only VSTS), earlier than that I have ...
3
votes
1
answer
2k
views
Load testing a C# client-server GUI application
I am looking for a way to perform a load test on a client-server GUI application, developed in .NET C#. I was under the impression that Visual Studio Team Foundation Server has an option for creating ...
3
votes
1
answer
568
views
Remote testing Coded UI from Visual Studio throws "connection was actively refused"
I am attempting to run tests on a remote agent by using a test controller that is on the same remote machine. I have set up my TestSettings file as follows:
<RemoteController name="MachineName" /&...
3
votes
1
answer
1k
views
Dynamic number of request parameters for web performance testing in Visual Studio
I need to change several requests parameters list to make it dynamic. The number of parameters can differ and depends on previous request responses.
In JMeter it can be done just using the regular ...
3
votes
2
answers
212
views
Environment parameters for VSTS Cloud-based load tests
We're developing a web service using Azure and VSTS and I'd like to run some load tests as part of the CI/CD process.
However, I'm struggling with being able to set the service url for our various ...
2
votes
6
answers
3k
views
Coded UI vs Protractor
I just joined a new company who doesn't work with any kind of automated tests. I have been hired to start test automation, and looking around I found two interesting options to e2e tests, Protractor ...
2
votes
2
answers
3k
views
What are the Differences in Test Management with TFS vs MTM for 2017 vs 2012?
What are the Differences in Test Management with Team Foundation Server, Visual Studio, & Microsoft Test Manager for 2017?
testing activities processes as of 2012 are:
Create backlog items (in ...
2
votes
2
answers
1k
views
VS 2015: Selenium webdriver reference isn't found
I just started with Selenium and C# and came across this problem at very beginning. I've installed nuget webdriver package in project WebdriverTest, then created Unit test project in which I add ...
2
votes
3
answers
189
views
I need expert support for using MS testing tools for automated performance and functional testing
We are a software company using VB.NET and ASP.NET heavily, and recently have tried to use Microsoft Ultimate to do automated testing, but ... it doesn't work for us.
We believe that we are doing ...
2
votes
1
answer
743
views
Simulating a click in web performance tests
I am working with web-test in visual studio test system, without writing a code test, is there a way to invoke a click on a link/button/submit item? I am thinking of doing this by adding a request in ...
2
votes
1
answer
656
views
XUnit test standard output gets truncated on Visual Studio
When I run Xunit tests via Visual Studio’s Test Explorer and click on the “Output” link, a new tab with the test’s log is opened in Visual Studio. The log is truncated - the following message appears:
...
2
votes
1
answer
625
views
C# + Visual Studio : Can I create multiple selenium test through unit test project type in one solution?
This is a newbie question as I am very new to selenium and automation basics. I am creating my selenium tests through Visual Studio, with the help of C#. I have some confusion on these areas:
I am ...
2
votes
1
answer
1k
views
How to store security certificate exception for webtest
I am using Visual Studio 2015 to run a Web Performance test on our web site. The site uses SSL throughout. The tests run correctly on our 'production' site, but now I need to run them on our 'Staging' ...
2
votes
1
answer
204
views
Where can I find ".browser" files for the latest browsers
Visual Studio Load Tests allow various browser to be simulated in the load presented. The available browsers are given by ".browser" files in directories such as (for Visual Studio 2013):
C:\Program ...
2
votes
1
answer
341
views
Visual studio web performance testing for invalid input
I am trying to test an input field to make sure it is behaving correctly with invalid input. But when I try to insert text with quotes and add a validation rule for it, the test fails. It seems that I ...
2
votes
1
answer
311
views
Unable to pass dynamic xpath in repository file?
My code is :
for (int z = 0; z < rows.size(); z++) {
rows.get(z).findElement(By.xpath("//*[@class='ng-scope'][" + (z + 1) + "]//*[@placeholder='Stop Name']")).sendKeys(shuttleObj.getStopArea());
...
2
votes
1
answer
2k
views
What is needed at a minimum to have vstest.console to run using .net 4.6.1 on VS 2017
Sorry if I have asked similar questions. But I went back to basics. I created a simple application in Windows 2017. Unit Test Project (.Net Framework) in .NET 4.6.1. Just one test to see if "test="...
2
votes
1
answer
569
views
Unable to run tests for Appium on Visual Studio 2015 due to Timeout
I am trying to run my script on Appium and I always fail tests because of an error on my unit test:
Test Name: Addition
Test FullName: AppiumTest2.UnitTest1+BasicScenarios.Addition
Test Source: ...