5import isystem.connect
as ic
11def test_persistentVars():
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
15 tcCtrl = ic.CTestCaseController(connMgr,
"main",
"")
17 print(
"Creating a persistent variable...")
18 tcCtrl.createPersistentVariable(
"persistent_var",
"int")
19 tcCtrl.initPersistentVars()
23 print(
"Deleting all persistent variables...")
24 tcCtrl.deletePersistentVariable(
"persistent_var")
25 tcCtrl.commitDeletedVars()
26 tcCtrl.cleanPersistentVars()
29if __name__ ==
"__main__":