Is there a way to configure the proxy settings using TestNG -
i want configure use of proxy server in tests. want bypass proxy settings while run scripts locally. since proxy server not reachable form local host not able run scripts locally. there way can direct scripts when use proxy settings , when not?
you not telling how run tests (ant, maven, eclipse, suite file,...).
btw, can configure proxy (
system.setproperty("http....", "...");
) depending on logic in @beforesuite method.
Comments
Post a Comment