In this paper, we propose a wavelet collocation splitting (WCS) method, and a Fourier pseudospectral splitting (FPSS) method as comparison, for solving one-dimensional and two-dimensional Schrödinger equations with variable coefficients in quantum mechanics. The two methods can preserve the intrinsic properties of original problems as much as possible. The splitting technique increases the computational efficiency. Meanwhile, the error estimation and some conservative properties are investigated. It is proved to preserve the charge conservation exactly. The global energy and momentum conservation laws can be preserved under several conditions. Numerical experiments are conducted during long time computations to show the performances of the proposed methods and verify the theoretical analysis.