Continuum for C#
Loading...
Searching...
No Matches
LevelAccess.Continuum.Continuum Class Reference

This class encapsulates all of the helper functionality Access Continuum offers for running Access Engine to test web projects. More...

Public Types

enum  TestContext { Web }
 Defines the type of testing environment. More...
 

Public Member Functions

 Continuum (string configurationPath)
 Initialize the Continuum SDK for accessibility testing.
 
void SetUp (WebDriver webDriver, TestContext context=TestContext.Web)
 Sets up Continuum for web testing.
 
Metadata GetPageMetadata ()
 Gets information about the current page on the WebDriver instance.
 
List< AccessibilityConcernRunAllTests ()
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTests (bool includeIframeContent)
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTests (List< String > xpathExclusions)
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTests (bool includeIframeContent, List< String > xpathExclusions, Filter filter)
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTestsOnNode (string selectorForNodeToTest)
 Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTestsOnNode (string selectorForNodeToTest, bool includeIframeContent)
 Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTestsOnNode (string selectorForNodeToTest, List< String > xpathExclusions)
 Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunAllTestsOnNode (string selectorForNodeToTest, bool includeIframeContent, List< String > xpathExclusions, Filter filter)
 Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernRunTests (int[] engineTestIds)
 Runs only the specified automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp and, for specific test IDs, AMP. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestForStandards (int[] standardIds)
 Runs only the automatic Access Engine tests corresponding to the specified accessibility standards against the current page, as defined by the web driver used previously to invoke SetUp and, for specific accessibility standard IDs, AMP. Note that the IDs of the specified accessibility standards must also be specified by Configuration.DefaultStandardIds, i.e. in the set of IDs implied from the value of the 'getDefaultStandardIds' attribute defined in continuum.json, otherwise no accessibility concerns will be returned. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestForBestPractices (int[] bestPracticeIds)
 Runs only the automatic Access Engine tests corresponding to the specified best practices against the current page, as defined by the web driver used previously to invoke SetUp and, for specific best practice IDs, AMP. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestForSeverity (int minSeverity)
 Runs only the automatic Access Engine tests of or greater than the specified severity against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestForTractability (int minTractability)
 Runs only the automatic Access Engine tests of or greater than the specified tractability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestForNoticeability (int minNoticeability)
 Runs only the automatic Access Engine tests of or greater than the specified noticeability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestNodeForStandards (int[] standardIds, string selectorForNodeToTest)
 Runs only the automatic Access Engine tests corresponding to the specified accessibility standards against the current page, as defined by the web driver used previously to invoke SetUp and, for specific accessibility standard IDs, AMP. Note that the IDs of the specified accessibility standards must also be specified by Configuration.DefaultStandardIds, i.e. in the set of IDs implied from the value of the 'getDefaultStandardIds' attribute defined in continuum.json, otherwise no accessibility concerns will be returned. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestNodeForBestPractices (int[] bestPracticeIds, string selectorForNodeToTest)
 Runs only the automatic Access Engine tests corresponding to the specified best practices against the current page, as defined by the web driver used previously to invoke SetUp and, for specific best practice IDs, AMP. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestNodeForSeverity (int minSeverity, string selectorForNodeToTest)
 Runs only the automatic Access Engine tests of or greater than the specified severity against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestNodeForTractability (int minTractability, string selectorForNodeToTest)
 Runs only the automatic Access Engine tests of or greater than the specified tractability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AccessibilityConcernTestNodeForNoticeability (int minNoticeability, string selectorForNodeToTest)
 Runs only the automatic Access Engine tests of or greater than the specified noticeability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
string GetAccessibilityConcernsPrettyPrinted ()
 Gets a pretty-printed String of accessibility concerns found by Access Engine during the last test execution.
 
string GetAssertionsPrettyPrinted ()
 Gets a pretty-printed String of assertions found by Access Engine during the last test execution.
 
List< AssertionRunAllTestsForAssertions ()
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AssertionRunAllTestsForAssertions (bool includeIframeContentr)
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
List< AssertionRunAllTestsForAssertions (bool includeIframeContent, Filter filter)
 Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.
 
bool GetIncludePotentialAccessibilityConcerns ()
 Gets whether or not accessibility concerns that require manual review are included in any of Continuum's test results. If enabled, any accessibility concerns that require manual review will have AccessibilityConcern.NeedsReview return true. By default, this is specified by Configuration.AccessibilityConcernsConfiguration.IncludePotentialConcerns, i.e. the value for the 'includePotentialAccessibilityConcerns' attribute defined in continuum.json. This setting can be toggled programmatically using SetIncludePotentialAccessibilityConcerns, overriding the value specified in continuum.json.
 
