Forum Discussion

jaredjamieson's avatar
jaredjamieson
Occasional Contributor
2 years ago

Using a returned value from a tested app

I added a tested app into my testcomplete project.  This python script is able to be ran using TestedApp.script_name.Run();  I am able to successfully deliver command line parameters to this script.  This script then returns a value.  I want to retrieve this value within my testcomplete project.  Is this possible?

 

This is what I would like to do:

 

process = TestedApp.script_name.Run();

** App runs and completes.  It generates the number 25 **

Log.Message(process);

Output:

25