DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • How to Merge HTML Documents in Java
  • Exploring Intercooler.js: Simplify AJAX With HTML Attributes
  • Creating Scrolling Text With HTML, CSS, and JavaScript
  • Mastering SSR and CSR in Next.js: Building High-Performance Data Visualizations

Trending

  • Agile’s Quarter-Century Crisis
  • How to Merge HTML Documents in Java
  • Developers Beware: Slopsquatting and Vibe Coding Can Increase Risk of AI-Powered Attacks
  • Event Driven Architecture (EDA) - Optimizer or Complicator
  1. DZone
  2. Coding
  3. Languages
  4. Batch Validation of HTML in Web Testing With Total Validator

Batch Validation of HTML in Web Testing With Total Validator

Alan Richardson walks through the Total Validator testing tool—a tool he thinks will be great for batch checking.

By 
Alan Richardson user avatar
Alan Richardson
·
Updated Sep. 12, 16 · Opinion
Likes (3)
Comment
Save
Tweet
Share
4.5K Views

Join the DZone community and get the full member experience.

Join For Free

I started using Total Validator Pro as well as the w3 validator (the API which powers the ‘validate’ function in Charles). I wanted to add ‘batch’ checking into my HTML validation process. And Total Validator Pro seemed pretty simple, cheap, and cross platform, so I tried it out.

Image title

Running Total Validator Pro Against a Local Site

Total Validator Pro had issues connecting to localhost:666 where my site was running via the phpstorm web server.

I’m sure this is some strange Windows config that I haven’t figure out. So I used Fiddler and scanned ipv6.fiddler:666 rather than localhost:666 (I tried my IP addresses, and machine name, and switching off the firewall… but this worked, so I stopped investigating at this point when I had a workaround using Fiddler).

Total Validator Pro Is a Tough Validator

Total Validator Pro was tougher on my page than the w3 validator.

The w3 validator allows:

{background-color: grey}

...but Total Validator said no.

And if I look at the specs...

  • http://www.w3.org/TR/2011/REC-CSS2-20110607/colors.html
  • And http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-color

...then it does seem that ‘grey’ should now be ‘gray’ or the hex value #808080

Total Validator Pro

Total Validator Pro will also check links as it checks the pages, which I’m finding useful as well.

The free version of Total Validator Pro will only check one page at a time. The paid version of Total Validator Pro will spider the site and check all the pages that it finds.

Set the Threads

Remember to toggle down the thread count from 100 if you start seeing errors during the scan.

  • Links > Other Options > Concurrency

I set this to 10 for some sites which seemed unable to handle the load.

Total Validator Pro Is Now Part of My HTML Validation Process

I’ll be sticking with Total Validator Pro for batch checking, and using it to bolster my link checking.

Hopefully, I’ll be able to use Charles during the exploratory testing and Total Validator Pro for my batch checking.

What do you use to validate the HTML when you are testing?

HTML

Published at DZone with permission of Alan Richardson, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • How to Merge HTML Documents in Java
  • Exploring Intercooler.js: Simplify AJAX With HTML Attributes
  • Creating Scrolling Text With HTML, CSS, and JavaScript
  • Mastering SSR and CSR in Next.js: Building High-Performance Data Visualizations

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!