How to pass values from Excel to my ranorex usercode?

Bug reports.
Madhumita Ghosh3
Posts: 8
Joined: Mon Dec 19, 2016 8:53 am

How to pass values from Excel to my ranorex usercode?

Post by Madhumita Ghosh3 » Mon Dec 19, 2016 11:01 am

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

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

Post by odklizec » Mon Dec 19, 2016 2:42 pm

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
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration