Excel Databiding - and MSOffice.

Ask general questions here.
palbaret
Posts: 26
Joined: Wed Jun 27, 2012 4:21 pm

Excel Databiding - and MSOffice.

Post by palbaret » Wed Sep 05, 2012 12:17 pm

Hi everyone,

we are using for our test an Excel file, and on the machine where we execute tests, we have installed the dotNet framework 3.5, we don't have any MSOffice installed on this machine.

When we are running tests a strange error occurs:

Code: Select all

Failed to get rows from data source: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Do we need to install MSOffice on our execution machine or any other third party software (OpenOffice,...)?

Thanks for your help

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Excel Databiding - and MSOffice.

Post by Support Team » Wed Sep 05, 2012 3:04 pm

Hello,

Unfortunately you have to install Microsoft Excel because the ExcelDataConnector requires Excel to be installed.

Regards,
Bernhard
Ranorex Support Team
.
Image

palbaret
Posts: 26
Joined: Wed Jun 27, 2012 4:21 pm

Re: Excel Databiding - and MSOffice.

Post by palbaret » Wed Sep 05, 2012 3:38 pm

Thanks for your answer.

Do you know if Ranorex needs other third party product to run except dotnet framework?

if we use a csv file as databinding, do we need Excel installed?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Excel Databiding - and MSOffice.

Post by Support Team » Wed Sep 05, 2012 5:13 pm

Hello,

There are no other third party products which need to be installed.
You just have to install Excel if you want to use some excel files as data source.

Regards,
Markus
Ranorex Support Team
.
Image

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

Re: Excel Databiding - and MSOffice.

Post by odklizec » Wed Sep 12, 2012 12:50 pm

palbaret wrote: if we use a csv file as databinding, do we need Excel installed?
Just to answer this question, no, Excel is not needed in case of CSV file. I just found it myself while testing the CSV file on VM machine without MS office.
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