5import isystem.connect
as ic
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
15 tcCtrl = ic.CTestCaseController(connMgr,
"main",
"")
17 print(
"Creating test variables...")
18 tcCtrl.createVariable(
"my_var",
"int")
19 tcCtrl.createVariable(
"my_var_array",
"int[3]")
23 print(
"Modifying variable values...")
24 tcCtrl.modify(
"my_var",
"123")
25 tcCtrl.modify(
"my_var_array[1]",
"456")
27 print(
"Modifying variable values via string ...")
28 tcCtrl.modifyAsString(
"my_var_array",
"{100, 0, 200}")
33if __name__ ==
"__main__":