Category "testing"

Karate tooling : How to make rest api kerberised calls/SPNEGO authentication? [duplicate]

We have a basic use case to connect to webserver and get an ack back but having issues in Authentication. Scenario : Feature sample Given url

How to test an SQL Update statement before running it?

In some cases, running an UPDATE statement in production can save the day. However a borked update can be worse than the initial problem. Short of using a test

Force a TestCafé to abort the execution of a test if it get stuck

I am working with TestCafé 1.8.1 and testcafe-browser-provider-electron 0.0.14. Let's say that an issue in the application force it to get stuck and hang

Laravel actingAs guest

Laravel provides a way to authenticate a given user during HTTP testing with $this->actingAs($user); Is there a way to unauthenticate that $user within t

How can I make my TestCafe framework handle A/B experiments on web apps?

I have built an automation framework for testing our web app that runs as after each new deploy to our staging environment, as a regression pack. Now the issue

What is difference between Instrument & Deploy App under test?

I would like to know the difference between "Instrument the App under test" and "Deploy the App under test". I'm new in App testing.

Should integration test bypass login natural processes in order don't retest same login functionality for many times

Let's say I'm testing a web service and I have a couple of scenarios requires user to be authenticated: Scenario #1: Customer sign-up Scenario #2: Customer si

How can I hover over an element then click

I want to hover over the "My Account" button and the click the "Login" button opened popup. I have tried the below code but it did not work. Does anyone know a

Is there any way to run cypress open and only include test files containing a key word? eg. lifecycle from domains-lifecycle.spec.jsx

I have a fairly large library of test files in my project (roughly 80) and I have them named with keywords ex. "create" "Edit" and "lifecycle". I want to be abl

How to correctly structure SQLAlchemy (declarative style) python project and it`s unittests

I am developing large backend for some web apps. This is my first python and SQLAlchemy project, so I am confused with some things. And was kind of spoiled by J

How to check if a file has downloaded successfully?

My page has a link that on clicking will download a file. I just need to check if the file has been downloaded and of the correct extension.

Flutter Test: temporarily disable Firebase or somehow make the test not fail because of Firebase?

I wrote a test: homeScreenWidgetsTest() { testWidgets('Home page screen widgets', (WidgetTester tester) async { await tester.pumpWidget( Materia

Element was null when I user page object pattern

I'm new to mobile automation, and I'm facing a problem with page object pattern. When I try to find element with FindElementById everything works, here is my cl

Python Global Variable Not Defined - Declared inside Class

I've seen a lot of questions on global variables, but for some reason I still can't get mine to work. Here is my scenario - I have my individual test cases an

How to click elements that have generated id's if I don't know what the ID will be in Selenium

Say I have some HTML mark-up as such: <select id="select_titleOfSelect-1212_01" name="titleOfSelect-1212" <option value="ONE"></optio

Robot Framework - check if element defined by xpath exists

I'm wondering, I'd love to find or write condition to check if some element exists. If it does than I want to execute body of IF condition. If it doesn't exist

Gatling load testing and running scenarios

I am looking to create three scenarios: The first scenario will run a bunch of GET requests for 30s The second and third scenarios will run in parallel and wait

Change the representation of special characters in Gatling script

How can I change the representation of special characters in Gatling? I need to do this in token exchange, for example: Here is sample response from server 1a

How to create tests w/Doctrine entities without persisting them (how to set id)

I'm working on tests for a Symfony2 project, and right now I'm looking for a way to create tests involving entity objects without persisting them. The problem i

Is there any mobile testing tools? [closed]

I want to ask about a tool or software to test j2me mobile app. On different screens and different devices. Also if available to test if appl