Questions tagged [visualstudio]
Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft.
119 questions
2
votes
1
answer
1k
views
Selenium in VS 2015/C#: Problems with ordered unit test
I'm using unit tests in VS to create my tests, and naturally I ran into the challenge that unit tests should not be dependant on the run order. However, since my tests are actually functional tests, ...
2
votes
1
answer
173
views
Does Rational Functional tester Support Microsoft Visual Studio .NET 2012 integration?
When i am trying to install RFT. At this moment i am not able to select visual Studio integration. My system already have visual studio 2012 installed on my desktop. The check box for Microsoft Visual ...
2
votes
1
answer
109
views
wcf client test in vs 2010 tools
wcf client test
I am using wcf test client in vs 2010 tools.
First when i started tool, values came with null.
I want to change value's dropdownlist with my default values.
How can i do it?
2
votes
1
answer
69
views
Testing on restricted users
I am using visual Studio 2013 test agents and controllers to do testing on the end environment.
The end environment is composed of a single virtual machine running Windows 7 with a user that has very ...
2
votes
2
answers
244
views
How to load test a workflow system with stages linked by email
I want to load test a web site that provides a workflow system. In this system, users register and then create a record. An administrator sees the new record in their task list on a web page; they ...
2
votes
1
answer
287
views
Load Testing in Visual Studio 2012
We currently use Visual Studio to drive load tests against our software, and I'm trying to determine where we can improve data collection.
The best reference I've been able to find is here. Is this ...
2
votes
1
answer
77
views
Coordinate webtests in loadtests in vs2013
I am developing a load test in visual studio 2013. I build the load test from web performance tests and have each web performance test load data with a web test plugin the data goes into the context ...
2
votes
3
answers
986
views
Stress test mvc application
I am new to web performance testing. I was looking for tools with which I could stress test my mvc application written in c# and see how it performs under severe load. I want to simulate approximately ...
2
votes
0
answers
46
views
Should your QA Automated tests reside with application code? [duplicate]
We currently use Visual Studio 2013 and Silk4Test for creating our functional and regression tests. I am curious to know how others are storing a similar set up, meaning:
Should our QA Test Project ...
1
vote
1
answer
458
views
TFS Selenium C# Visual Studio 2017
I have recently joined a company and they use TFS. I am an automated tester so I have setup MS Unit framework, selenium and c# within VS2017. I am comfortable in doing this standalone because its ...
1
vote
2
answers
3k
views
Javascript : click() method doesn't click the link
I have link with below properties on my Webpage:
<li class="XXXX" title="This is test"> TestLink </li>
I am trying with below code for clicking on above link with Javascript:
var a = ...
1
vote
1
answer
3k
views
Install Microsoft Test Manager Tool only
I have Visual Studio Community 2015 on my laptop, but it seems Microsoft Test Manager (MTM) is not installed while installing it. How can I get it alone without reinstalling Visual Studio?
1
vote
1
answer
171
views
How to get Visual Studio to break on Selenium Exceptions?
Below are the categories of exceptions that I can choose to break on in Visual Studio (2019). Where should I go to find the Selenium/WebDriver Exceptions? I want to tell VS to break on all OpenQA....
1
vote
2
answers
856
views
Can not find getPageSource method in visual studio 2017
I am using Visual Studio 2017 and found that class ChromeDriver does not contains method getPageSource(). Does anybody knows why?
using System;
using System.IO;
using OpenQA.Selenium.Chrome;
...
1
vote
1
answer
822
views
Alternative to Ranorex that integrates in Visual Studio
Ranorex has its own IDE, Ranorex Studio. It seems that Ranorex does not integrate into Visual Studio very well. The only available Ranorex blog entry describes the bare minimum of compiling a Ranorex ...
1
vote
2
answers
354
views
Load test Configuration in VSTS 2013
I have a web performance test created in VSTS 2013 ultimate and 1 execution round of this web performance test creates 1 entry in Database, no matter input data is unique or not, so same input data ...
1
vote
2
answers
3k
views
Does Microsoft test manager 2015 come with the Enterprise version of Visual Studio 2015?
Does Microsoft test manager 2015 come with the Enterprise version of Visual Studio 2015? If not, what version of Visual Studio 2015 includes Test Manager?
1
vote
1
answer
245
views
Web performance test does nothing
I'm trying to set up a web performance test in Visual Studio 2013 (the online tutorials seem targeted at earlier versions of VS).
I right click in my solution explorer and select Add ... then Web ...
1
vote
1
answer
779
views
redirect containing + is not being encoded properly by visual studio
I'm currently trying to create a performance test in Visual Studio 2013 for an older web application with numerous redirects. One of these redirects contains a url with a + in it.
<h2>Object ...
1
vote
1
answer
1k
views
Visual Studio 2012 + NUnit unit test integration
I am having a problem with integration my NUnit test integration.
I have installed the test adapter for NUnit and also made sure that the extension is enabled, but no test are shown in the test ...
1
vote
1
answer
922
views
How to save compiled document on Desktop using C# Selenium
Using Selenium WebDriver with C# in VS 2010, I compiled a document using automation and then I want to save the file on my desktop. During automation a new window is popping up to "save or open file". ...
1
vote
2
answers
694
views
How to handle with webdrivers in visual studio code Protractor?
I was getting an error
WebDriverError: unknown error: cannot determine loading status from unknown error: missing or invalid 'entry.level' (Session info: chrome=76.0.3809.100) (Driver info: ...
1
vote
1
answer
1k
views
How to use the page object model pattern in C# without deprecated libraries
What can I use as an alternative option to the soon-to-be deprecated OpenQA.Selenium.Support.PageObjects library?
I still want to make sure I encapsulate the elements and be able to assemble the ...
1
vote
1
answer
152
views
White Label Website Automated Testing
My company is in the process of setting up a white label website, in which there are slightly different user journeys. These journeys, for the most part, use the same functionality but I'm wondering ...
1
vote
1
answer
2k
views
Best practices for exception handling with Selenium
I've been searching on google for best practices regarding exception handling, however I did not have much success besides using try-catch.
My framework is set with a EventFiringWebDriverwhich, ...
1
vote
1
answer
2k
views
How can I test iOS & Android mobile applications using Microsoft Visual Studio?
Here I have some test cases on Microsoft Test Manager (MTM), and those test case I have to execute on a real iPhone device but when I use Run & Record test of MTM to execute test cases its record ...
1
vote
1
answer
162
views
Tests are not running in order
Why are tests not running in the order that is set inside test suite in Visual Studio Online?
We have Microsoft Visual Team Services builds, Visual Studio Test Agent is deployed to virtual machine.
1
vote
1
answer
118
views
VSTS 2012 Load/Web Test: Transactions not showing up in the tables tab (Empty table)
I just ran a test for around 150 users for almost over an hour. After the test I find that the transaction response times are not generated in the Tables tab. I can however notice them on the summary ...
1
vote
1
answer
222
views
WebTest Plugin not used when the Webtests are in a folder
Following a problem I had with TLS connection I found out that when a WebTest is located inside a folder it wont use the custom WebTestPlugin that is set in the WebTest.
Is there a fix for this ...
1
vote
1
answer
218
views
Can I use Visual Studio Plugins in Ranorex Studio?
It seems that Ranorex does not support Visual Studio very well. E.g. the .rxrep file is only compiled to code in Ranorex Studio but it won't be compiled to code in Visual Studio.
We have a very ...
1
vote
1
answer
1k
views
GoogleTest with Visual Studio 2015
I would like to use GoogleTest to run unit tests on my project. In my solution I have three projects:
The GoogleTest project, which is a static library
My Project Under Test, an executable
My Project ...
1
vote
1
answer
618
views
VSTS Ultimate not running all users in load test
I have a Web Performance test created in VSTS Ultimate 2013 with Record feature of the tool. This test involves the below mentioned scenario:-
Login to application
Navigate to the Search Page
Open ...
1
vote
1
answer
2k
views
Not able to see Test Run History in TFS
We have started IV&V of a project and the actual Test team of that project is maintaining Test cases over TFS. That team has already created and executed some part of the test cases. My part is to ...
1
vote
1
answer
719
views
Custom query string extraction for visual studio web test
I created a custom extraction for a query string. However, when I run the test, I receive the following error: Context parameter 'parameterName' not found in test context. Have you seen this error?
1
vote
1
answer
1k
views
Need to validate compiled document using C# selenium in VS 2010
I am using selenium, C# at this point I am able to compile word document and then need to save as a pdf on desktop and then validate the links in the downloaded document with original parsed document, ...
1
vote
0
answers
307
views
Visual Studio Standalone Profiling
I'm trying to automate the profiling of a Visual Studio Native C++ Project (2015 and / or 2019). To do so I'm using the standalone profiling tools of Visual Studio VSPerf (and related) and ...
1
vote
3
answers
4k
views
How to automate KendoUI dropdown with selenium webdriver and C#
Cannot make it work, need help, I don't know how to automate KendoUI drop-down with Selenium using C#.
Sendkeys doesn't work for KendoUI.
Here is my HTML:
<div style="background-color: #e6e6e6;...
1
vote
0
answers
47
views
Which test method is running/executing at the moment?
I'm on Appium with C#, I have 60 test methods written on different classes.
I'm running the tests via Visual Studio test explorer.
When I click run all test button at the "Test explorer" it will ...
1
vote
0
answers
634
views
Coded UI doesn't work in windows 10 and Visual studio 2015
When I try to record and play a window app like calculator it does not record while it works for a web site and browsers.
My windows version is 10
and Visual Studio version is 15.
It says you ...
1
vote
2
answers
118
views
Tool(s) for running C# tests with flow control
I have a collection of REST API tests, WebDriver based tests, Appium based tests and additional tests that run via shell. All written in C#.
All tests are written as VS unit tests, and in the case ...
1
vote
0
answers
1k
views
PDF Automation using URL opened in Selenium, not a new URL
Currently, I'm using Selenium Webdriver for c# and PDFBox to automate the PDF text of a report. Now, using PDFBox, we have the ability to parse a pdf given a URL link, with URL = new URL("link of pdf")...
1
vote
1
answer
307
views
How can I stop the visual studio test controller from throwing Error during DsBind operation: 5
We have a test controller set up to run CodedUI tests remotely from Microsoft Test Manager. This has been running without problem for months.
However two days ago for no apparent reason (nobody was ...
1
vote
0
answers
184
views
What are CorrelationExtractionRules and CorrelationBinding attributes in web test files
What is the purpose of the <CorrelationExtractionRules> tag and the CorrelationBinding="..." attribute within the <QueryStringParameter ...> tag within a Visual Studio 2013 ".webtest" file?...
1
vote
1
answer
352
views
How to identify when application breaks in load testing using vsts?
i'm having hard time understanding the load test result in vsts to find when the application breaks under load.
Is there any indications to find it. I searched about this in google, asked in stack ...
0
votes
2
answers
2k
views
Load testing selenium scripts in visual studio
I am wondering if someone has some advice for running load testing in visual studio, preferably with a selenium webdriver script. I know that JUnit can be integrated with JMeter, so that you can test ...
0
votes
2
answers
1k
views
Getting "element not interactable: element not interactable" error when trying to upload file using Webdriver.IO
Following is the page source of file upload section.
Following is my code in Visual Studio Code
const remoteFilePath = await browser.uploadFile(filePath);
let fileUpload_var = $('//input[@type=&...
0
votes
1
answer
144
views
Running sql query via automation tests in Visual studio vs SQL server management studio returns different results
I am running some database automation tests in C#.The results of the same sql query are different in visual studio(executed via automation tests) and SQ Server Management studio(Manually).The ...
0
votes
1
answer
2k
views
C# Selenium - How to write a conditional statement with multiple elements/xpaths
I have a problem and having trouble to finding a solution.
Problem Statement:
Navigate to a webpage and check if three checkboxes are selected. If not, I'd like to select them (if only one is ...
0
votes
2
answers
298
views
What is the max user load that can be taken by VS 2013 for a load test
We want to load test a web application for 550 users using VS 2013 ultimate.
A machine is a high-end machine with 32GB RAM and 6 cores processor. Is one machine enough for a load test of 550 users? or ...
0
votes
1
answer
36
views
How to get test results data to members of my team that don't have a Visual Studio License?
I'm not asking if the load and web testing tool is good. Please don't start a flame war.
I have load test results that I been to make available to others, some with versions of VS without load ...