Skip to content

Commit e0c4c60

Browse files
committed
Modified ReadME.md
Modified ReadME.md
1 parent 56ffa8b commit e0c4c60

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,40 @@ executing automation testCases and update the Results in TestLink. It can also b
77
like Cucumber.js and Yadda.js.
88

99
Installation
10+
1011
Node based environments
1112

1213
npm install testlink-api-client
1314

14-
Examples
15-
var TestLinkAPI = require('./testlinkapi'),
15+
Examples:
16+
17+
var TestLinkAPI = require('testlinkapi'),
18+
1619
devKey="5f5fa0d9eba136f28e45d1f8a17cbedd",
20+
1721
RPCUrl="http://localhost:80/testlink/lib/api/xmlrpc/v1/xmlrpc.php",
22+
1823
testlink=new TestLinkAPI(devKey,RPCUrl),
24+
1925
testProjectId=12,
26+
2027
testsuiteid=13;
2128

2229

2330
testlink.getProjects(function(projects){
31+
2432
console.log(projects);
33+
2534
});
2635

2736
testlink.getTestCasesForTestSuite({testProjectId:testProjectId,testsuiteid:testsuiteid}, function(result){
2837
result.map(function(testcases){
38+
2939
console.log(testcases);
40+
3041
});
3142
});
3243

33-
Execution:
34-
H:\...\testlink-api-client\lib>node testlinkclient.js
3544

3645
Go through the Below URL for details....
3746

0 commit comments

Comments
 (0)