{"id":25829,"date":"2021-01-21T21:26:45","date_gmt":"2021-01-21T21:26:45","guid":{"rendered":"https:\/\/applitools.com\/?p=25829"},"modified":"2022-09-27T11:37:30","modified_gmt":"2022-09-27T18:37:30","slug":"visual-ai-hype-or-reality","status":"publish","type":"post","link":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/","title":{"rendered":"Visual Assertions &#8211; Hype or Reality?"},"content":{"rendered":"\n<p>There is a lot of buzz around Visual Testing these days. You might have read or heard stories about the benefits of visual testing. You might have heard claims like, &#8220;more stable code,&#8221; &#8220;greater coverage,&#8221; &#8220;faster to code,&#8221; and &#8220;easier to maintain.&#8221; And, you might be wondering, is this a hype of a reality? <\/p>\n\n\n\n<p>So I conducted an experiment to see how true this really is.<\/p>\n\n\n\n<p>I used the instructions from <a href=\"https:\/\/applitools.com\/hackathon-v20-3-instructions\/\" target=\"_blank\" rel=\"noopener\">this<\/a>&nbsp;recently concluded hackathon to conduct my experiment.<\/p>\n\n\n\n<p>I was blown away by the results of this experiment.&nbsp;Feel free to try out my code, which I published on Github, for yourself. <\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-visual-assertions-my-learnings\">Visual Assertions &#8211; my learnings<\/h1>\n\n\n\n<p>Before I share the details of this experiment, here are the key takeaways I had from this exercise:<\/p>\n\n\n\n<ol><li>Functional Automation is limiting. You only simulate known user behaviors, in predetermined conditions and in the process only validate &amp; verify conditions what you know about. There has to be a more optimized and value generating approach!<\/li><li>The Automation framework should have advanced capabilities like soft assertions and good reporting&nbsp;to allow quick RCA. <\/li><li>Save time&nbsp;by integrating Applitools\u2019 Visual AI Testing with the Ultrafast Grid to increase your test coverage and scale your test executions.<\/li><\/ol>\n\n\n\n<p>Let us now look at details of the experiment.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-context-what-are-we-trying-to-automate\">Context: What are we trying to automate?<\/h1>\n\n\n\n<p>We need implement the following tests to check the functionality of <a href=\"https:\/\/demo.applitools.com\/tlcHackathonMasterV1.html\" target=\"_blank\" rel=\"noopener\">https:\/\/demo.applitools.com\/tlcHackathonMasterV1.html<\/a><\/p>\n\n\n\n<ol><li>Validate details on landing \/ home page <br>This should include checking headers \/ footers, filters, displayed items<\/li><li>Check if Filters are working correctly<\/li><li>Check product details for a specific product<\/li><\/ol>\n\n\n\n<p>For this automation, I chose to use Selenium-Java for automation with Gradle as a build tool.<\/p>\n\n\n\n<p>The code used for this exercise is available here: <a href=\"https:\/\/github.com\/anandbagmar\/visualAssertions\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/anandbagmar\/visualAssertions<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-step-1-pure-functional-automation-using-selenium-java\">Step 1 &#8211; Pure Functional Automation using Selenium-Java<\/h1>\n\n\n\n<p>Once I spent time in understanding the functionality of the application, I was quickly able to automate the above mentioned tests. <\/p>\n\n\n\n<p>Here is some data from the same.<\/p>\n\n\n\n<p>Refer to <a href=\"https:\/\/github.com\/anandbagmar\/visualAssertions\/blob\/main\/src\/test\/java\/com\/eot\/hackathon\/HolidayShoppingWithSeTest.java\" target=\"_blank\" rel=\"noopener\">HolidayShoppingWithSeTest.java<\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Activity<\/th><th>Data (Time \/ LOC \/ etc.)<\/th><\/tr><\/thead><tbody><tr><td><p>Time taken to understand the application and expected tests<\/p><\/td><td><p>30 min<\/p><\/td><\/tr><tr><td><p>Time taken to implement the tests<\/p><\/td><td><p>90 min<\/p><\/td><\/tr><tr><td><p>Number of tests automated<\/p><\/td><td><p>3<\/p><\/td><\/tr><tr><td><p>Lines of code (actual Test method code)<\/p><\/td><td><p>65 lines<\/p><\/td><\/tr><tr><td><p>Number of locators used<\/p><\/td><td><p>23<\/p><\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 1: Chrome browser<\/p>\n<\/td><td><p>32 sec<\/p><\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 2: Chrome browser<\/p>\n<\/td><td><p>57 sec<\/p><\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 3: Chrome: 29 sec<\/p>\n<\/td><td><p>29 sec<\/p><\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 3: Firefox: 65 sec<\/p>\n<\/td><td><p>65 sec<\/p><\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 3: Safari: 35 sec<\/p>\n<\/td><td><p>35 sec<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-observations\">Observations<\/h2>\n\n\n\n<p>A few interesting observations from this test execution:<\/p>\n\n\n\n<ol><li>I added only superficial validations for each test.<ul>\n<li>I only added validations for the number of filters and items in each filter. But I have not added the validations for actual content of the filters. <\/li>\n<li>To add actual validations for each aspect of the page will take 8-10x the time taken for my current implementation, and the number of locators and assertions would also probably increase by 4-6x of the current numbers. <\/li>\n<li>Definitely does not seem worth the time and effort.<\/li>\n<\/ul>\n<\/li><\/ol>\n\n\n\n<ol start=\"2\"><li>The tests would not capture all errors based on the assertions added, as the first assertion failure would cause the test to stop.<\/li><li>In order to check everything, instead of hard assertions, the framework would need to implement and support soft assertions<\/li><li>The test implementation is heavily dependent on the locators in the page. Any small change in the locators will cause the test to fail. Ex: In the Product Details page, the locator of the Footer is different from that of the home page<\/li><li>Scaling: I was limited by how many browsers \/ devices I could run my tests on. I needed to write additional code to manage browser drivers, and that too only for browsers that I had available on my laptop<\/li><\/ol>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-step-2-add-applitools-visual-assertions-to-functional-automation\">Step 2 &#8211; Add Applitools Visual Assertions to Functional Automation <\/h1>\n\n\n\n<p>When I added Applitools Visual AI to the already created Functional Automation (in Step 1), the data was very interesting.<\/p>\n\n\n\n<p>Refer to <a href=\"https:\/\/github.com\/anandbagmar\/visualAssertions\/blob\/main\/src\/test\/java\/com\/eot\/hackathon\/HolidayShoppingWithEyesTest.java\" target=\"_blank\" rel=\"noopener\">HolidayShoppingWithEyesTest.java<\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Activity<\/th><th>Data (Time \/ LOC \/ etc.)<\/th><\/tr><\/thead><tbody><tr><td><p>Time taken to add Visual Assertions to existing Selenium tests<\/p><\/td><td><p>10 min<\/p><\/td><\/tr><tr><td><p>Number of tests automated<\/p><\/td><td><p>3<\/p><\/td><\/tr><tr><td><p>Lines of code (actual Test method code)<\/p><\/td><td><p>7 lines<\/p><\/td><\/tr><tr><td><p>Number of locators used<\/p><\/td><td><p>3<\/p><\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 1: Chrome browser<\/p>\n<\/td><td>\n<p>81 sec (test execution time)<\/p>\n<p>38 sec (Applitools processing time)<\/p>\n<\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Part 2: Chrome browser<\/p>\n<\/td><td>\n<p>92 sec (test execution time)<\/p>\n<p>42 sec (Applitools processing time)<\/p>\n<\/td><\/tr><tr><td>\n<p>Test execution time: (using <a href=\"https:\/\/applitools.com\/product-ultrafast-test-cloud\/\" target=\"_blank\" rel=\"noopener\">Applitools Ultrafast Test Cloud<\/a>)<\/p>\n<p>Part 3: Chrome + Firefox + Safari + Edge + iPhone X<\/p>\n<\/td><td>\n<p>125 sec (test execution time)<\/p>\n<p>65 sec (Applitools processing time)<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-observations-1\">Observations<\/h2>\n\n\n\n<p>Here are the observations from this test execution:<\/p>\n\n\n\n<ol><li>My test implementation got simplified<ul>\n<li>Less lines of code<\/li>\n<li>Fewer locators and assertions<\/li>\n<li>Test became easier to read and extend<\/li>\n<\/ul>\n<\/li><\/ol>\n\n\n\n<ol start=\"2\"><li>Test became more stable<ul>\n<li>Fewer locators and assertions<\/li>\n<li>It does not matter if the locators change for elements in the page as long as the user experience \/ look and feel remains as expected. (Of course, locators on which I need to do actions using Selenium need to be the same)<\/li>\n<\/ul>\n<\/li><\/ol>\n\n\n\n<ol start=\"3\"><li>Comprehensive coverage of functionality and user experience<ul><li>My test focuses on specific functional aspects &#8211; but with Visual Assertions, I was able to get validation of the functional change from the whole page, automatically<\/li><\/ul>\n<\/li><\/ol>\n\n\n\n<p>See these below examples of the nature of validations that were reported by Applitools:<\/p>\n\n\n\n<p>Version Check &#8211; Test 1:<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/applitools.com\/wp-content\/uploads\/2021\/01\/VisualAssertions-1.png\"><\/p>\n\n\n\n<p>Filter Check &#8211; Test 2:<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/applitools.com\/wp-content\/uploads\/2021\/01\/VisualAssertions-2.png\"><\/p>\n\n\n\n<p>Product Details &#8211; Test 3: <\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/applitools.com\/wp-content\/uploads\/2021\/01\/VisualAssertions-3.png\"><\/p>\n\n\n\n<ol start=\"4\"><li>Scaling test execution is seamless<ul>\n<li>I needed to run the tests only on any 1 browser which is available on my machine. I chose Chrome<\/li>\n<li>With the Applitools Ultrafast Test Cloud, I was able to get results of the functional and visual validations across all supported platforms without any code change, and almost in the same time as a single browser execution. <\/li>\n<\/ul>\n<\/li><\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/applitools.com\/wp-content\/uploads\/2021\/01\/VisualAssertions-Scaling-4.jpg\"><\/p>\n\n\n\n<p>Lastly, an activity I thoroughly enjoyed in Step 2 was the aspect of deleting code that now became irrelevant because of using Visual Assertions.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h1>\n\n\n\n<p>To conclude, the experiment made it clear &#8211; Visual Assertions are not a hype. The below table shows in summary the differences in the 2 approaches discussed earlier in the post.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Activity<\/th><th>Pure Functional Testing<\/th><th>Using Applitools Visual Assertions<\/th><\/tr><\/thead><tbody><tr><td><p>Number of Tests automated<\/p><\/td><td><p>3<\/p><\/td><td><p>3<\/p><\/td><\/tr><tr><td><p>Time taken to implement tests<\/p><\/td><td><p>90 min (implement + add relevant assertions)<\/p><\/td><td><p>&#8211;<\/p><\/td><\/tr><tr><td><p>Time taken to add Visual Assertions to existing Selenium tests<\/p><\/td><td><p>&#8211;<\/p><\/td><td>\n<p>10 min<\/p>\n<p>Includes time taken to delete the assertions and locators that now became irrelevant<\/p>\n<\/td><\/tr><tr><td><p>Lines of code (actual Test method code)<\/p><\/td><td><p>65 lines<\/p><\/td><td><p>7 lines<\/p><\/td><\/tr><tr><td><p>Number of locators used<\/p><\/td><td><p>23<\/p><\/td><td><p>3<\/p><\/td><\/tr><tr><td><p>Number of assertions in Test implementation<\/p><\/td><td>\n<p>16<\/p>\n<p>This approach validates only specific behavior based on the assertions.<\/p>\n<p>The first failing assertion stops the test. Remaining assertions do not even get executed<\/p>\n<\/td><td>\n<p>3 (1 in for each test)<\/p>\n<p>Validates the full screen, captures all regressions and new changes as well in 1 validation<\/p>\n<\/td><\/tr><tr><td>\n<p>Test execution time:<\/p>\n<p>Chrome + Firefox + Safari browser<\/p>\n<\/td><td>\n<p>129 sec<\/p>\n<p>(for 3 browsers)<\/p>\n<\/td><td><p>&#8211;<\/p><\/td><\/tr><tr><td>\n<p>Test execution time: (using <a href=\"https:\/\/applitools.com\/product-ultrafast-test-cloud\/\" target=\"_blank\" rel=\"noopener\">Applitools Ultrafast Test Cloud<\/a>)<\/p>\n<p>Part 3: Chrome + Firefox + Safari + Edge + iPhone X<\/p>\n<\/td><td><p>&#8211;<\/p><\/td><td>\n<p>125 sec (test execution time)<\/p>\n<p>65 sec (Applitools processing time)<\/p>\n<p>(for 4 browsers + 1 device)<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Visual Assertions help in the following ways:<\/p>\n\n\n\n<ul><li>Make your tests more stable<\/li><li>Lower maintenance&nbsp;as there are less locators to work with<\/li><li>Increase test coverage&nbsp;&#8211; you do not need to add assertions for each and every piece of functionality as part of your automation. With Visual Assertions, you will get the full &#8211; functional &amp; user experience validation by 1 call<\/li><li>Scaling is seamless&nbsp;&#8211; with the Ultrafast Test Cloud, you run your test just once, and get validation results across all supported browsers and devices<\/li><\/ul>\n\n\n\n<p>You can get started with Visual Testing by registering for a free account <a href=\"https:\/\/auth.applitools.com\/users\/register\" target=\"_blank\" rel=\"noopener\">here<\/a>. Also, you can take this course from the <a href=\"https:\/\/testautomationu.applitools.com\/\" target=\"_blank\" rel=\"noopener\">Test Automation University<\/a>&nbsp;on <a href=\"https:\/\/testautomationu.applitools.com\/automated-visual-testing-a-fast-path-to-test-automation-success\/\" target=\"_blank\" rel=\"noopener\">\u201cAutomated Visual Testing: A Fast Path To Test Automation Success<\/a>\u201d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a lot of buzz around Visual Testing these days. You might have read or heard stories about the benefits of visual testing. You might have heard claims like,&#8230;<\/p>\n","protected":false},"author":37,"featured_media":25832,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12271],"tags":[13697,10084,10139,12688,12690,10192,12686,10262],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Visual Assertions - Hype or Reality? - Automated Visual Testing | Applitools<\/title>\n<meta name=\"description\" content=\"There is a lot of buzz around Visual Testing these days. You might have read or heard stories about the benefits of visual testing. You might have heard claims like,...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Visual Assertions - Hype or Reality?\" \/>\n<meta property=\"og:description\" content=\"There is a lot of buzz around Visual Testing these days. You might have read or heard stories about the benefits of visual testing. You might have heard\" \/>\n<meta property=\"og:url\" content=\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\" \/>\n<meta property=\"og:site_name\" content=\"Automated Visual Testing | Applitools\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-21T21:26:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-27T18:37:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/applitools.com\/wp-content\/uploads\/2021\/01\/shutterstock_583117078-1680.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1680\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Anand Bagmar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Anand Bagmar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\"},\"author\":{\"name\":\"Anand Bagmar\",\"@id\":\"https:\/\/applitools.com\/#\/schema\/person\/59fcc8123d07b8febfd1473c26ac6ad3\"},\"headline\":\"Visual Assertions &#8211; Hype or Reality?\",\"datePublished\":\"2021-01-21T21:26:45+00:00\",\"dateModified\":\"2022-09-27T18:37:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\"},\"wordCount\":1272,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/applitools.com\/#organization\"},\"keywords\":[\"Hackathon\",\"JAVA\",\"Selenium\",\"Technical Leaders\",\"Test Engineers\",\"Visual AI\",\"Visual Testing Strategies\",\"Visual Testing Tools\"],\"articleSection\":[\"Getting Started\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\",\"url\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\",\"name\":\"Visual Assertions - Hype or Reality? - Automated Visual Testing | Applitools\",\"isPartOf\":{\"@id\":\"https:\/\/applitools.com\/#website\"},\"datePublished\":\"2021-01-21T21:26:45+00:00\",\"dateModified\":\"2022-09-27T18:37:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/applitools.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started\",\"item\":\"https:\/\/applitools.com\/blog\/category\/getting-started\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Visual Assertions &#8211; Hype or Reality?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/applitools.com\/#website\",\"url\":\"https:\/\/applitools.com\/\",\"name\":\"Automated Visual Testing | Applitools\",\"description\":\"Applitools delivers the next generation of test automation powered by AI assisted computer vision technology known as Visual AI.\",\"publisher\":{\"@id\":\"https:\/\/applitools.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/applitools.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/applitools.com\/#organization\",\"name\":\"Applitools\",\"url\":\"https:\/\/applitools.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/applitools.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ewig5qf9cgn.exactdn.com\/wp-content\/uploads\/2020\/03\/applitools.png?strip=all&lossy=1&ssl=1\",\"contentUrl\":\"https:\/\/ewig5qf9cgn.exactdn.com\/wp-content\/uploads\/2020\/03\/applitools.png?strip=all&lossy=1&ssl=1\",\"width\":156,\"height\":28,\"caption\":\"Applitools\"},\"image\":{\"@id\":\"https:\/\/applitools.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/applitools.com\/#\/schema\/person\/59fcc8123d07b8febfd1473c26ac6ad3\",\"name\":\"Anand Bagmar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/applitools.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d6fe58f00f499285458d74a1b3e4a1a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d6fe58f00f499285458d74a1b3e4a1a?s=96&d=mm&r=g\",\"caption\":\"Anand Bagmar\"},\"url\":\"https:\/\/applitools.com\/blog\/author\/anandbagmar\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Visual Assertions - Hype or Reality? - Automated Visual Testing | Applitools","description":"There is a lot of buzz around Visual Testing these days. You might have read or heard stories about the benefits of visual testing. You might have heard claims like,...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/","og_locale":"en_US","og_type":"article","og_title":"Visual Assertions - Hype or Reality?","og_description":"There is a lot of buzz around Visual Testing these days. You might have read or heard stories about the benefits of visual testing. You might have heard","og_url":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/","og_site_name":"Automated Visual Testing | Applitools","article_published_time":"2021-01-21T21:26:45+00:00","article_modified_time":"2022-09-27T18:37:30+00:00","og_image":[{"width":1680,"height":1260,"url":"https:\/\/applitools.com\/wp-content\/uploads\/2021\/01\/shutterstock_583117078-1680.jpg","type":"image\/jpeg"}],"author":"Anand Bagmar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Anand Bagmar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#article","isPartOf":{"@id":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/"},"author":{"name":"Anand Bagmar","@id":"https:\/\/applitools.com\/#\/schema\/person\/59fcc8123d07b8febfd1473c26ac6ad3"},"headline":"Visual Assertions &#8211; Hype or Reality?","datePublished":"2021-01-21T21:26:45+00:00","dateModified":"2022-09-27T18:37:30+00:00","mainEntityOfPage":{"@id":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/"},"wordCount":1272,"commentCount":0,"publisher":{"@id":"https:\/\/applitools.com\/#organization"},"keywords":["Hackathon","JAVA","Selenium","Technical Leaders","Test Engineers","Visual AI","Visual Testing Strategies","Visual Testing Tools"],"articleSection":["Getting Started"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/","url":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/","name":"Visual Assertions - Hype or Reality? - Automated Visual Testing | Applitools","isPartOf":{"@id":"https:\/\/applitools.com\/#website"},"datePublished":"2021-01-21T21:26:45+00:00","dateModified":"2022-09-27T18:37:30+00:00","breadcrumb":{"@id":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/applitools.com\/blog\/visual-ai-hype-or-reality\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/applitools.com\/"},{"@type":"ListItem","position":2,"name":"Getting Started","item":"https:\/\/applitools.com\/blog\/category\/getting-started\/"},{"@type":"ListItem","position":3,"name":"Visual Assertions &#8211; Hype or Reality?"}]},{"@type":"WebSite","@id":"https:\/\/applitools.com\/#website","url":"https:\/\/applitools.com\/","name":"Automated Visual Testing | Applitools","description":"Applitools delivers the next generation of test automation powered by AI assisted computer vision technology known as Visual AI.","publisher":{"@id":"https:\/\/applitools.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/applitools.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/applitools.com\/#organization","name":"Applitools","url":"https:\/\/applitools.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/applitools.com\/#\/schema\/logo\/image\/","url":"https:\/\/ewig5qf9cgn.exactdn.com\/wp-content\/uploads\/2020\/03\/applitools.png?strip=all&lossy=1&ssl=1","contentUrl":"https:\/\/ewig5qf9cgn.exactdn.com\/wp-content\/uploads\/2020\/03\/applitools.png?strip=all&lossy=1&ssl=1","width":156,"height":28,"caption":"Applitools"},"image":{"@id":"https:\/\/applitools.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/applitools.com\/#\/schema\/person\/59fcc8123d07b8febfd1473c26ac6ad3","name":"Anand Bagmar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/applitools.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d6fe58f00f499285458d74a1b3e4a1a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d6fe58f00f499285458d74a1b3e4a1a?s=96&d=mm&r=g","caption":"Anand Bagmar"},"url":"https:\/\/applitools.com\/blog\/author\/anandbagmar\/"}]}},"_links":{"self":[{"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/posts\/25829"}],"collection":[{"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/comments?post=25829"}],"version-history":[{"count":5,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/posts\/25829\/revisions"}],"predecessor-version":[{"id":43164,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/posts\/25829\/revisions\/43164"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/media\/25832"}],"wp:attachment":[{"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/media?parent=25829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/categories?post=25829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/applitools.com\/wp-json\/wp\/v2\/tags?post=25829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}