Configuration.Format GetResultsFormat ()
 
void SetIncludePotentialAccessibilityConcerns (bool includePotentialAccessibilityConcerns)
 Globally sets whether or not accessibility concerns that require manual review are included in any of Continuum's test results. If enabled, any accessibility concerns that require manual review will have AccessibilityConcern.NeedsReview return true. Using this method will override the value for the 'includePotentialAccessibilityConcerns' attribute defined in continuum.json, which is otherwise used by default.
 
AMPReportingService GetAMPReportingService ()
 Gets the instance of the AMP reporting service associated with this instance of Continuum. Please consult our support documentation for more information on how to report to AMP.
 
LevelAccessPlatformReportingService GetLevelAccessPlatformReportingService ()
 
Dictionary< int, string > GetSupportedTests ()
 Gets the list of supported tests.
 
Dictionary< int, string > GetSupportedBestPractices ()
 Gets the list of supported best practices.
 
Dictionary< int, string > GetSupportedStandards ()
 Gets the list of supported standards.
 

Properties

List< AccessibilityConcernAccessibilityConcerns [get]
 Gets the list of accessibility concerns found by Access Engine during the last test execution.
 
List< AssertionAssertions [get]
 Gets the list of assertions found by Access Engine during the last test execution.
 

Detailed Description

This class encapsulates all of the helper functionality Access Continuum offers for running Access Engine to test web projects.

Member Enumeration Documentation

◆ TestContext

Defines the type of testing environment.

Enumerator
Web 

Web app.

Constructor & Destructor Documentation

◆ Continuum()

LevelAccess.Continuum.Continuum.Continuum ( string configurationPath)
inline

Initialize the Continuum SDK for accessibility testing.

Parameters
configurationPathRelative or absolute path to a valid continuum.json file.

Member Function Documentation

◆ GetAccessibilityConcernsPrettyPrinted()

string LevelAccess.Continuum.Continuum.GetAccessibilityConcernsPrettyPrinted ( )
inline

Gets a pretty-printed String of accessibility concerns found by Access Engine during the last test execution.

Returns
The list of accessibility concerns found by Access Engine during the last test execution.

◆ GetAMPReportingService()

AMPReportingService LevelAccess.Continuum.Continuum.GetAMPReportingService ( )
inline

Gets the instance of the AMP reporting service associated with this instance of Continuum. Please consult our support documentation for more information on how to report to AMP.

Returns
The AMP reporting service associated with this instance of Continuum

◆ GetAssertionsPrettyPrinted()

string LevelAccess.Continuum.Continuum.GetAssertionsPrettyPrinted ( )
inline

Gets a pretty-printed String of assertions found by Access Engine during the last test execution.

Returns
The list of assertions found by Access Engine during the last test execution.

◆ GetIncludePotentialAccessibilityConcerns()

bool LevelAccess.Continuum.Continuum.GetIncludePotentialAccessibilityConcerns ( )
inline

Gets whether or not accessibility concerns that require manual review are included in any of Continuum's test results. If enabled, any accessibility concerns that require manual review will have AccessibilityConcern.NeedsReview return true. By default, this is specified by Configuration.AccessibilityConcernsConfiguration.IncludePotentialConcerns, i.e. the value for the 'includePotentialAccessibilityConcerns' attribute defined in continuum.json. This setting can be toggled programmatically using SetIncludePotentialAccessibilityConcerns, overriding the value specified in continuum.json.

Returns
True if accessibility concerns that require manual review are included in any of Continuum's test results, false if they are not

◆ GetPageMetadata()

Metadata LevelAccess.Continuum.Continuum.GetPageMetadata ( )
inline

Gets information about the current page on the WebDriver instance.

Returns

◆ GetSupportedBestPractices()

Dictionary< int, string > LevelAccess.Continuum.Continuum.GetSupportedBestPractices ( )
inline

Gets the list of supported best practices.

Returns
List of supported best practices.

◆ GetSupportedStandards()

Dictionary< int, string > LevelAccess.Continuum.Continuum.GetSupportedStandards ( )
inline

Gets the list of supported standards.

Returns
List of supported standards.

◆ GetSupportedTests()

