Skip to content

garry-edmonds/Tenon.Test.Client

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Tenon.Test.Client

This project works with the accessibility tool from Tenon.IO using their API. You will need to register an account at the following URL to use it Register Here once registered you can test the website by sending the URL of the page or the html page source.

How to use Tenon.Test.Client.

Project will be available as a nuget package at Nuget Page.

##Create an instance of the test class:

1 - Create instance using URL:

  • TenonIO tenon = new TenonIO("APIKEY", new Uri("URL-TO-TEST"));

2 - Create instance using Page Source:

  • TenonIO tenon = new TenonIO("APIKEY", "STRING-OF-HTML-SOURCE");

##Running the test: There are two choices for the output that is generated from the accessibility test.

1 - Return output as Json string of data.

string json = tenon.ExecuteTestJson();

2 - Return output as an object.

ApiResponse response = tenon.ExecuteTest();

Optional Parameters.

To see a full list of all the optional parameters go to parameters.

To set these parameters.

tenon.SetCertainty(Certainty.Sixty); etc.

Building the Package

  • Clone this repository to your local file system
  • Open the soloution in Visual studio 2015 and build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages