Category "automated-tests"

how to find href attribute to an element using cypress testing library?

using findByRole I get this error because of multiple matches on search my parameter. Timed out retrying after 5000ms: Found multiple elements with the role "li

Docker Selenium VPN: How to access internal or QA website on Docker container

I am trying to run selenium automation on QA/Staging server on Docker chrome container. I am using following code from https://github.com/SeleniumHQ/docker-sel

Testing randomness function without intended mean

I have a program that tests a randomness function for how truly random it is: function testRandom(randomF, tests, intendedMean){ let total = 0; fo

Cypress shows the JS window._tcfapi error which I cannot reproduce from manual testing

Cypress test which reproduce this error https://github.com/Robot72/quantcast-cypress-issue/blob/master/cypress/integration/quantcast/check_errors.spec.js This t

Is there a way to use an XML file to run Selenium tests?

I have a selenium test with over 100 lines of findElement, click(), sendKeys().... Is there a way I can create an XML or text file of the different parameters a

Pabot: How to use different dataset for each thread

I'm trying to Use Pabot to parallelize Robot Tests. Let me explain the issue. Assume I have TestA and TestB tests. And DataA , DataB dataset. There is 2 way/ go

Click on pop up/ alert to launch web app using selenium

Currently in my tests when i select a button a pop up appears asking me to launch my web application However I cant seem to switch onto this pop up as if its a

Cypress custom command is not recognized when invoked

I've created the following custom command in my cypress/support/commands.js file. Cypress.Commands.add("login", (username, password) => { cy.request({

Check TestCafe is running

I use TestCafe for testing a website. I use the testcafe inside my node module. Users can start the test out of the node presented website. I start it with:

How to have Cypress go through every page on site to see if there are any console errors and if so, make it known to the user running the test

I want Cypress to go through every page to see on a website to see if there are any console errors and if so, make it known to the user running the test. (I'm t

How to slow down test execution in TestCafe?

I want to check UI test execution written by another developer. It is too fast for my eyes and brain to catch what is happening. How do I slow down the executio

Trying to upload image using Karate REST API tool

I m trying to upload two images in the post method, like this but it's returning this error, the api didn't receive the uploads images I want to know how is t

Unable to load a specific URL with Cypress

I’m unable to load the following URL with Cypress. Getting timeout error. I have set the page load time to 2 mins, still same issue. General URLs eg. (htt

Is there a way to integrate Cypress reporter with "report portal" and "mochawesome"

I am trying to integrate cypress resporting with report portal and mochawaesome. The goal is to get both reports. I have tried this in the cypress.json "repor

Selenium Automation Upload file issue

While debugging I found out that my tests fail because of the unloaded file. I tried many different locators and checked the absolute path to uploading file, bu

How can I save part of a string in an alias using Cypress?

I'm trying to save just a number from a string I get from a paragraph but when I try to asign an alias to it and then check the value it returns undefined. I've

How can I save part of a string in an alias using Cypress?

I'm trying to save just a number from a string I get from a paragraph but when I try to asign an alias to it and then check the value it returns undefined. I've

TestCafe Requires Permission To Record Screen but permission is already granted on MAC

I have two TestCafe projects, when I tried to run the old one, it continuously requires Permission to record screen but permission is already granted. The new t

Converting Datatable to object with null values

Hi Everyone just wondering if I am following best practices here. I have step defintions like the following public class StepDefinitions { @DataTableType

xcodebuild test : Could not launch simulator: -10827

I am running my build agent as a launch agent. I get this error when I try to run "xcodebuild test ..." : 2016-07-14 16:31:00.535 xcodebuild[11579:21390] [MT]