Skip to content

Commit 3644372

Browse files
author
Luiko Czub
committed
TestLinkExample: TESTCASE_B executiontype changed to AUTOMATED lczub#3
1 parent 6129d64 commit 3644372

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

example/TestLinkExample.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151

152152
newTestCase = myTestLink.createTestCase(NEWTESTCASE_B, TestSuiteID_B,
153153
newProjectID, "admin", "This is the summary of the Test Case B",
154-
"preconditions=these are the preconditions")
154+
"preconditions=these are the preconditions",
155+
"executiontype=%i" % AUTOMATED)
155156
isOk = newTestCase[0]['message']
156157
if isOk=="Success!":
157158
newTestCaseID = newTestCase[0]['id']

src/testlink/testlinkapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def createTestCase(self, *args):
355355
Create a test case
356356
Mandatory parameters : testcasename, testsuiteid, testprojectid,
357357
authorlogin, summary, steps
358-
Optional parameters : preconditions, importance, execution, order,
358+
Optional parameters : preconditions, importance, executiontype, order,
359359
internalid, checkduplicatedname, actiononduplicatedname
360360
"""
361361
argsAPI = {'devKey' : self.devKey,

0 commit comments

Comments
 (0)