Batch file in Python
Batch file in Python
I want to add more than one recording in an .exe and run specific ones using batch files.This is like running different testcases from a single exe. Is this possible?If you can please reply with an example.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Batch file in Python
Hi naga11van!
Yes, its possible to get command line arguments in IronPython.
sample code:
Christian
Ranorex Support Team
Yes, its possible to get command line arguments in IronPython.
sample code:
import Recording1 args = System.Environment.CommandLine System.Console.WriteLine(args) if args.Contains("recording1"): Recording1.Start()Best regards,
Christian
Ranorex Support Team
Re: Batch file in Python
Hi Christian
Thank You so much. It works !
Thank You so much. It works !