Category "testing"

How to hide HTTP Header Manager for a image upload post API in jmeter

I create two HTTP request, both post REST API. One of the API content-type is "application/json" for which I have added HTTP Header manager. My other API is for

Partial text assertion and compare of 2 variables in selenium ide

I'm having a problem that I'm not sure how to solve. I have a customer code on one page (ex. Test095). I store it as var1. And I have to navigate to another pa

Compose Desktop testing - how to check if something is visible?

Given some simple content: @Composable fun MyContent() { var showThing by remember { mutableStateOf(false) } if (showThing) { Box(Modifier.testT

Override Django cache settings in tests

I'm using Django DummyCache in my tests, however, there are a few tests which relay on real caching so using fake caching is not good here. Is there a clean w

Is there any IE 11 extension to modify header same like mozilla with modify header?

I would like to know more about IE 11 extension that can actually modify header manually. Basically I need to modify header and pass as "Referer" to spoof if we

Found input variables with inconsistent numbers of samples: [301056, 253]

I am working on ML and for training my data, I used these functions. What I already did in this: I already apply replacing the value of X in it. Code: from skle

Why use Page Factory?

I am a new test engineer and have been reading about Page Object Model and implementing them and keep coming across Page Factory. I understand that Page Factory

How jasmine spyOn a generic method

I try to make a spy on a generic method in typescript, but cannot get Jasmine to recognise it. I have code http: HttpClient <- Not proper code, just showin

Intercept navigation change with jest.js (or how to override and restore location.href)

Application code is calling location.href = "some-url". I want to write a test that verify the navigation redirect has happened. Using jest on jsdom, I tried t

What is a Selenium wrapper?

Does it wrap around Selenium and provide a simpler or different method of invoking the functionality of Selenium? I looked it up on Google and the best informat

Using WebApplicationFactory to do E2E testing with .Net 6 (minimal api)

Im trying to get E2E/UI testing (selenium, playwright) to work with my unit testing framework. The basic idea it to use MSTest and the WebApplicationFactory to

ERROR Brownie Mainnet Fork Testing `brownie.exceptions.VirtualMachineError: revert` problem or other?

When I try to test below project, it gets below error. Any thoughts why test fails, am I missing something? I am following 16 hours Solidity course of 'freecode

Citrus flightbooking sample execution?

I am new to Citrus so I tried to execute flight booking sample but I face some problems. First of all, I think that something is wrong with the readme file (rea

Automation Test executed by Runner works fine, but when execute this by command mvn, it gets error in test that already works fine

I am a QA and created a framework(JAVA) to execute my tests. Everything is going fine running the tests by Runners. All those tests works fine and got the PASSE

How to ignore classes in test class with ArchUnit

I wrote my first ArchUnit test: import static com.tngtech.archunit.library.dependencies.SlicesRuleDefinition.*; // more non-static imports @RunWith(ArchUnitRu

How to use go-vcr with githubv4 ? - getting httpClient Transport

Looking at the set up for go-vcr // Start our recorder r, err := recorder.New("fixtures/etcd") if err != nil { log.Fatal(err) } defer r.

Can anyone explain how to get all the mismatch between two responses in karate?

Like if I have two JSON as below and I want to check the mismatch between those JSON 1: { name:'john', contact:'123', country:'america' } JSON 2

Unable to fetch data from test rail using java

I am using the API provided by Test rail to pull info using java. Below is my program. APIClient client = new APIClient("https://test.testrail.net/index.php?/r

Unable to fetch data from test rail using java

I am using the API provided by Test rail to pull info using java. Below is my program. APIClient client = new APIClient("https://test.testrail.net/index.php?/r

ArrayList equality in junit not working although expected and actual are similar

I am using below test method to check whether the Arraylist is sorted as expected. @Test void compareFields() { Assignment14 assignment14 = new Assi