TestNG in Eclipse, Reference to undefined variable env.DOMAIN_PATH -


i got error when try run unit test in eclipse testng, error message is: reference undefined variable env.domain_path

but problem not exist when run in intellj or maven.

any 1 experience problem?

i use eclipse mars.2 release (4.5.2), , updated testng plugin version 6.9.12.201607091356

thanks.

when trying run testng, got same error. changed preferences in eclipse testng -> maven systempropertyvariables , environmentvariables unchecked, , able run test cases successfully.

before

screenshot of maven preferences systempropertyvariables , environmentvariables checked.

after

screenshot of maven preferences systempropertyvariables , environmentvariables unchecked.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -