13,225 questions
0
votes
1
answer
42
views
I have problem where i have an .exe application and i am trying to open it but it is giving me the error as shown below. I am attaching the code below [closed]
import subprocess
import os
from selenium import webdriver
from time import sleep
import getpass
username = getpass.getuser()
sleep(5)
port = str(_AD_.Port)
##print(port)
cmdurl = 'http://localhost:{}'...
1
vote
2
answers
56
views
What replaces the deprecated page.type method in playwright?
I noticed that page.type is deprecated in Playwright. Google's AI overview told me that I need to use locator.fill instead but it isn't working for the field I want to fill.
await this....
Tooling
1
vote
1
replies
46
views
Looking for a test management tool with fast test run logs and clean test case organization
I’m evaluating test management tools for a small QA team and trying to find something lightweight yet reliable for test case organization and test run tracking. Some of the traditional options I’ve ...
0
votes
0
answers
34
views
How to pass ignoreHTTPSErrors: true using playwrightOptions in Karate Test Framework?
I have tried a couple of combination below to set my driver config in karate but nothing seems to work for me. I'm still encountering the error shown below.
{
type: 'playwright',
...
Best practices
0
votes
1
replies
64
views
How to implement an automated E2E testing for an Event Driven Architecture?
I have an EVDA system that each component communicate to each other using Kafka and Outbox Pattern.
How to implement an automated E2E testing that I start producing an event from an upstream, then ...
1
vote
1
answer
59
views
Puppeteer - Wait For Element After Selector
I have an HTML table with data like
Username
is admin
Actions
New User
✓
Make Admin
Old User
Make Admin
After clicking "Make Admin", how do I wait for the check mark to show up?
I figured ...
0
votes
1
answer
48
views
Appium inspector not displaying app loaded in ios Simulator
I'm constructing an mobile automation frame using appium with webdriverIO. My employer is in the early stages of constructing their app so I'm using a boilplate WDIO app as it's a hybrid app.
I'm ...
0
votes
1
answer
86
views
Behat thinks that steps are missing in the FeatureContext [closed]
Windows 10, PHP 8.4.13, Behat 3.25.0.0.
File features/basket.feature:
Feature: Product basket
In order to buy products
As a customer
I need to be able to put interesting products into a basket
...
2
votes
0
answers
271
views
How to Load Extensions in Chrome Version 139+ using Playwright?
Earlier with the removal of --load-extension flag in the launch arguments in Chrome 137, the workaround of using --disable-features=DisableLoadExtensionCommandLineSwitch (as mentioned in question) to ...
0
votes
0
answers
50
views
How can I find MY session on a Selenium Grid webpage?
I am new to automation, so, I'm in a big company where possibly hundereds of developers currently share a single selenium grid. This results in a problem though, which, of this long list of Session ...
0
votes
0
answers
46
views
Cucumber steps are undefined in WebdriverIO + Appium with TypeScript
I am trying to implement Cucumber in my Appium + WebdriverIO framework, but I am stuck: my steps are coming up as undefined even though they are correctly defined.
Project structure:
Project name
├─ ...
0
votes
0
answers
39
views
Jetpack compose testing - Is there a way to automate accepting a system permission request?
I am automating tests on an app in Android Studio for scanning and pairing with a Bluetooth device. When my test attempts to pair with a device, a system dialog appears asking for Bluetooth pairing ...
-5
votes
2
answers
116
views
How to use Convert JSON To Dictionary?
How to use Convert JSON To Dictionary?
1.file json is correctly.
2.import library correctly.
The issue is this keyword "Convert JSON To Dictionary" still red error line.
This is error ...
0
votes
1
answer
205
views
How to solve Cypress "this page was cleared by navigating to about:blank" issue on Cypress 13.14.1?
I, and my team, are running Cypress 13.14.1 on Node 20.17.0 and npm 10.8.2.
For over a year this has been working fine - we have a about 80 tests that we run (from our local machines) at least a few ...
0
votes
0
answers
50
views
RestAssured throws HttpResponseException on 422 Unprocessable Entity instead of allowing assertions
I'm facing a persistent issue with RestAssured where it throws an io.restassured.internal.http.HttpResponseException for a 422 Unprocessable Entity response, preventing my test from reaching the ...
1
vote
1
answer
158
views
Snapshot for visual testing is not capturing entire component
I am using vitest with vitest-plugin-vis and playwright to perform visual testing in my Vite project. The issue I am facing is that the snapshots that are generated are only capturing part of my ...
0
votes
0
answers
95
views
how to finish Playwright Run tests as it continuously loading in case of failed test case in pipeline 'http://localhost:9323. Press Ctrl+C to quit
When I execute test cases which will result pass test cases azure pipeline successfully run and show results under a min.
when I enabled failed test cases azure pipeline keeps on loading- until I ...
1
vote
0
answers
190
views
System.ObjectDisposedException: Request has finished and HttpContext disposed when making requests in Task.WhenAll
I'm trying to create a test where I can simulate multiple users simultaneously passing requests through my custom middleware. I was hoping that I could create multiple simultaneous requests using ...
1
vote
0
answers
50
views
How to run vscode-extension-tester on compiled source (instead of .vsix)
What is the correct process for running vscode-extension-tester (the project's official example) against the project's compiled source code (as opposed to having to build a .vsix package before ...
0
votes
0
answers
50
views
VS Code extension not loading when using vscode-extension-tester
I am trying to use vscode-extension-tester to write end-to-end tests for a VS Code extension; however, I can't get the tester to load my extension.
How do I debug why my extension isn't loading?
My ...
-1
votes
1
answer
98
views
How to select an element from a dropdown menu?
I have a pop-up modal, in which I am creating a rule from, but when trying to select the elements from the select-menu, my test fails. I have this on the web page
<label class="form-label"...
0
votes
1
answer
82
views
Avoid browser's download file dialog box in selenium/C# automation
I am using selenium and c# to test the download file from the browser application. when I click on download button then file download option is opening on the browser. So how can I resolve this. Also ...
0
votes
1
answer
77
views
Pytest fixture saved into a pickle
I am working on a project where I am building on top of a solution of a very time-consuming problem. Instead of solving the very time consuming part many times, I only run the solver once, I save the ...
0
votes
1
answer
77
views
VSCode openResources() Not Opening Folder in Ubuntu (No Error Shown)
I'm trying to open a folder in Visual Studio Code using the openResources() method from vscode-extension-tester on Ubuntu. The code executes without throwing any errors, but the folder doesn't open in ...
0
votes
1
answer
63
views
How do you handle assigning unique IDs to front end Vue elements for testing?
We want to assign UUIDs to our front end Vue user-interactable elements (inputs, buttons, links, dropdowns, etc) for our automated testing. We want to structure this in a way that allows common ...
0
votes
1
answer
52
views
Multiple origin() in the same test file lead to error
I have a bunch of Cypress tests for a project for a long time, and all went well so far. All tests are end-to-end.
I use Cypress 14.4.1
Recently, I had to write tests to check if some button leads to ...
0
votes
0
answers
42
views
How can I use Cypress to retrieve an array of elements, then run a test against each of those elements?
I have a large menu on my site. I want to create a test that test's each link individually in it's own it function.
I imagined doing it in the following way:
let linkArr = [];
describe('I am on ...
0
votes
1
answer
75
views
Cypress showing false positive when button is covered by a transparent element
I recently had an issue where a button was covered by a transparent element (z-index and position absolute issue) making the button visible but not clickable.
Cypress passed these tests and was able ...
0
votes
1
answer
183
views
VSTest@2 task error on Azure DevOps pipeline: "...does not have the right version or settings of Visual Studio Test task to run tests.:
I'm trying up update my test results on my test plan via my release pipeline. I go to the test plan, click execute, click on the dropdown arrow next to "Run for web application", click "...
1
vote
2
answers
201
views
TypeError: (0 , _reactDom.render) is not a function
I'm new to React, so I started with the official tutorial, a tic-tac-toe game. I made some modifications to it, including adding a timestamp to the screen. Now I want to add tests.
I created a file ...
0
votes
2
answers
65
views
How to click or select a particular radio button out of 2 or more radio buttons by using Selenium C#?
The following login page link: https://rahulshettyacademy.com/loginpagePractise/ has 2 radio buttons: Admin and User
I have right-clicked on User radio button and then I have selected Inspect to have ...
1
vote
1
answer
48
views
Unable to Rename Folder/File Using vscode-extension-tester
I am trying to rename a folder using vscode-extension-tester. However, I’m not sure what to do after running the following commands:
await item?.select();
const menu = await item?.openContextMenu();
...
0
votes
0
answers
44
views
Connecting RSAT to Dynamics F&O: "keyset does not exist"
We are using RSAT (Regression Suite Automation Tool) to automate testing after updates in Dynamics F&O. In order to connect to F&O and execute the (automatic) tests I need to download and ...
0
votes
0
answers
390
views
Add Reqnroll to an existing Microsoft Tests project doesn't execute the tests
I have an existing project built with MSTest version 3.6.4 and Microsoft.NET.Test.Sdk 17.12.0 with all my unit tests.
I added Reqnroll to the project, and I created a feature. After the first build, I ...
0
votes
0
answers
29
views
TCShell.exe.config line 88: The configuration section cannot contain a CDATA or text element
I've executed the following steps of "Automatisierte Reports über TCShell erstellen"
https://support-hub.tricentis.com/open?id=manual&lang=de&path=%2Ftosca%2F2320%2Fde%2Fcontent%...
2
votes
0
answers
266
views
How to bypass or auto-accept Chrome's file editing permission dialog triggered by window.showDirectoryPicker() in Playwright?
I trying to download a file into a folder that is not in the list of managed permissions of Playwright.
The reason I need to test this particular download is because I am dealing with a websockets ...
0
votes
1
answer
116
views
vscode-extension-tester: Default VSIX File Added
I am attempting to use the vscode-extension-tester from this: tutorial. However, I only need to install my own VSIX extension. I added a script to package.json (extest install-vsix), but it still ...
2
votes
1
answer
92
views
Tests not running with JUnit, with no errors nor log either
My JUnit tests simply aren't running. When I tried, nothing happened. JUnit displayed 0/0 tests run, and there were no logs nor errors in the console
I checked the different possible causes in this ...
0
votes
1
answer
128
views
Problems interacting with a Quasar q-select vue component in Cypress
Issue: Currently struggling to interact with a quasar q-select Vue component on our system. It can find the element without any issues, and the click event appears to fire, but no animation happens, ...
0
votes
0
answers
68
views
Can't link Azure Test Plan with Automated Unit Tests
Introduction to Problem
Basically, in Azure DevOps, I have created a test plan. Within the test plan I have a test suite with two test cases. In Azure repo, I have an entire project with two unit ...
0
votes
0
answers
21
views
Locators taking time to load the UI element while running the Automation test cases for android
I have some XML layouts in my android which includes coordinator layout and collapsing toolbar inside my coordinator layout.
After a lot if hit and trial we found that, xml tag : layout_behavior in my ...
0
votes
0
answers
54
views
Appium iOS – How to launch app in a fresh state every time without uninstalling?
I'm automating an iOS app using Appium and I want the app to start in a completely fresh state every time it launches, but without uninstalling or reinstalling the app.
What I’ve tried so far:
Set the ...
1
vote
1
answer
119
views
Robot Framework Selenium - Cannot reliably click/scroll in Flutter web canvas elements
I'm internship QA testing on Flutter web application with Robot Framework and Selenium Library. My task is to perform end-to-end (E2E) testing on a Flutter web app that heavily uses canvas structure. ...
0
votes
0
answers
16
views
Appium - How to write test cases for SVG drawing and two-finger tap gesture on mobile browser?
I'm working on a mobile web application where I have an element in the HTML. I wrote some JavaScript code that allows users to draw on numbers inside the SVG using their fingers.
I want to write ...
0
votes
1
answer
242
views
System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 135
I know there are so many threads regarding this but my issue is a bit different.
My Browswer version is 134.0.....
My ChromeDriver Version is 134.0...
and Chrome Version 135 is not available yet for ...
0
votes
0
answers
32
views
Airflow Dag testing automation
Dag testing for data pipeline, what are the best possible ways to automate the data pipeline testing?
Best automated way to test the DAG
Best possible Automated way to Test the Airflow DAG with ...
1
vote
0
answers
109
views
how to find an element inside an iframe in k6/browser?
I'm trying to automate an interaction with a dynamic iframe using K6 Browser, but I'm facing difficulties when trying to click a button inside that iframe. The code I'm using is as follows:
const ...
0
votes
1
answer
67
views
Can I get the Cypress API to run `.feature` files as well as `spec` files?
I've got a mixture of Cucumber .feature files and normal Cypress .spec.js files.
Normally, they run together fine as I have included:
specPattern: ["cypress/e2e/**/*.spec.js", "cypress/...
0
votes
0
answers
35
views
Selenium action chains scrolling
I'm looking for a away to scroll a select options using selinum,
the options is inside a modal.
I have the coordinates of the select option accurately,
using the coordinates I should find a way to ...
1
vote
1
answer
82
views
Can't find elements in page after button click was successful
First time using Playwright and Typescript. I need to write code for one manual test, but I have problem after click first button, which after shows registration input fields and one button.
Error: ...