The present invention provides a triazole compound and use thereof in agriculture. In particularly, the present invention provides a triazole compound having Formula (A) and a preparation method thereof, a composition and formulation containing these compounds and their use as fungicides; wherein R 1, R 2, R 3, w, R 4, R 5, R 6, R 7, R 8, R 9, R a, R b and x are as defined herein.