Page 1 of 1

Unable to include an excel file to the Test suite

Posted: Fri Oct 26, 2012 6:26 pm
by mojohlic
I am trying to attach an excel file to the test case and even though the "Include File in Test Suite" option has a check mark, the file doesn't get included. I was able to do it in the last version but when I moved to 3.3.3 I am not able anymore. Help please.

Re: Unable to include an excel file to the Test suite

Posted: Mon Oct 29, 2012 9:54 am
by Support Team
Hi,

Did you already take a look at your project and output folder, isn't there the specific file?
Can you see the file if you expand the test suite item in the projects view?

Regards,
Markus
Ranorex Support Team

Re: Unable to include an excel file to the Test suite

Posted: Mon Oct 29, 2012 2:53 pm
by mojohlic
I did check the project folder and I didn't see the file there. I check the \bin\Debug folder and it is not there either. I expand the test suite and it is not there.

Re: Unable to include an excel file to the Test suite

Posted: Tue Oct 30, 2012 1:47 pm
by Support Team
Hello,

Have you assigned your data source to a test case?
The excel file is included as soon as you use it in a test case.

The attached screenshot shows how to use a data source ‘ExcelConnector’ in a test case ‘TC_AddEntry’.
In order to use variables you need to bind variables in the tab ‘Data Binding’.

Regards,
Markus (T)

Re: Unable to include an excel file to the Test suite

Posted: Tue Oct 30, 2012 3:25 pm
by mojohlic
Yes I am using the data in the test case. and when I run the test case, it takes the information from the spreadsheet as expected.

Re: Unable to include an excel file to the Test suite

Posted: Tue Oct 30, 2012 4:15 pm
by Support Team
Hello,

Thanks for your screenshots.

We could not reproduce this issue.
Is it possible to get your project or a sample project?

Regards,
Markus (T)

Re: Unable to include an excel file to the Test suite

Posted: Tue Oct 30, 2012 6:13 pm
by mojohlic
I sent them.

Re: Unable to include an excel file to the Test suite

Posted: Wed Oct 31, 2012 11:28 am
by Support Team
Hello,

Thank you. I have got everything.
I was able to reproduce this issue.

I had to change the path to the data source and could include the Excel file into the project folder.

Please check if your data source is in the expected folder.
Please try to re-assign the correct Excel file to your data source in the ‘Manage Data Sources’ tab,

If it is still not working please re-install Ranorex with the ‘setup.exe’ file.

Regards,
Markus (T)