Re: Is there way to find if the test is invoked from command line or from UI
It is easy to pass the java system properties for some one who is executing from command line. So thought of the solution in this line.
Even though one can identify if it is run from command line or not in the Load Script, there is no elegant way for the user in UI mode to set the java system properties unless one is hands on the scripting / coding and to the solution i was trying. Used project properties approach, so that UI users can set the values for project properties easily and command line users as well.
But still the answer to this question is interesting to me.