Last Updated: 22 Oct 2018 06:44 by ADMIN
Created on: 12 Oct 2018 12:54
Type: Bug Report
Refresh project files form hard disk does not refresh files
TTS 2018.3.1004.0

1. Create new project with one CS file inside
2. Open this file in Test Studio Editor
3. Switch to external editor and edit given file
4. Go back to Test Studio
5. Press Refresh project files form hard disk
6. Close given file
7. Open given file

Steps 5&7: Content of file is not refreshed

Steps 5&7: Content of file is refreshed
Posted on: 22 Oct 2018 06:44
Thank you guys, now the bug has been reported for investigation.
Posted on: 19 Oct 2018 15:06
Thank you Elena! Was investigating this on my own, and found same behavior. Secret was to nest the files in nested folder structure. 
Attached Files:
Posted on: 19 Oct 2018 14:45
Hello Jakub, 

As I informed you in your support thread, the scenario when issue can be reproduced, is not straight forward and needs to be updated. The issue persists when the class file is nested under any folder in the project. If it is in the project root one, the file will be updated. 

Please use this public item to follow the progress of the investigation.

Thank you for your cooperation! 
Posted on: 19 Oct 2018 11:21
Hello Jakub,

I am also using Windows 10 Pro x64 edition Version 1803 if that matters. I also tried with existing project and both Visual Studio Code and Notepadd ++ (refer attached).

Please confirm you are running Test Studio as administrator.
Posted on: 19 Oct 2018 09:52
Can you share more details about your system? Windows version? Mine is Windows  10 Professional x64 and I can still easily reproduce this issue. There is no lock, as changes made by Notepad++ and Visual Studio are easily visible in both apps, but not in TS.

Also I see on your video that you are starting with blank project. Can you try with some project with existing elements ?
Posted on: 19 Oct 2018 08:19
Hello Jakub.

Unfortunately this behavior is not reproduced. It works as expected and refreshes automatically, you even don't have to click on the refresh button. The only way it does not work I can think of is if your external program you are using for editing the file is locking the file while editing for some reason.

Refer to this sample demonstration attached, I am using Visual Studio Code.

Should you have any additional questions or comments please contact us via support ticket which is the official channel for getting help related with Test Studio.

Thank you for your understanding.
Best Regards
Attached Files: