Questions tagged [.net]
Development framework created by Microsoft.
23
questions
0
votes
0
answers
67
views
How to execute Playwright .NET tests in Azure pipeline (Linux agent) in headed mode?
As per Playwright .NET documentation, to run tests in Azure Pipelines using headed mode, you need to specify xvfb-run before dotnet test if using a Linux agent.
However, in terms of the YAML ...
6
votes
4
answers
997
views
No tests in the legacy project - what to start with as tester? [duplicate]
I've just joined a project, which is developed for internal use for over 10 years now.
There are no unit tests nor any other manual/automated tests designed. I'm going to be the only tester.
What ...
-1
votes
2
answers
151
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
0
answers
75
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
1
answer
5k
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
1
answer
462
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 ...
6
votes
3
answers
3k
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
1
answer
560
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
0
answers
412
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
3
answers
2k
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
1
answer
426
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
1
answer
272
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?
2
votes
2
answers
4k
views
The HTTP request to the remote WebDriver server for URL
I have read a lots of guides over internet, but stuck in this issue.
I have created a Class Library (.NET Framework)
project called JuiceShopAutomation.
where I have installed following Nuget packages:...
0
votes
1
answer
53
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
1
answer
117
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
2
answers
1k
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
2
answers
618
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 ...
2
votes
1
answer
5k
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 ...
3
votes
1
answer
1k
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
1
answer
108
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
2
answers
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
2
answers
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
1
answer
464
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 ...