How to pass command line argument to imported file
Asked by
Neo
I have one question regd passing argument to an imported file.
My env is like this. I have main.sikuli file which has test cases/suite and reporting configuration. Each test case, will directly use methods, which are imported from common.sikuli. The common.sikuli in turn imports images folder. I have different folders for this. If I want to run for EN i manually use import EN_Images in common.sikuli file. If I want to run for other lang, again will change here. But, I want to handle this from command line to run on which localization I wish to (just passing an arg)
The problem is that passed arg can only be used in main.sikuli file. How do I pass this to common.sikuli, so that I configure the localization I wish to run.
Thanks in adv.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Neo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.