Forum Discussion

Mohit_Dadhich's avatar
4 years ago

Getting error "NameError: name 'TestedApps' is not defined"

I am trying to launch my desktop application via TestedApps.Appname.Run() using UnitTesting(PyUnit)

But it is giving me error as "NameError: name 'TestedApps' is not defined"

Additonally, TestedApps.Appname.Run() is working fine if i am not using UnitTesting. It is working fine for simple Keyword Test and Script Test using Python language but when i executes it using Unit Testing(PyUnit) then it shows me the above error and application is not getting launched.

6 Replies