Common Testing Scenarios
Last updated
Last updated
Yes, you can. Scandium provides you with a means to have your tests run from a new and clean browser session by taking advantage of the incognito/private browser windows.
To have Scandium record and run your tests in incognito windows, you need to turn on the incognito permission in the Scandium extension settings.
To have Scandium use incognito window for your tests, grant access to it by:
Opening the scandium extensions page:
Select "Allow in incognito"
Creating and running your tests in incognito window ensures that a test is not affected by stored cookies, sessions, localStorage and other existing local states. It is a very critical step towards having each automated test case self-contain and isolated.
Below are some playlists demonstrating various testing scenarious:
No. At the moment, the Scandium extension is only available on Google Chrome and other Chromium-based browsers such as Microsoft Edge, Brave Browser and Opera.
CAPTCHAs are designed to differentiate human users from bots, making them a challenge for automated testing tools like Scandium. Since they intentionally block automated interactions, you’ll need to implement workarounds or disable them during testing. Here are some practical solutions:
Use Test Keys for External CAPTCHA Services
If you’re using a service like reCAPTCHA, check their documentation for test keys that bypass validation in testing environments.
Alternatively, whitelist your test environment domains to exclude them from CAPTCHA checks.
Disable CAPTCHAs for Tests
Implement a hidden mechanism (e.g., a secret URL parameter or environment variable) that disables CAPTCHA validation when triggered by your tests.
Configure your system to skip CAPTCHA checks when requests come from known testing IP addresses.
Test in a Controlled Environment
Disable CAPTCHAs entirely in development or staging environments where automated tests run.
By implementing one of these strategies, you can maintain test automation efficiency while ensuring CAPTCHA functionality remains secure in production.
Tests where you have to get a dynamic verification code from an email inbox can pose a challenge for automation. Luckily, Scandium provides you with an easy solution to handling this.
The video below shows a demonstration on how to handle OTP-email scenarios in your tests.
Yes, you can find the official Scandium tutorials on our Youtube channel: