5

Accessibility testing (a11y) is an important part of testing any application. In my experience, it's not done often enough, although more and more companies are getting involved here given legal issues that have cropped up in the last couple of years. Like anything else that is designed by UX or developed by Developers, a11y needs to be tested. Structure: If ...


3

const playwright = require('playwright'); (async () => { const browser = await playwright["chromium"].launch({ headless: false}); const context = await browser.newContext(); const page = await context.newPage(); await page.goto('http://www.google.com/'); await page.screenshot({ path: `example-chromium.png` }); locator ...


2

It is actually about Automation best practice There are good practices in context, but there are no best practices. I have the understanding that Automation Scripts need to be built on a stable build (application) Why? What is a "stable build" in your context? Automation in Testing serves to enhance human capabilities in testing. These ...


2

I don't know if an authoritative answer can be provided, but I think simple logic should suffice: your primary use of automation is regression developing automation scripts takes (a lot) more time than doing the same thing manually If the above is true than it makes sense to invest (a lot of) time in automation on something that will last enough time to ...


2

driver.get( "http://www.uitestingplayground.com/scrollbars") time.sleep(10) driver.execute_script( "arguments[0].scrollIntoView({'block':'center','inline':'center'})", driver.find_element_by_id("hidingButton")) https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView use inline and block options


2

I work in an environment where we have many environments but they're all part of a single release pipeline, i.e., features are first deployed to dev and they progress through all environments until they reach production. I can imagine some organisations might have different environments that are connected to different downstream systems, which possibly ...


1

That depends on what exactly you use. Playwright could be used with jest, mocha, ... Some examples with mocha: package.json: "scripts": { "smoke-test": "./node_modules/.bin/mocha tests/smoke-tests", "regression-test": "./node_modules/.bin/mocha tests/regression-tests" } then you'd run e.g. $ npm run ...


1

It depends If you're testing Tableau and you're after a commercial solution, have a look at Kinesis CI. I haven't personally used the tool but I've seen teams in my organisation use it for their reports (though they eventually moved on from it to building their own Selenium framework). If you're testing Power BI, you don't have a lot of options that I'm ...


1

First, this question really isn't about Cypress, but how JavaScript works. Unfortunately, you can't return multiple values in JavaScript like how you're doing it. What you can do is add your variables to an array or an object. This way, you are returning one type with multiple values. Then when you need to use the returned values, you can read the array ...


1

You can make a call to TestRail's endpoint add_result_for_case. Example in Java: Map data = new HashMap(); data.put("status_id", new Integer(1)); JSONObject r = (JSONObject) client.sendPost("add_result_for_case/1/1", data); You can find the definition of the endpoint here. You can find the complete documentation here and some extra ...


1

it's a bit embarrassing, (because i remembered I did this before) After doing an mvn clean, and an mvn compile again, Then the issue disappeared. something probably got stuck somewhere and needed a clean again..


Only top voted, non community-wiki answers of a minimum length are eligible