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.
Customizing WebKing to check specific link errors
LegacyForum
Posts: 1,664 ✭✭
Hi - I can't seem to find this question in the FAQs (it might be there, I just can't find it). I created a test page and put intentional errors in it. I need to run a check that looks for src="//www. I selected tools > customize > check links and added Contains: src="//www but when I run my check it doesn't find the error. The documentation that I read says I should select "Coding standards" but that isn't an option in the list. What am I doing wrong?
Thanks very much for your help
Thanks very much for your help
0
Comments
-
Hello,
Are you trying to find the text ( src="//www ) in the source of your HTML, or are you trying to report errors on URL's that contain //www. ?
If you are trying to report errors on URL's that contain //www. then you need to use Contains: //www instead of Contains: src="//www
If you are trying to find this text somewhere in the source of your pages, you should use the Search Tool instead of the Check Links tool. If you don't already have the Tests tab showing, click Project->Create Tests. This should bring up the Tests tab
1) Right click the Test Suite, click Add to Project->Add Test
2) From the left menu select Standard Test, from the right Menu select Search Tool
3) The Search Tool should appear under your Test Suite. Click on it to select it and it will appear in your Project Configuration tab.
3) In the New Search Term field, enter the text you would like to find, and click Add.
4) In the Input field, click Browse, change the Look In: to point to New Project.
5) Select your sites root (http://sitename) and click Open
6) Right click on the Test Suite and click Run to run the test0