Questions tagged [.net]

Development framework created by Microsoft.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Unit Testing in C++ CLI Windows Forms Application

I have built an application using C++ CLI in Windows Forms Application. I need to create unit tests for this. I tried searching everywhere on the internet but nowhere there is a way to do it. ...
-1
votes
2answers
48 views

New to automated testing (C#, Selenium/Tosca, .NET, Visual Studio)

After working 4 years as manual tester, I now want and have to learn "how to do test automation" after joining a new company. My new team is currently developing a new web app in Visual ...
1
vote
0answers
46 views

Azure devops test result grouping when using Specflow+ Runner

I am working on a testautomation project using .NET Core 3.1 and Specflow 3.5 using the Specflow+ Runner. I am currently running the testautomation from Azure Devops using the VSTest task (see YAML ...
0
votes
1answer
1k views

How to fix : BoDi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('nunit')

I am trying to build task in Azure pipeline. Observed error : OneTimeSetUp: BoDi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('...
1
vote
1answer
341 views

Tuning .net core 3.1 application load testing using Jmeter on linux

I want to do (distributed) performance/load testing using jmeter on an Aspnet core 3.1 application on linux but I'm not satisfied with the results I had so far. To make sure the environment is well ...
4
votes
3answers
1k views

Writing Integration Tests programmatically vs using Postman for REST APIs

I am developing REST APIs in my project and using .net core 3.1. Various best practices suggest that we should write Unit Tests as well as Integration Tests for our project. I agree with the point of ...
3
votes
1answer
444 views

Selenium Click not working on IE11 using c#

Local Machine: Dell Latitude (i7-8650U CPU @ 1.90GHz 2.11 GHz) with 16.0 GB RAM Operating System: Windows 10 Pro (64-bit) v1909 Display Scale and Layout: 100% Running on Visual Studio 2017 (v 15.9.21)...
1
vote
0answers
208 views

How do I make a custom logger for Fluent Assertions?

I'm using NUnit and Fluent Assertions for testing. I'd like to write a custom logger for my test steps which shows which steps have passed and the step (if any) that failed. It looks like someone has ...
-1
votes
3answers
770 views

How to perform the performance testing on ViewState based application

I was trying to perform the performance testing using JMeter on view state base application, but I'm not able to get a successful response. As of now I'm able to record the browser action, but ...
2
votes
1answer
403 views

Automated test generator

After a long road with Randoop.NET as a unit test suggestion tool, my developing team has decided to upgrade to a commercial tool which will provide us a full unit testing framework for professional ...
0
votes
1answer
244 views

Code to automate a web form in SilkTest tool using VB/.NET Language? [closed]

I am new to Silk test and dont know VB or .NET coding. Please provide a sample code to automate a website/form in VB or .NET?
1
vote
2answers
4k views

The HTTP request to the remote WebDriver server for URL

I have read a lots of guides over internet. Though I am still but stuck in this issue. I have created a Class Library (.NET Framework) project called JuiceShopAutomation where I have installed ...
0
votes
1answer
49 views

Security test for .net desktop application: upload a file (shell) to check how software behaves

I am looking for a most common injection file (shell) to import my software to check if it is open to these kind of attacks or not. Any recommendation, web sites or blogs? (summary: i will upload ...
0
votes
1answer
64 views

Never ending loop on element availability / visibility

I have written below code to make test script wait till some of my elements get loaded. But what if, that element will never get loaded? That means if TopWorkOrderCard.Displayed will never get ...
0
votes
2answers
955 views

Login Via Jmeter for ASP page does not work

Currently I have a page that has been created in .net when I used the HTTP(s) Test Script Recorder and try to record login page, the page is sending a post request but the page is redirect to same. ...
1
vote
2answers
616 views

unit testing vs automation selenium resume value [closed]

I started working in automation development with selenium and am told it is a hot field and can earn some high-end coding salaries. We recently hired a new manager who once hired immediately took us ...
1
vote
1answer
4k views

Sikuli and it's effectiveness with .NET

I am researching a proof of concept for the automation tool Sikuli, and I work primarily at a .NET shop. I see a lot of videos using this product with Java and Eclipse. My question is simply: Does ...
2
votes
1answer
950 views

How to see ongoing progress of my Selenium tests run in NUnit on Jenkins?

I am running my tests in Selenium using NUnit and Jenkins and it takes more then 2 hours to run all tests. I want to see the progress of the tests for monitoring if everything is OK like a team city ...
0
votes
1answer
106 views

How to write test cases for .NET [closed]

I want to create a test case, for this code, in .NET: public static string GetCaseClient(Case cCase) { try { string cClient = ""; if (cCase.CaseParties != null ...
1
vote
2answers
3k views

C# Selenium Webdriver "The path is not of a legal form." [closed]

Running firefox portable (which I know used to work) is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new FirefoxBinary(@"C:\FirefoxPortable\...
2
votes
2answers
1k views

Opening Multiple windows of firefox in the same test case

My question might sound very odd to you all but just wondering if this is possible for us. Okay so I have written 10 cases for my login page in selenium using C# .net. But they take quite a lot of ...
1
vote
1answer
448 views

.Net GUI testing of third party components

Recently I have started to create a prototype automated test for a .net based desktop application. Our team uses at-least two third party components which I cannot reach with the MS UIAutomation ...