Guarantee a visually perfect UI with advanced AI that quickly identifies visual differences that occur over releases and can’t be caught by traditional functional tests.
Prevent bugs from reaching your customers
Integrate VisualTest into your existing stack
Python
1. Pip install the VisualTest Library:
pip3 install visualtest-python
2. Import into your script (At the top of your script):
from sbvt import VisualTest
3. Initialize the driver:
# create the Visual Test instance settings = { 'projectToken': PROJECT_TOKEN, #replace with your project token } self.visualTest = VisualTest(self.driver, settings)
4. Take screenshots
visualTest.capture('Test Home FullPage')
Cypress
1. Npm install SBVT-cypress in your terminal:
npm install @smartbear/visualtest-cypress
2. Run the setup step in your terminal:
npx visualtest-setup
3. Initialize the driver in VisualTest.config.js
module.exports = { projectToken: 'your project token here', testRunName: 'your test run name', }
4. Take screenshots in your tests
cy.sbvtCapture('example full page')
PlayWright
1. Npm install SBVT-playwright:
npm install @smartbear/visualtest-playwright --save-dev
2. Run the set up step:
npx sbvt-setup
3. Replace the project token in VisualTest.config.js:
module.exports = {projectToken: 'PROJECT_TOKEN'}
import {sbvtCapture, sbvtGetTestRunResult, sbvtPrintReport} from "@smartbear/visualtest-playwright"; import {expect, test} from "@playwright/test"; test(`should visit Playwright example page, then take sbvtCaptures`, async ({page}) => { await page.goto('https://playwright.dev/') await sbvtCapture(page, 'Playwright Example Page') })
VisualTest is compatible with your current and future visual testing needs. You have the flexibility to use your preferred testing framework and language.
TestComplete
Selenium
Cucumber
Java
Appium
Coming soon
Playwright
“When you’re building modern web and mobile apps, it’s still far too easy to make a slip-up in your stylesheets and leave the layout looking awful or even un-usable, even while your functional tests are all passing. VisualTest puts automated eyeballs on those test runs so you can be confident that the app is not only basically functional, but looks good too.” Matt Wynne, Cucumber Founder
“When you’re building modern web and mobile apps, it’s still far too easy to make a slip-up in your stylesheets and leave the layout looking awful or even un-usable, even while your functional tests are all passing. VisualTest puts automated eyeballs on those test runs so you can be confident that the app is not only basically functional, but looks good too.”
Matt Wynne, Cucumber Founder
reach out
Catch visual bugs for a visually pleasing UI
No credit card needed. Start your free trial in seconds.
Test faster while improving software quality. Get unlimited access to VisualTest.