All Questions
Tagged with visualstudio automated-testing
32 questions
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
210
views
Selenium Is Unable To Locate A Web Element – C#
I get an error message on trying to run this code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TechTalk.SpecFlow;
using ...
0
votes
1
answer
145
views
In Visual Studio 2019, The Name Of The Scenario In Test Explorer Is Different From The Test That I Want To Run
The test scenario in Test Explorer is different from what I have in my V/S Project.
I have tried re-starting Test Explorer to no effect. Thanks !
-1
votes
2
answers
68
views
Selenium with C#
I am new to C# with selenium and visual studio,I have some experience only in Selenium with java in eclipse.
Here my doubt is that in eclipse we used to configure the packages for every new projects ...
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="...
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 ...
0
votes
1
answer
1k
views
Selenium with C# "Element is no longer valid" exception being thrown when repeating steps
I am repeatedly getting a very annoying problem when automating my test cases using Selenium/C# in Visual Studio.
This test is designed around validating search criteria text. In order for me to test ...
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
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
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;...
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 ...
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[...
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.
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 ...
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 ...
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
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
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 ...
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 ...
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
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 ...
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 ...
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?...
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
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 ...
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
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 ...
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 ...
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" /&...
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 ...
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 ...
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 ...