In reply to narendrareddy:
In reply to juhi_p:
Thanks for the reply.
I have question how to write the test cases for the every state transaction.
If possible could you please provide any link which will help in understanding clearly regarding the writing of the test cases for the state machine
In most cases your state machine is somewhere inside of your design, i.e. you cannot reach the input signals to your state machine directly. For this reason you have to measure which transitions you have covered.