Hi Lidai, Good to see TestNG question here. Thanks for posting.
If any one has answer, please help :-)
Judy
lidia wrote:
> Hi all
>
> Hope we have some TestNG gurus on this alias...
>
> I'm trying to pass some variables to testng, such as host, port, etc.
> These are defined in ant build.properties, e.g.:
>
> host=localhost
>
> However, the following code in testng.xml is not resolved:
>
> <parameter name="appHost" value="${host}">
>
> Instead the string ${host} is assigned to parameter appHost... If
> anyone knows the best way to pass parameters that are variables to
> testng, please let me know.
>
> thanks
> lidia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>