How can I write a good UI test plan?

Lately i have been trying to write a good UI test plan. Can anyone please tell me how to do it.