Here is the following list of the execution procedures which would help to analyze the problem. It is as follows:
1. In the first step, you need to use the annotation in the form of @before class
2. Secondly, make sure that you use the annotation @after class
3. Subsequently, before executing the test class, make sure that you use @before performs
4. Lastly, use @before so that the application development process is smooth and is hassle free