Unable to include an excel file to the Test suite

Bug reports.
mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

Unable to include an excel file to the Test suite

Post by mojohlic » Fri Oct 26, 2012 6:26 pm

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.

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

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

Post by Support Team » Mon Oct 29, 2012 9:54 am

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
.
Image

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

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

Post by mojohlic » Mon Oct 29, 2012 2:53 pm

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.

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

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

Post by Support Team » Tue Oct 30, 2012 1:47 pm

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)
Attachments
ExcelConnector.png
ExcelConnector.png (35.57 KiB) Viewed 801 times
.
Image

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

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

Post by mojohlic » Tue Oct 30, 2012 3:25 pm

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.

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

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

Post by Support Team » Tue Oct 30, 2012 4:15 pm

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)
.
Image

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

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

Post by mojohlic » Tue Oct 30, 2012 6:13 pm

I sent them.

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

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

Post by Support Team » Wed Oct 31, 2012 11:28 am

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)
.
Image