I need to pass on following values …
exeEvironment (Test environment) , testGroup (Group in testNG)
from Command-Line ->
Perfect.
The simplest way to pass the variable from POM.xml to ABC.java
ABC.java
POM.xml
myhostname.com
And in the ABC.java we can call it from the system properties like this
System.getProperty("hostName")