The role of energetic electrons during the non-inductive current ramp-up is investigated in electron cyclotron heated plasma (≤ 60kW) in the spherical tokamak QUEST. The pulse height analysis of the hard X-ray (HX) is carried out with a fast time resolution of ≥1 ms, and acceleration of the electrons are studied by measuring the evolution of spectrum. It is found that wall recycling condition affects the formation of the tokamak configuration from an initial open magnetic field configuration. The vertical magnetic field Bz dependence of driven current Ip (~ 11 kA) is compared with those of HXs for studying contribution of fast electron. For high recycling case, Ip and HXs show peaks at an optimal low value of Bz/Bt = 7 ×10-3, however, for low recycling case, both increase monotonically with B z/Bt = 7 ×10-3 - 21×10 -3.