When i record test every time i have to login?can we avoid this?
No you can’t. This is the very reason why automation tool is required.
You could have a specific test case that logs you in and then all other test cases have that test case as a prerequisite… it is considered good practice to create standalone tests generally though.
Your test case can call another test case.
You can create a test case named “Login”, and other worker test cases call the “Login”. This modularization would help you avoid code duplication.