Hi,
I just started to experience a weird issue with the data source files (CSV).
So far, it all worked great. But after I (temporarily) disabled SETUP section, the CSV data source files were no longer automatically copied to release/debug folder. It seems that enabling/disabling SETUP section somehow unlink the CSV files from the rxtst file! I was also able to reproduce this problem by enabling Setup/Teardown sections in a new project, where the Setup/Teardown sections were not previously used.
And what's worse, even if I don't save the changes in my project, the csproj file is auto-saved with unwanted changes! The data sources are simply removed from the list of included files in csproj file.
In fact, Ranorex does not indicate any change in project (Save and SaveAs buttons stay disabled).
It took me a while to find what's going on, but I'm now able to reproduce it with a simple RX project created in latest 4.1.4. Please check the below steps...
STEPS TO REPRODUCE
- unpack the attached zip
- go to the DataSourceTest (without OK) and open the DataSourceTest.rxsln
- switch to DataSourceTest.rxtst tab
- in the Projects pane, expand the DataSourceTest.rxtst node (just to see there is linked large_files.csv file)...
- now in the Test Suite view, select DataSourceTest root node, right click on it and select Show Setup/Teardown menu item...
RESULT:
SETUP/TEARDOWN sections are created, but link to large_files.cs is gone!
If you now try to build the project, the large_files.csv file will not be copied to Release directory.
Save and SaveAs buttons do not indicate any change in project files. But f you now compare DataSourceTest with DataSourceTest_OK directories, DataSourceTest.csproj is modified (removed include section pointing to large_files.csv).
Hope you will be able to reproduce this issue. Please let me know in case you need more details.
BUG: data source (CSV) not copied to release/debug directory
BUG: data source (CSV) not copied to release/debug directory
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: BUG: data source (CSV) not copied to release/debug directory
Hi odklizec,
Thank you for providing the project files and thank you for your detailed description.
Unfortunately I could not reproduce the issue. Even not with your project. Ranorex copies the CSV file into the output directory and it is also available in the Project View.
Could you please try to uninstall Ranorex completely from your machine and install it again?
Regards,
Bernhard
Thank you for providing the project files and thank you for your detailed description.
Unfortunately I could not reproduce the issue. Even not with your project. Ranorex copies the CSV file into the output directory and it is also available in the Project View.
Could you please try to uninstall Ranorex completely from your machine and install it again?
Regards,
Bernhard
Re: BUG: data source (CSV) not copied to release/debug directory
Hi Bernhard,
Thanks for the reply. I wish I could uninstall/reinstall Ranorex, but I can't because of a problem described here...
http://www.ranorex.com/forum/impossibil ... t5617.html
As for the csv problem, I can repreduce the problem on two separate machines with 4.1.4. Unfortunately, it does not happen always, but I see this issue on a daily basis.
Thanks for the reply. I wish I could uninstall/reinstall Ranorex, but I can't because of a problem described here...
http://www.ranorex.com/forum/impossibil ... t5617.html
As for the csv problem, I can repreduce the problem on two separate machines with 4.1.4. Unfortunately, it does not happen always, but I see this issue on a daily basis.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: BUG: data source (CSV) not copied to release/debug directory
OK, I was finally able to uninstall RX 4.1.4 and replace it with older 4.1.3, 4.1.2 and even 4.1. After number of tests I found, that the problem is reproducible in all versions since 4.1. My guess is it's caused by this 4.1 feature addition:
The test suite now allows global Setup/TearDown sections.
Previously (in 4.0.6 and older), it was impossible to create an empty Setup/Teardown blocks. One had to select a module or group module, based on which was create Setup/Teardown section. Currently (4.1 and higher), it's possible to enable empty Setup/Teardown sections and after that fill these sections with modules. And this (or something related to this behavior) seems to be a reason why the data source file is unlinked from the rxtst file. And once the file is unlinked, it's not copied to release/debug directory (during build).
Sadly, I don't have any clue why you cannot reproduce this error at your side. It may not happen on each try, but it definitely happens to me quite frequently. Either during enabling/disabling Setup/Teardown, or during another test suite file manipulation.
The test suite now allows global Setup/TearDown sections.
Previously (in 4.0.6 and older), it was impossible to create an empty Setup/Teardown blocks. One had to select a module or group module, based on which was create Setup/Teardown section. Currently (4.1 and higher), it's possible to enable empty Setup/Teardown sections and after that fill these sections with modules. And this (or something related to this behavior) seems to be a reason why the data source file is unlinked from the rxtst file. And once the file is unlinked, it's not copied to release/debug directory (during build).
Sadly, I don't have any clue why you cannot reproduce this error at your side. It may not happen on each try, but it definitely happens to me quite frequently. Either during enabling/disabling Setup/Teardown, or during another test suite file manipulation.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: BUG: data source (CSV) not copied to release/debug directory
Hello odklizec,
Is it possible to show me your issue in a remote session?
Maybe I am doing something wrong.
Regards,
Bernhard
Is it possible to show me your issue in a remote session?
Maybe I am doing something wrong.
Regards,
Bernhard
Re: BUG: data source (CSV) not copied to release/debug directory
Hi Bernhard,
Sure. What about the Skype session tomorrow around 10:00? You can find me under the nickname odklizec. Or tell me your preferred time/communication tool. Thanks for your help.
Sure. What about the Skype session tomorrow around 10:00? You can find me under the nickname odklizec. Or tell me your preferred time/communication tool. Thanks for your help.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: BUG: data source (CSV) not copied to release/debug directory
Hello odklizec,
I guess we should communicate via e-mail regarding the remote session.
I have already sent an email to you.
Regards,
Bernhard
I guess we should communicate via e-mail regarding the remote session.
I have already sent an email to you.
Regards,
Bernhard
Re: BUG: data source (CSV) not copied to release/debug directory
Hello Bernhard,
OK, answered your email. Thanks for the reply and your attention!
OK, answered your email. Thanks for the reply and your attention!
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: BUG: data source (CSV) not copied to release/debug directory
Hello odklizec,
During our remote session we found out that the issue only occurs on your XP Machine. I tried to reproduce it on one of our XP Machines, but it worked as expected. The *.csv file is still available in the project view.
It seems to only to be an issue on your specific machine. Is it possible to install Ranorex on another XP machine and check if you can reproduce the issue on this machine too?
Thank you!
Regards,
Bernhard
During our remote session we found out that the issue only occurs on your XP Machine. I tried to reproduce it on one of our XP Machines, but it worked as expected. The *.csv file is still available in the project view.
It seems to only to be an issue on your specific machine. Is it possible to install Ranorex on another XP machine and check if you can reproduce the issue on this machine too?
Thank you!
Regards,
Bernhard
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: BUG: data source (CSV) not copied to release/debug directory
Hello odklizec,
During our remote session we found out that the issue only occurs on your XP Machine. I tried to reproduce it on one of our XP Machines, but it worked as expected. The *.csv file is still available in the project view.
It seems to only to be an issue on your specific machine. Is it possible to install Ranorex on another XP machine and check if you can reproduce the issue on this machine too?
Thank you!
Regards,
Bernhard
During our remote session we found out that the issue only occurs on your XP Machine. I tried to reproduce it on one of our XP Machines, but it worked as expected. The *.csv file is still available in the project view.
It seems to only to be an issue on your specific machine. Is it possible to install Ranorex on another XP machine and check if you can reproduce the issue on this machine too?
Thank you!
Regards,
Bernhard
Re: BUG: data source (CSV) not copied to release/debug directory
Hi Bernhard,
OK, I will give it a try on another WinXP machine an let you know the result.
Cheers,
Pavel
OK, I will give it a try on another WinXP machine an let you know the result.
Cheers,
Pavel
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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