Comparing data with the data in excel sheet using Selenium Webdriver

+1 vote
Hello,

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.

Best Regards,
Kunal
Apr 9 in Software Testing by Kunal
• 130 points
85 views

Hey, @kunal,

I would suggest you go through this: https://www.edureka.co/community/45605/how-can-we-read-data-from-an-excel-sheet-in-selenium-webdriver

I hope this will be helpful

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Software Testing

+1 vote
2 answers

How to read data in Robot framework from excel file.

You can try run "py –m pip ...READ MORE

answered May 19 in Software Testing by anonymous
88 views
0 votes
0 answers
0 votes
1 answer

What are the different software testing types?

The different types of software testing are ...READ MORE

answered Feb 21, 2019 in Software Testing by Ravita
130 views
0 votes
2 answers

What is Functional Testing in Software Testing?

Functional testing is software testing aimed to check ...READ MORE

answered Jan 6 in Software Testing by Robert
• 140 points
126 views
0 votes
1 answer

What are the advantages of Functional Testing?

The major advantages of Functional Testing are ...READ MORE

answered Feb 21, 2019 in Software Testing by Raveena
97 views
0 votes
1 answer

What are the limitation of Functional testing?

There are very few limitation of Functional ...READ MORE

answered Feb 21, 2019 in Software Testing by Gaytri
212 views
+1 vote
1 answer

How to find Predicate String and IOS Class chain through Xpath in Appium IOS Platform. ?

https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain- ...READ MORE

answered Dec 2, 2019 in Software Testing by anonymous
595 views
0 votes
0 answers

who creates blocks in JIRA product owner, client or tester

who creates blocks in JIRA product owner, ...READ MORE

Jul 3, 2019 in Software Testing by anonymous
65 views