Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raju-a authored Nov 14, 2016
1 parent f0ac7ba commit db891cf
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,46 @@
# testrail-api-webdriver
Api which is used to create runner and update the result for that runner in testrail
Api which is used to create runner and update the result for that runner in testrail , It provides the basic functionality to authenticate API requests, provides generic support for read and write requests.

1. Environment setup

Please add the contained package to your application or project (e.g. in Eclipse). The API binding also has a separate, external dependency on the JSON.simple library which can downloaded here:

https://code.google.com/p/json-simple/

2. Set up your APIClient using this function

intializeClient(String url)

Eg:
Program api = new new Program();
api.intializeClient("https://<server>/testrail/")

3. Set your username and password using this function

setUser(String username, String password);

Eg:
api.setUser("[email protected]", "12345678");

4. To add Runner to your test using this function

add_run(pid, suiteid, run_name, r_description, r_assignedto_id, r_include_all);



Name Type Description

pid int project id

suite_id int The ID of the test suite for the test run (optional if the project is operating in single suite mode, required otherwise)
run_name string The name of the test run

r_description string The description of the test run

r_assignedto_id int The ID of the user the test run should be assigned to

r_include_all bool True for including all test cases of the test suite and false for a custom case selection (default: true)




0 comments on commit db891cf

Please sign in to comment.