Category "automated-tests"

How to do live self monitoring inside the application

We are applying unittests, integration tests and we are practicing test driven and behaviour driven development. We are also monitoring our applications and ser

Android testing: Waited for the root of the view hierarchy to have window focus

In Android Ui testing, I want to click on a spinner item in a dialog, but it pop up with this error: va.lang.RuntimeException: Waited for the root of the view

Is there a way to disable the `takeScreenshot()` action when an OpenTest test fails?

Sometimes it's useful to do something like loop an AssertElementNotVisible() until the element in question is visible. However, the takeScreenshot() event is qu

Alpine Docker ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied

So I have used the default docker for testcafe which on docker hub is testcafe/testcafe and I have to run a few testcafe scripts. However, I need the screens

Pass a variable from command line into scenario or feature in feature file

Currently I have Behave tests that run in Selenium but pick which browser to test based on an Environment Variable. Is there any way to pass text from the comma

How to associate chrome extension with specific tab?

I am opening chrome extension in a tab instead of pop up with following code: chrome-extension://xxxxxxxxxxxxxxxxxx/popup.html But when I do so the extension do

How do I wait for an element to disappear in Cypress?

I'd like to preface this by saying that I really tried looking here and anywhere else for an answer but without a succes. Here is the problem: I'm trying to aut

Finding screen elements in appium(iOS) using contains

I am doing QA and recently started using appium and cucumber to automate some tests and am still new to this. I succeeded in what I wanted to automate using som

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

What is the difference between import and cy.fixture in Cypress tests?

I'm learning cypress and I don't understand what differs from import file from '../fixtures/filepath/file.json' a fixture file and calling cy.fixture(file), and

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

Run Android instrumented tests fail

I tried to implement some unit and instrumented tests for my Android application (Java), my unit tests is working fine but instrumented tests are failing: @Run

Python Selenium - I'm trying to use pytest framework , running into errors

from selenium import webdriver from selenium.webdriver.common.by import By from commonPages.LoginPage import LoginPage from util.InitialSetUp import InitSetup

Undefined steps in cucumber

After running my test, Cucumber says my step is undefined. Did I do something wrong? Feature: Then I should see Error message for "ORIGIN" zipcode with key &l

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.

Cypress: How to properly close a mat-select

So I'm using Cypress for testing our Angular application, but for some reason I always have an issue with closing mat-select components which are multiselect. H

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