Ask a Question

How to launch the Application without using Tested Apps

SOLVED
Rajesh2
Contributor

How to launch the Application without using Tested Apps

Hi All,

 

How to launch the desktop application without storing it into TestedApps in TestComplete with Python? 

 

I need to launch an application and perform actions without storing it in TestedApps. 

 

Can anyone please suggest the solution for the same..

3 REPLIES 3
baxatob
Community Hero

Hi,

 

You can run it using shell call:

 

import subprocess

def launcher(path):
    
    subprocess.call( [path] )

path - should be a string contains the full path to your application executable file

If you need some command line arguments, you can add them in the list after path: [path, arg1, arg2]

Hi @baxatob Can you please tell me the solution using Python?

@Rajesh2,

 

The solution above is 100% pythonic.

cancel
Showing results for 
Search instead for 
Did you mean: