Forum Discussion

Mr_Bro's avatar
Mr_Bro
Champion Level 0
3 years ago
Solved

Error while using Runner.CallMethod()

Hi Team,   i am using Python as Project script a Language, and i am trying to use Runner.CallMethod to execute a definition which is in a different routine, but i am getting error as "Python runt...
  • Mr_Bro's avatar
    Mr_Bro
    3 years ago

    A_Roskoshnyi ,

     

    Thanks for your reply

    And the below solutions resolved my problem:

    exec("Unit1.testSample()") and eval("Unit1.testSample()")

     

    Regards,

    Sathish Kumar