ranorex how do i use “ExcelDataConnector” to access data

Ask general questions here.
Posts: 1
Joined: Mon Nov 18, 2019 7:46 am

ranorex how do i use “ExcelDataConnector” to access data

Post by Sean8314 » Mon Nov 18, 2019 8:07 am

I am trying to figure out how to use the "ExcelDataConnector" class in Ranorex to access excel data so we can build dynamic test case interaction.

ExcelDataConnector con;
con = new ExcelDataConnector("Test","C:\\Users\\jonas\\Desktop\\Test.xlsx","Setup", "", 0);
So I think I have connected to the DataSource. But what do I do from here? I am looking at the documentation but I can't figure out what methods to use to fetch the data or loop through records. http://www.ranorex.com/Documentation/Ra ... nector.htm

Or am completely out of context here. I am starting to get the feeling that I have missunderstood the class and what to use it for.

If anyone can confirm or deny my suspion I would be greatful. And if this is how you are suppose to use the class please provie a few examples to get me going.

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

Re: ranorex how do i use “ExcelDataConnector” to access data

Post by odklizec » Mon Nov 18, 2019 9:09 am

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