Thank you for your reply. Really appreciate. I have used 12v 10a from power supply and also tried with the power of the arduino. But it did not work. I will try to get the A498 stepper driver.
The stepper motor is rated at 3.96V, will it be ok to use it with 12v connected to the driver?
No, modern steppers are current controlled, its rated at 0.9A and 4.4ohms, and some unknown inductance. You want a lot more voltage (24V is common) to get good speed, its the inductance that matters most, and this dominates motor behaviour when its spinning, the 4.4 ohms is dwarfed by the inductive reactance typically.
If i need to use push button to program the stepper motor to rotate at specific angle, do i need to use 10k resistor connected to ground of push button?
You normally use push button to ground, and enable the built-in pullups on the pin
pinMode (pin, INPUT_PULLUP);