Questions tagged [visualstudio]

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft.

Filter by
Sorted by
Tagged with
0
votes
2answers
42 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
votes
1answer
41 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
1answer
61 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()); ...
0
votes
1answer
84 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 ...
1
vote
1answer
160 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="...
0
votes
0answers
66 views

Integrating VS 2017 C# Selenium Test Cases into TFS

Ok I am new to TFS only just got access to it in my company. I have been writing UI functional website test cases in VS 2017 using selenium and c#. I now wish to integrate these into TFS. From a ...
1
vote
1answer
176 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 ...
0
votes
0answers
65 views

webtest Request failed: The request was aborted: Could not create SSL/TLS secure channel

I have developed some webtests in VS2017 pointing to a test site which on my local machine run and pass as expected When running these on our test rig I get a "Request failed: The request was aborted:...
1
vote
2answers
215 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; ...
0
votes
1answer
701 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 ...
1
vote
1answer
552 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 ...
10
votes
4answers
11k 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
1answer
518 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
1answer
35 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 ...
0
votes
2answers
279 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
3answers
862 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 dropdown with Selenium using C#, Sendkeys doesn't work for KendoUI here is my HTML <div style="background-color: #e6e6e6; ...
0
votes
1answer
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, ...
2
votes
2answers
2k 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
1answer
79 views

Creating A Folder In Visual Studio 2015 Adds It As A Sub-Folder Of An Existing Folder [closed]

New folder is not displayed as a separate folder. Instead, it is created as a sub folder of an existing one Please, has anyone encountered this problem ? In M/S Visual Studio, a new folder is created ...
3
votes
2answers
156 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 ...
1
vote
1answer
854 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 ...
6
votes
1answer
4k 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 ...
2
votes
1answer
538 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 ...
3
votes
2answers
7k views

Parallel Execution in Selenium with Visual Studio

How to run test scripts in parallel for Selenium WebDriver with Visual Studio and C# ?
0
votes
2answers
183 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 ...
5
votes
1answer
568 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 ...
2
votes
1answer
414 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: ...
4
votes
2answers
13k 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
1answer
148 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
1answer
4k 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 ...
0
votes
1answer
26 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 ...
2
votes
1answer
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, ...
1
vote
1answer
77 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 ...
3
votes
5answers
3k 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 ...
-1
votes
1answer
1k views

For Test Scripts , Coded UI Option not available in Visual studio 2015 [closed]

I have tried installing VS2015 community edition and professional edition both. In the tutorials , there is a option for CodedUI available in Visual C# > Test .
3
votes
0answers
1k 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 ...
4
votes
4answers
403 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
1answer
181 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
0answers
42 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 ...
2
votes
1answer
373 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
2answers
742 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 ...
1
vote
1answer
700 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
1answer
144 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 ...
0
votes
1answer
194 views

How can I get individual test iteration results from a load test?

In a Visual Studio Web Performance and Load Test project, how can I look at the (Test log) results of individual test runs from a load test? If my load test experiences any errors, I can go to the ...
0
votes
0answers
36 views

Calling user written code in Selenium IDE to generate values used in a test

How can I call a user written function to generate and save a value into a parameter? I can use the evalStore command with some JavaScript as a parameter plus a variable name to hold the value. This ...
0
votes
1answer
636 views

Executing VSTS Performance test via Command Prompt

I am executing VSTS Performance test (that is .webtest file) using the command prompt, test runs successfully when I specify the name of the result file explicitly. But when I don't specify that and I ...
1
vote
1answer
727 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
0answers
581 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
2answers
318 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
1answer
574 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 ...