How to read value from excel and execute it as command?

Hello Experts,

Please help in following problem.

Problem Statement : we are looking for an excel which contains some data like website name, login details and want to try out different user logins so how we can handle it? please brief about how UI path will read the value from excel and execute it, say like excel contain website as and contain username & password.

Thanks in advance!

@apurva.karandikar4 use foreach loop of dataTable to try different logins. Each time loop execute it will take new values for username and password.

@apurva.karandikar4 attached file may be useful check it (12.5 KB)