Dave1
8 years agoNew Contributor
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 can I do it ?
I wanted to do like below, but TestComplete shows error.
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()