Page 1 of 1

How to pass values from Excel to my ranorex usercode?

Posted: Mon Dec 19, 2016 11:01 am
by Madhumita Ghosh3
Hi,

I have an Excel file containing username and password. I want to my Ranorex usercode to read data from this excel file and pass it to my code. Is there any code snippet for this? Please help.

Re: How to pass values from Excel to my ranorex usercode?

Posted: Mon Dec 19, 2016 2:42 pm
by odklizec
Hi,

You don't need any code snippet. Just follow the steps described in "Lesson 3: Data-Driven Testing" of Ranorex User Guide:
http://www.ranorex.com/support/user-gui ... sting.html
Everything you need to know (about data driven approach) is described in this chapter. Don't forget to view also the mentioned screencast...
https://www.youtube.com/watch?v=TRQy2Jl79-U