testlink/lib/api/sample_clients/python clientGetTestCaseForTestSuite.py,1.1,1.2

58 views
Skip to first unread message

francisco mancardi

unread,
Jan 25, 2011, 4:49:09 PM1/25/11
to asi...@users.sourceforge.net
Update of /cvsroot/testlink/testlink/lib/api/sample_clients/python
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv14658/lib/api/sample_clients/python

Added Files:
clientGetTestCaseForTestSuite.py
Log Message:
Simple examples client and server to test remote execute feature

--- NEW FILE: clientGetTestCaseForTestSuite.py ---
#!/usr/bin/python

# from www.teamst.org
#
import sys,xmlrpclib

URL = "http://YOURSERVER/testlink/lib/api/xmlrpc.php"
DEVKEY = "YOURKEY"
conn = xmlrpclib.Server(URL)

data = {}
data["devKey"] = DEVKEY
data["testsuiteid"] = "3"
data["deep"] = "true"
data["details"] = "full"
tcinfo = conn.tl.getTestCasesForTestSuite(data)

print tcinfo

Reply all
Reply to author
Forward
0 new messages