Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Qu... > How to read parameters in...
Hi,
I'm using CommandLine+RemoteLaunchX, and I have added parameters in the "editParameters" section (in TestCase & TestSet). How can I read them at runtime in Java?I have attempted to use "System.getProperty("search")," but it didn't work.
Thanks,
When RemoteLaunchX runs it will call the specified application, which sounds like it is Java.
They will be passed as arguments to the command-line, so I imagine you would read them using:
class MyClass { // Main driver method public static void main(String[] args) { // Printing the first argument System.out.println(args[0]); } }
where the args array contains the parameters and values passed.
And if you have any questions, please email or call us at +1 (202) 558-6885