We calculate the D-brane superpotentials for two compact Calabi-Yau manifolds X14(1,1,2,3,7) and X8(1,1,1,2,3) which are of non-Fermat type in the type II string theory. By constructing the open mirror symmetry, we also compute the Ooguri-Vafa invariants, which are related to the open Gromov-Witten invariants.