Category "automated-tests"

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

Codeceptjs doesn't load most elements, waitForNavigation() just causes it to freeze forever

I am having an issue testing with codeceptjs. I am attempting testing apps on the Atlassian cloud but codeceptjs/puppeteer cannot interact with any of the eleme

How to automate Google PageSpeed Insights tests using Python

Is there a way to automate checking Google Page Speed scores?

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

Node js - Node Path : How to find the Node Path on a windows machine

Hi, Please see the attached picture for the settings of the extension Ponicode - used to automate unit tests How do I find the Node Path for node js on my wind

QATester weird Error: clickable element "ADD" was not found by text|CSS|xpath

Sup Guys! I'm finishing an Assesment related to an PHP/MySql App; I have learning from scratch since I have never seen PHP before, and I have to admit that I wo

Playwright before each for all spec files

I very new to Playwright. Due to my test suites, I need to login into my application before running each test. Inside a single spec file that is easy, I can sim

How do I call a @Before method from my Hooks class, in TestRunner?

I am setting up an automated framework to run tests on Android emulators, using Appium. I have added logic to launch Appium and the emulator programatically, bu

WebUI.maximizeWindow() not working for Katalon Docker image?

WebUI.maximizeWindow() does not work for katalon docker image, The command works fine on Katalon desktop, but when I run this on docker image it seems to igno

Selenium Hub, Launches 2 browser only runs test in 1 of them (selenium python)

TL/DR: Right now it launches 2 browsers but only runs the test in 1. What am I missing? So I'm trying to get selenium hub working on a mac (OS X 10.11.5). I in

How to test authenticated POST request with Pytest in Django

I want to test an authenticated post request on an API using Pytest. This is what I am doing so far: def test_auth_user_can_create(self, client):

Python playwright: wait for arbitrary DOM state

I've been tooling around with Playwright on Python (v1.16) and thought I'd migrate some of our Cypress tests as an experiment. However, I've run into several sn

How to create xpath locator when element does not have any attributes

How can I access the element using xpath selector if that particular element does not have any attributes? <?xml version="1.0" encoding="UTF-8"?> <chal

cy.url() and/or cy.location('href') does not return a string

I have an editor page. When I add any content and click the "Save" button my URL will change, adding a random id in the URL. I want to check if my ID's are chan

CucumberException: Failed to instantiate class stepDefinitions When run tests

Please help. I think that there is a mistake when initializing the page public class AuthStepDefinitions { private final AuthPage authPage = new AuthPage();