@@ -79,6 +79,15 @@ def _changePositionalArgConfig(self):
7979 # getTestCasesForTestSuite
8080 pos_arg_config ['getTestCasesForTestSuite' ] = ['testsuiteid' , 'deep' ,
8181 'details' ]
82+ # getLastExecutionResult
83+ pos_arg_config ['getLastExecutionResult' ] = ['testplanid' , 'testcaseid' ]
84+ # getTestCaseCustomFieldDesignValue
85+ pos_arg_config ['getTestCaseCustomFieldDesignValue' ] = [
86+ 'testcaseexternalid' , 'version' , 'testprojectid' ,
87+ 'customfieldname' , 'details' ]
88+ # getTestCaseAttachments
89+ pos_arg_config ['getTestCaseAttachments' ] = ['testcaseid' ]
90+
8291
8392 #
8493 # BUILT-IN API CALLS - extented / customised against generic behaviour
@@ -150,15 +159,15 @@ def echo(self, message):
150159# 'nodeid':str(nodeid)}
151160# return self._callServer('getFullPath', argsAPI)
152161
153- def getLastExecutionResult (self , testplanid , testcaseid ):
154- """ getLastExecutionResult :
155- Gets the result of LAST EXECUTION for a particular testcase on a
156- test plan, but WITHOUT checking for a particular build
157- """
158- argsAPI = {'devKey' : self .devKey ,
159- 'testplanid' : str (testplanid ),
160- 'testcaseid' : str (testcaseid )}
161- return self ._callServer ('getLastExecutionResult' , argsAPI )
162+ # def getLastExecutionResult(self, testplanid, testcaseid):
163+ # """ getLastExecutionResult :
164+ # Gets the result of LAST EXECUTION for a particular testcase on a
165+ # test plan, but WITHOUT checking for a particular build
166+ # """
167+ # argsAPI = {'devKey' : self.devKey,
168+ # 'testplanid' : str(testplanid),
169+ # 'testcaseid' : str(testcaseid)}
170+ # return self._callServer('getLastExecutionResult', argsAPI)
162171
163172# def getLatestBuildForTestPlan(self, testplanid):
164173# """ getLastExecutionResult :
@@ -202,27 +211,27 @@ def getLastExecutionResult(self, testplanid, testcaseid):
202211# 'testcaseid' : str(testcaseid)}
203212# return self._callServer('getTestCase', argsAPI)
204213
205- def getTestCaseAttachments (self , testcaseid ):
206- """ getTestCaseAttachments :
207- Gets attachments for specified test case
208- """
209- argsAPI = {'devKey' : self .devKey ,
210- 'testcaseid' :str (testcaseid )}
211-
212- return self ._callServer ('getTestCaseAttachments' , argsAPI )
214+ # def getTestCaseAttachments(self, testcaseid):
215+ # """ getTestCaseAttachments :
216+ # Gets attachments for specified test case
217+ # """
218+ # argsAPI = {'devKey' : self.devKey,
219+ # 'testcaseid':str(testcaseid)}
220+ #
221+ # return self._callServer('getTestCaseAttachments', argsAPI)
213222
214- def getTestCaseCustomFieldDesignValue (self , testcaseexternalid , version ,
215- testprojectid , customfieldname , details ):
216- """ getTestCaseCustomFieldDesignValue :
217- Gets value of a Custom Field with scope='design' for a given Test case
218- """
219- argsAPI = {'devKey' : self .devKey ,
220- 'testcaseexternalid' : str (testcaseexternalid ),
221- 'version' : int (version ),
222- 'testprojectid' : str (testprojectid ),
223- 'customfieldname' : str (customfieldname ),
224- 'details' : str (details )}
225- return self ._callServer ('getTestCaseCustomFieldDesignValue' , argsAPI )
223+ # def getTestCaseCustomFieldDesignValue(self, testcaseexternalid, version,
224+ # testprojectid, customfieldname, details):
225+ # """ getTestCaseCustomFieldDesignValue :
226+ # Gets value of a Custom Field with scope='design' for a given Test case
227+ # """
228+ # argsAPI = {'devKey' : self.devKey,
229+ # 'testcaseexternalid' : str(testcaseexternalid),
230+ # 'version' : int(version),
231+ # 'testprojectid' : str(testprojectid),
232+ # 'customfieldname' : str(customfieldname),
233+ # 'details' : str(details)}
234+ # return self._callServer('getTestCaseCustomFieldDesignValue', argsAPI)
226235
227236# def getTestCaseIDByName(self, testCaseName, testSuiteName=None, testProjectName=None):
228237# """
0 commit comments