ztilleto_1
11 years agoContributor
Date Property (TestedApp Objects)
Hi,
I've run into an issue where I can't seem to see the Date Property on my tested app objects. This issue gives me a "30-12-1899 - 00:00:00" on all my test runs as I use the Date, which doesn't give me a good verification that it was run on the latest build.
Anyone else having had this problem?
I've run into an issue where I can't seem to see the Date Property on my tested app objects. This issue gives me a "30-12-1899 - 00:00:00" on all my test runs as I use the Date, which doesn't give me a good verification that it was run on the latest build.
Anyone else having had this problem?
Hi Mike,
I've reproduced this behavior on TestComplete 10.0 and reported it to our R&D team. At the moment, you can use the aqFile.GetLastWriteTime method to get the date/time of the last modification of the file. Here is the sample code:
//JScript
var Path = TestedApps.Items(0).FullFileName;
var lastModifiedTime = aqFile.GetLastWriteTime(TestApp.FullFileName);