Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
How to validate non-HTML file linked from my site?
LegacyForum
Posts: 1,664 ✭✭
in FAQ
This can include .pdf, .doc, .txt, or any kind of files which can be accessed from your website by clicking on a link.
First you create the path to whatever file you want to verify. If Record Using Browser does not add the file that you want to verify to that path (although it should), you can add it manually by right-clicking on the node that corresponds to the page with the link to the file, and choosing Add Path, and entering the url of the file.
Then, in the actions tab for the node of the file to test, you go to the Tools panel, you choose New, and you choose Diff. Configure it to diff against the control file, wherever you have it located on your marchine. This will allow you to diff the page gotten from the link against your downloaded file.
First you create the path to whatever file you want to verify. If Record Using Browser does not add the file that you want to verify to that path (although it should), you can add it manually by right-clicking on the node that corresponds to the page with the link to the file, and choosing Add Path, and entering the url of the file.
Then, in the actions tab for the node of the file to test, you go to the Tools panel, you choose New, and you choose Diff. Configure it to diff against the control file, wherever you have it located on your marchine. This will allow you to diff the page gotten from the link against your downloaded file.
0