File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -7,31 +7,40 @@ executing automation testCases and update the Results in TestLink. It can also b
7
7
like Cucumber.js and Yadda.js.
8
8
9
9
Installation
10
+
10
11
Node based environments
11
12
12
13
npm install testlink-api-client
13
14
14
- Examples
15
- var TestLinkAPI = require('./testlinkapi'),
15
+ Examples:
16
+
17
+ var TestLinkAPI = require('testlinkapi'),
18
+
16
19
devKey="5f5fa0d9eba136f28e45d1f8a17cbedd",
20
+
17
21
RPCUrl="http://localhost:80/testlink/lib/api/xmlrpc/v1/xmlrpc.php",
22
+
18
23
testlink=new TestLinkAPI(devKey,RPCUrl),
24
+
19
25
testProjectId=12,
26
+
20
27
testsuiteid=13;
21
28
22
29
23
30
testlink.getProjects(function(projects){
31
+
24
32
console.log(projects);
33
+
25
34
});
26
35
27
36
testlink.getTestCasesForTestSuite({testProjectId: testProjectId ,testsuiteid: testsuiteid }, function(result){
28
37
result.map(function(testcases){
38
+
29
39
console.log(testcases);
40
+
30
41
});
31
42
});
32
43
33
- Execution:
34
- H:\. ..\testlink-api-client\lib>node testlinkclient.js
35
44
36
45
Go through the Below URL for details....
37
46
You can’t perform that action at this time.
0 commit comments