I'm checking the feasibility of using Ranorex for my project. I'm trying to have custom validations using code modules for certain tests I perform rather than recording them. For Example,
My software decompresses zip files and does certain text processing on the extracted files.
My test here is intended to check whether the file has been successfully extracted from the zip file or not. So I would like to make it in such a way that the user code module checks for the number of files in the destination location with the expected file extension.
More or less like this (Code from my nunit test case written for the same purpose):
Code: Select all
Assert.IsTrue(dc.TotalDecompressFileCount == 1, "File count is other than 1 " + dc.TotalDecompressFileCount);
Thank you in Advance,
Karthik