I have added a stored file 'abcd.txt' to the Test Complete v8.50. Somehow, the text file is named as abcd_txt not abcd.txt in project explorer.
Why's that? Do I need to change any settings in order to get the text extension correctly when adding files to the stores folder.
But, you CAN call
<font class="small">Code:</font><hr /><pre>
The addition of the "Check" method off of the specific file object probably necessitated this change. As per the TestComplete help documentaiton for what's new:
"Now each Stores element (file, image, table and others) contains a new Check method that compares the element with other data. That is, script code that is used to perform comparison is less dependent on the data type: to compare two images or to verify database table data, you can now call Regions.image_name.Check and DBTables.dbtable1.Check correspondingly."
So this is a new feature for TC 8 which explains why you don't see this behavior in TC 7.
Is there an underlying reason why you need the file name to display that way in the project explorer? There are ways to get to file names and such within the Files Stores object, it's just a matter of finding the right set of methods/properties to meet your needs.
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure