Page 1 of 1
Checking for persistance of a file
Posted: Mon Oct 10, 2011 6:05 pm
by stevefromdodge
I need a Robotask method to check if a file is hanging around in a folder.We have several folders that are used by customers when they upload files. We have automatic processes that process and delete these files.I want to use Robotask to check a folder for files and then go back 5 minutes later to see if the same files are still in the folder.Ideas?
Checking for persistance of a file
Posted: Tue Oct 18, 2011 2:01 am
by jemesright
Testing is very important in software development and there are so many testing framework. In Java ecosystem the most popular is JUnit and TestNG. I prefer TestNG. When you want to write test, frist you must know what do you want to test. There are several kind of tests grouped by where they are added in the software development process (unit tests, integration tests, system tests, system integration test,regression tests, acceptance tests,…). This is the 3rd part of Starting with Facelets tutorial.
Checking for persistance of a file
Posted: Mon Oct 31, 2011 6:42 pm
by stevefromdodge
I resolved this by reworking the problem.The files are uploaded to us and timestamped with the upload time. That made the problem as simple as using "Search for file" to look for files more than 5 minutes old.
Checking for persistance of a file
Posted: Wed Dec 14, 2011 8:14 pm
by stevefromdodge
Well, we've changed FTP software and we need to revisit this problem. The New FTP software retains the existing file date as the "Date Modified" and writes the upload date to the "Date Created" field. Testing shows that RoboTask's "Search for files" is checking the "Date Modified".I can see two ways to solve my problem1) Get RoboTask to look at the "Created Date" field2) Create a file listing and hold it for 5 minutes. Then I'll need to create a new file listing, parse the two and compare them. Can anyone help with either approach or offer a better solution?
Checking for persistance of a file
Posted: Fri Jan 06, 2012 12:55 am
by yolanda88
Useful info. Hope to see more good posts in the future.