omerj28
15 years agoOccasional Contributor
Problem Identifying objects/windows with time stamp
My application contains an Export button which upon clicking exports the data and the Exported Excel file contains the name of the file with updated time stamp each time the export icon is clicked. When TestComplete runs the test it probably looks for the same time stamp information as was recorded originally. Consequently, it fails to close the Excel window once the data has been exported.
How can I make it close the Excel file containing exported data regardless of the time stamp in the document title?
During the playback TestComplete encountered this file....
Export_Report_10_12_2010_7_20_42_AM(1)
while it was looking for the following file that was exported during the test recording session...
Export_Report_10_12_2010_7_10_22_AM(1)
how can this be avoided?
How can I make it close the Excel file containing exported data regardless of the time stamp in the document title?
During the playback TestComplete encountered this file....
Export_Report_10_12_2010_7_20_42_AM(1)
while it was looking for the following file that was exported during the test recording session...
Export_Report_10_12_2010_7_10_22_AM(1)
how can this be avoided?