I have written a code for registration using Data Driven Framework, and inside the main method I have written 'IF-ELSE' loop but, I am not able to write logic for comparing the email ID which I have used for registration and the data which is mentioned in excel sheet. So I want help in developing logic for writing code as mentioned:
1. I want to compare email id which I have used for registration purpose with the data in my excel sheet. If both email ID matches then it should go to the 'ELSE' loop and proceed with the login. Otherwise, it should go inside 'FOR' loop and do the registration where I have called the registration method.
If anyone is able to help me that would be of great help.
Thanks in advance.