Tool Recommendation (Not a web app)
There is a script in place to ensure that when a media file arrives on the landing pad (Folder A), it is sent immediately to a Folder B and mirrored in Folder C.
At all times, contents in Folder B should be mirrored in Folder C.
Is there a tool to test this functionality? Bearing in mind that this tool will have to :
• initiate the process by dropping media files from Folder X into A,
• following it all through to the destination folders,
• verifying contents in all folders,
• show logs / errors and
• integrate with a CI tool such as TeamCity.
What will your approach be to testing this?
Is there an automated tool capable of doing this?
I have worked with web testing tools in the past but I don’t think they are useful in this scenario. I even contemplated using macros but I know macros won’t show logs or verify contents and can’t integrate with team city.
I am guessing that a .vbs script or a script in Java or many other languages might work. Have it keep running in the background looking for files to arrive. Move them around. I think that there are file compare functions around. One I can think of is Beyond Compare.
I don't know of applications that specifically do this.
One concern I have is if the mirroring is done for back up and the script has a flaw in it all of the backups could be ruined. With careful logic it should be OK.
I think you should use the Filesystemobject in Vbscripting. You can have the vbs file continously running in the background so that whenever a file is added to the folder, it performs the copy.
Learn2Automate | If Is(QTP Driving you nuts) = True Then msgbox "Welcome !!!"
Good thing about automating something that has no UI, is you don't have to worry about which UI frameworks the tool is compatible with.
I think in your case, since it's all in the file system, any programming language/tool will work. Just pick one you feel has the best reporting features for the price you're willing to pay. CI tool integration with any test that runs via command line is pretty simple. All you really need is the reporting to generate some sort of compatible test report format (most common is the JUnit/Xunit XML format)
Tags for this Thread