Following methods are commonly used for writing test cases.
* Equavalence partitioning.
* Boundry value analysis
* Based on past experience.
While we are writing the test cases we will follow some testing techniques.Based on that testing techniques only we will write the testcases. 1.Equivalence Partioning 2.Boundary Value Analysis 3.Error Guessing.