Hi Kumar,
Not really. JUnit is meant for testing microflows, not UI components.
In order to test UI components, including validations etc, in an automated fashion you probably need to set up a selenium script, or use some other web-testing framework.
-Andrej