Forum Discussion

DKumar04's avatar
5 years ago

How testcomplete works with scripts not being written inside the class?

My question is if I have written my scripts using python. Let consider the below example # def test():    print "hello world" # class sampletest:       def test():...
  • tristaanogre's avatar
    5 years ago

    Keep in mind... this is Python SCRIPT, not full Python.  Not everything needs to have a class to be able to execute.  You can use classes, but they are not required for execution of functions.