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.
Choosing Accessibility Rules
LegacyForum
Posts: 1,664 ✭✭
Question regarding choosing of test rules
Hello All,I am new to WebKing, so my question may be naive. I was wondering if there was any way to select which accessibility rules are tested. I would like to eliminate some of the more minor infractions while testing.
Thanks,
Frank DiPalermo
0
Comments
-
Depending on the needs of your scenario, there are a couple of ways to approach this.Hello All,
I am new to WebKing, so my question may be naive. I was wondering if there was any way to select which accessibility rules are tested. I would like to eliminate some of the more minor infractions while testing.
Thanks,
Frank DiPalermo
If you are scanning a site then running static analysis or if you are recording a path through a site, then you should create a new Coding Standard tool.
If you are recording a scenario for AJAX functional testing then you can either create a new Coding Standard Tool or add a Global Coding Standard tool to your project. For now though, I will assume you are not using AJAX functional testing as it is less commonly combined with Static Analysis testing.
Rather than modifying the existing Accessibility rules, it is recommended that you create a new Coding Standard tool and import in the set of appropriate rules.
To create a new Coding Standard Tool:
1. Click Tools->Customize
2. Click New, Select Coding Standards, click OK.
3. You will now have a new empty Coding Standards Tool. Click the Add Rules button and navigate to your [WK_INSTALL]\rules folder. You will see three ruleset files CodeWizard.rs, Section508.rs, and WCAG2_0 (one for each of the Accessibility testing rulesets that come preinstalled with WebKing). Select the one you would like to add and click OPEN.
4. You can now check/uncheck the rules to specify which ones you would like to run.
5. When you are done adding rules, click the OK button. If you click Tools->Coding Standards-> you should now see your Coding Standard listed here (you will probably want to change the "Name" field of your Coding Standard tool as well so that you may reference it easier from here in the future).
Please refer to the documentation under [WK_INSTALL]\docs\ruleenf.htm for more information regarding Coding Standards and how to customize them.
Let me know if you are using AJAX functional testing and I will provide you further instructions.0