SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    SubFolders under Stores.Files

    The Files area under Stores allows you to (ahem) store files for future use in testing. The TestComplete v8 GUI also allows you to create folders and subfolders under the Files area.

    However, if you copy a file into a subfolder in the GUI then check where it's actually placed on disk, it always seems to go into the [Project]\Stores\Files directory.

    Querying the Files object in script gives consistent results; even if a file's in a subdirectory in the GUI, a call to Files.FileNameByIndex (and similar) returns a location that's in the top level [Project]\Stores\Files directory.

    The upshot of this is that appears to be impossible to copy two identically-named files into the Stores area, even if you try to put them into different directories; the directories simply seem to be graphical conveniences at the GUI level, but the names still clash in the single directory things are actually stored in.

    Is this the case, or am I missing a trick here?

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: SubFolders under Stores.Files

    Hi,

    You've got it right, folders in the Project Explorer are logical. They don't exist outside TC's GUI. To use physical directories, you can simply create them inside <Project>\Stores\Files, place files in them and add these files to Stores in TC.
    Jared - AQA Support

  3. #3
    Junior Member
    Join Date
    Aug 2010
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: SubFolders under Stores.Files

    Thanks once more Jared - tried that and (of course!) it worked.

    That said doing things this way isn't overly intuitive, or (as far as I can find) documented at all. It might be worth at least mentioning that this can be done somewhere in the help file, or even better having some option in future versions of TC for Project Explorer folders to reflect the actual storage structure rather than the logical one.

  4. #4
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: SubFolders under Stores.Files

    Hi,

    We'll definitely consider adding more information on this to the help system.
    Jared - AQA Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:27 PM.

Copyright BetaSoft Inc.