Forum Discussion

Dave1's avatar
Dave1
New Contributor
8 years ago

How write pythons`s methods

Hi All, I have question about writing scripts in Python. I would like write one method and use it in others because I have part of code which I need in all methods. Do you have any idea for it ? How...
  • Bonibom's avatar
    8 years ago

    creating of the object is not correct is your script. This is not TestComplete issue.

    You would need the following:

     

    def test():
        a = TestedApp()
        a.normalInstallation()