I want to automate a scenario where a user wants to reset password and will click on reset button ,which will send OTP to users phone number and will ask to enter the otp received which will be validated and user will be allowed to RESET password .
How can I achieve automation for this scenario using selenium Java ?