Forum Discussion
tristaanogre
9 years agoEsteemed Contributor
Unless my syntax is incorrect karthick7, USEUNIT is not supported for Python in TestComplete. I tried the following:
#[Unit1]
def test1():
Log.Message('this is test 1')
#[Unit2]
#USEUNIT Unit1
def test2():
Unit1.test1()
I'm not really a Python guy, but as far as I can tell, USEUNIT won't work. You must use either of the two methods that I indicated in my earlier post
karthick7
9 years agoContributor
tristaanogre Thanks For your information.