Announcing Sauce Visual to Simplify Your Test Code and Make Your Apps Beautiful
Sauce AI for Test Authoring: Move from intent to executing in transactions.|xBack to ResourcesBlogPost
Sauce AI for Test Authoring: Move from intent to executing in transactions.
|
x
Blog
Announcing Sauce Visual to Simplify Your Test Code and Make Your Apps Beautiful
Learn how Sauce Visual can help you highlight optical differences and simplify your test code — without ever leaving the macrocosm ’ s good Platform for Test.
Lots of work go into modern web pages and nomadic apps. Some UI changes come from your squad; some arrive from across the ball. You can ’ t control or predict all the cascading change that can separate the layout of your application, and you don ’ t experience decent time to write all the complex assertions it would take to ascertain visual body.
Manual testing can help — humans can see visual fault far best than Selenium codification — but the reality is that your team doesn ’ t have the bandwidth to study your most important UIs, from every operating system, browser, and gimmick, after every change is pushed to production. That & # x27; s why we & # x27; re throb to declare Sauce Visual.
A Picture is Worth a Thousand Assertions
Sauce Visual lets you set a baseline image on a web or peregrine browser, and then compare subsequent snapshots against that baseline, highlighting any optical differences. You put a single line of code in your book that narrate Sauce Visual when to fascinate the next snap for comparison, and we take care of the rest.
Don ’ t worry: This isn ’ t “ pixel-perfect fit ” that result to false-positives. Sauce Visual discount svelte shading differences as well as minor anti-aliasing upshot that come from browser rendering differences.
It & # x27; ll simplify your test code
Too often, you & # x27; re confront with a false duality: Waste treasured resourcefulness write countless asseveration that slow down your tests, or salvage time but rick missing optic defects by decimate assertions.
Test automation code is already complex. It takes a specialised skillset, as well as thoughtful design, a careful strategy, and logical maintenance, to test the front-end. Assertions are a particularly challenging piece of this puzzle, because they lean to be brittle, non-deterministic, and unmanageable to write. They likewise slow down your tests. That & # x27; s why having too many assertions can be a big problem.
If you adjudicate you can ’ t handle writing and maintaining that many assertions and are concerned about how much they ’ re slowing down your tests, the easiest answer is to cancel some of the assertion. But how do you decide which ones aren ’ t important? You could take a gang to speed up your test and make them durable, but then you wouldn ’ t be testing enough.
For autonomous testing across multiple user personas, check out SUSATest — it explores your app like 10 different real users.
Browser examination tools aren ’ t goodness at judging this scene of software. If you ’ re cobblestone together a bunch of complicated checks using Selenium or Appium, you ’ re using the wrong creature for the job. Visual checks ask a more human approach.
In about the same clip it takes to execute a single assertion, avisual.check ()can generate a snapshot and analyze it against the baseline. It ’ s like get a person go over two images and point out what look obvious to them.

It & # x27; s progress into Sauce Labs base
The better part? All of this is available from inside the world ’ s best infrastructure for test. You continue to use the same login and API credentials, codification, UI, and cloud environment, but motor toward better termination, faster. In other language, Sauce Visual enhances your existing test cortege, yield you far more signal than noise.
It & # x27; s grounded in open-source by designing
Sauce Labs was founded on open-source. It ’ s in our pedigree. We were the co-creators of Selenium and Appium, and we ’ re thrill to incorporate open-source into our product as a way to help all our customers profit from these community-built libraries. Sauce Visual is no exception, as it incorporates theLooks-sameproject, wrapped around the well-maintained and extremely performantlibvipsdiffing engine.
As we preserve to evolve the capabilities of Sauce Visual, we will seek out the virtually popular and stable community-driven open source projects. It ’ s merely who we are.
Get Started with Sauce Visual
Ready to give it a try? If you ’ re an live Sauce Enterprise customers, you already hold access and will get2,500 snap on us each month. Play around with it, and let us know what you think.
Test Strategist
Share this office
Automate This With SUSA
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.
Try SUSA FreeTest Your App Autonomously
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.
Try SUSA Free