Category "automated-tests"

Cucumber: custom serializer instead GherkinSerializer

I using Cucumber and need to customize some methods of GherkinSerializer that is by default. Is there is way to set by default my custom Serializer instead of G

Extent test report V3 (junit4) - Troubleshoot with appending test cases under 1 class into unique report

I have problem with appending tests into a test report. I just wanted to do the most basic steps, so I wrote 4 tc. When I run them and open the report, every ti

How do I get selenium to open my electron app?

I'm attempting to setup Selenium to test my electron app. So far I have the code from the Electron documentation, however, this only opens the HTML file, not my

How to set Chrome Options when using WebDriverManager?

I'm using Web driver manager to setup chrome driver. When setting up the driver I want to add some chrome options? How can I do it when using web driver manager

Click a button in a table, but all rows contain automatically generated identical buttons in Selenium

I am currently doing QA Automation on a web application with Selenium WebDriver, and the language I decided to use is Python 3. Everything was going great until

Cypress: how to drag an element towards another dynamic element

In cypress I'm trying to drag one element towards another element? How can I do that? It should look something like this cy.('@firstElememt').trigger('drag').to

How can I click on each link on a page and then return to the initial page using Robot Framework?

I have this link : https://pubmed.ncbi.nlm.nih.gov/?term=Fleiss+B and I want to click on each link, extract some information and then comeback to the initial pa

BoDi.ObjectContainerException : Interface cannot be resolved in Specflow test

I have this step in a Specflow test: [Then(@"the enriched messages are written to the LC")] public void ThenTheEnrichedMessagesAreWrittenToTheLC() { var LcA

How to get bundle id of iOS app - either using .ipa file or app installed on iPhone

Currently I have .ipa file and same app can be installed through test flight. I don’t have the app source code. I tried extracting the files from .ipa fil

How to store List of Elements which are present in multiple Page?

There is a button called "Responses" total number of button is 100 which are store in 2 different webpages, from 1st page to 2nd page navigation button called "

In TestCafe, is there a way to run an assertion that passes if the selector matches if 1 of 2 possible values?

Right now have I a test with an assertion that checks for today's date. However, because of time zone issues, it will start failing at a certain time of day, be

Create Selenium Webdriver once and use in Cucumber's all steps

I've experience in Back-End automation testing, but I'm new to Front-End. I've created BDD format tests for a website and now I want to automate it. I decided t

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