Dictionary< int, string > LevelAccess.Continuum.Continuum.GetSupportedTests ( )
inline

Gets the list of supported tests.

Returns
List of supported tests.

◆ RunAllTests() [1/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTests ( )
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver

◆ RunAllTests() [2/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTests ( bool includeIframeContent)
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
includeIframeContent
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver

◆ RunAllTests() [3/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTests ( bool includeIframeContent,
List< String > xpathExclusions,
Filter filter )
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
includeIframeContent
xpathExclusions
filter
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver

◆ RunAllTests() [4/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTests ( List< String > xpathExclusions)
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
xpathExclusions
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver

◆ RunAllTestsForAssertions() [1/3]

List< Assertion > LevelAccess.Continuum.Continuum.RunAllTestsForAssertions ( )
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Returns
The list of assertions found by Access Engine for the current page of the web driver

◆ RunAllTestsForAssertions() [2/3]

List< Assertion > LevelAccess.Continuum.Continuum.RunAllTestsForAssertions ( bool includeIframeContent,
Filter filter )
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
includeIframeContent
filter
Returns
The list of assertions found by Access Engine for the current page of the web driver

◆ RunAllTestsForAssertions() [3/3]

List< Assertion > LevelAccess.Continuum.Continuum.RunAllTestsForAssertions ( bool includeIframeContentr)
inline

Runs all automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
includeIframeContent
Returns
The list of assertions found by Access Engine for the current page of the web driver

◆ RunAllTestsOnNode() [1/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTestsOnNode ( string selectorForNodeToTest)
inline

Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
selectorForNodeToTest
Returns
The list of accessibility concerns found by Access Engine for the selected element and its children on current page of the web driver

◆ RunAllTestsOnNode() [2/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTestsOnNode ( string selectorForNodeToTest,
bool includeIframeContent )
inline

Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
selectorForNodeToTest
includeIframeContent
Returns
The list of accessibility concerns found by Access Engine for the selected element and its children on current page of the web driver

◆ RunAllTestsOnNode() [3/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTestsOnNode ( string selectorForNodeToTest,
bool includeIframeContent,
List< String > xpathExclusions,
Filter filter )
inline

Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
selectorForNodeToTest
includeIframeContent
xpathExclusions
filter
Returns
The list of accessibility concerns found by Access Engine for the selected element and its children on current page of the web driver

◆ RunAllTestsOnNode() [4/4]

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunAllTestsOnNode ( string selectorForNodeToTest,
List< String > xpathExclusions )
inline

Runs all automatic Access Engine tests against the current page for only the specified node and all its children, as defined by the web driver used previously to invoke SetUp and the specified CSS selector. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
selectorForNodeToTest
xpathExclusions
Returns
The list of accessibility concerns found by Access Engine for the selected element and its children on current page of the web driver

◆ RunTests()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.RunTests ( int[] engineTestIds)
inline

Runs only the specified automatic Access Engine tests against the current page, as defined by the web driver used previously to invoke SetUp and, for specific test IDs, AMP. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
engineTestIdsThe IDs of the automatic Access Engine tests to test for (invoke GetSupportedTests for a list of these, or consult AMP)
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver that match the specified tests

◆ SetIncludePotentialAccessibilityConcerns()

void LevelAccess.Continuum.Continuum.SetIncludePotentialAccessibilityConcerns ( bool includePotentialAccessibilityConcerns)
inline

Globally sets whether or not accessibility concerns that require manual review are included in any of Continuum's test results. If enabled, any accessibility concerns that require manual review will have AccessibilityConcern.NeedsReview return true. Using this method will override the value for the 'includePotentialAccessibilityConcerns' attribute defined in continuum.json, which is otherwise used by default.

This method is only available in the Pro edition of Continuum.

Parameters
includePotentialAccessibilityConcernsTrue if accessibility concerns that require manual review should be included in any of Continuum's test results, false if they should not

◆ SetUp()

void LevelAccess.Continuum.Continuum.SetUp ( WebDriver webDriver,
TestContext context = TestContext::Web )
inline

Sets up Continuum for web testing.

Parameters
webDriver
context

◆ TestForBestPractices()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestForBestPractices ( int[] bestPracticeIds)
inline

Runs only the automatic Access Engine tests corresponding to the specified best practices against the current page, as defined by the web driver used previously to invoke SetUp and, for specific best practice IDs, AMP. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
bestPracticeIdsThe IDs of the best practices to test for (invoke GetSupportedBestPractices for a list of these, or consult AMP)
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver that match the specified best practices

◆ TestForNoticeability()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestForNoticeability ( int minNoticeability)
inline

Runs only the automatic Access Engine tests of or greater than the specified noticeability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
minNoticeability
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver whose tractability is equal to or greater than minNoticeability

◆ TestForSeverity()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestForSeverity ( int minSeverity)
inline

Runs only the automatic Access Engine tests of or greater than the specified severity against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
minSeverity
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver whose tractability is equal to or greater than minSeverity

◆ TestForStandards()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestForStandards ( int[] standardIds)
inline

Runs only the automatic Access Engine tests corresponding to the specified accessibility standards against the current page, as defined by the web driver used previously to invoke SetUp and, for specific accessibility standard IDs, AMP. Note that the IDs of the specified accessibility standards must also be specified by Configuration.DefaultStandardIds, i.e. in the set of IDs implied from the value of the 'getDefaultStandardIds' attribute defined in continuum.json, otherwise no accessibility concerns will be returned. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
standardIdsThe IDs of the accessibility standards to test for (invoke GetSupportedStandards for a list of these, or consult AMP)
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver that match the specified accessibility standards

◆ TestForTractability()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestForTractability ( int minTractability)
inline

Runs only the automatic Access Engine tests of or greater than the specified tractability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
minTractabilityThe inclusive minimum tractability of accessibility concerns to test for on a scale of 1 to 10, where 1 is the least tractable and 10 is the most tractable
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver whose tractability is equal to or greater than minTractability

◆ TestNodeForBestPractices()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestNodeForBestPractices ( int[] bestPracticeIds,
string selectorForNodeToTest )
inline

Runs only the automatic Access Engine tests corresponding to the specified best practices against the current page, as defined by the web driver used previously to invoke SetUp and, for specific best practice IDs, AMP. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
bestPracticeIdsThe IDs of the best practices to test for (invoke GetSupportedBestPractices for a list of these, or consult AMP)
selectorForNodeToTestA CSS selector to restrict accessibility testing to
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver that match the specified best practices

◆ TestNodeForNoticeability()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestNodeForNoticeability ( int minNoticeability,
string selectorForNodeToTest )
inline

Runs only the automatic Access Engine tests of or greater than the specified noticeability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
minNoticeability
selectorForNodeToTestA CSS selector to restrict accessibility testing to
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver whose tractability is equal to or greater than minNoticeability

◆ TestNodeForSeverity()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestNodeForSeverity ( int minSeverity,
string selectorForNodeToTest )
inline

Runs only the automatic Access Engine tests of or greater than the specified severity against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
minSeverity
selectorForNodeToTestA CSS selector to restrict accessibility testing to
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver whose tractability is equal to or greater than minSeverity

◆ TestNodeForStandards()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestNodeForStandards ( int[] standardIds,
string selectorForNodeToTest )
inline

Runs only the automatic Access Engine tests corresponding to the specified accessibility standards against the current page, as defined by the web driver used previously to invoke SetUp and, for specific accessibility standard IDs, AMP. Note that the IDs of the specified accessibility standards must also be specified by Configuration.DefaultStandardIds, i.e. in the set of IDs implied from the value of the 'getDefaultStandardIds' attribute defined in continuum.json, otherwise no accessibility concerns will be returned. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
standardIdsThe IDs of the accessibility standards to test for (invoke GetSupportedStandards for a list of these, or consult AMP)
selectorForNodeToTestA CSS selector to restrict accessibility testing to
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver that match the specified accessibility standards

◆ TestNodeForTractability()

List< AccessibilityConcern > LevelAccess.Continuum.Continuum.TestNodeForTractability ( int minTractability,
string selectorForNodeToTest )
inline

Runs only the automatic Access Engine tests of or greater than the specified tractability against the current page, as defined by the web driver used previously to invoke SetUp. Make sure to invoke one of the setUp methods before invoking this method.

Parameters
minTractabilityThe inclusive minimum tractability of accessibility concerns to test for on a scale of 1 to 10, where 1 is the least tractable and 10 is the most tractable
selectorForNodeToTestA CSS selector to restrict accessibility testing to
Returns
The list of accessibility concerns found by Access Engine for the current page of the web driver whose tractability is equal to or greater than minTractability

The documentation for this class was generated from the following file: