I am currently working on Mobile automation project and I have created few KeywordTests scripts using TestComplete version 12.5. Some of them uses Data Driven Loop in it which uses test data excel spreadsheet. Yesterday afternoon I removed this spreadsheet from my local machine and copy it over to the server. Also, I updated the scripts which uses data driven loop process so that it points to new server location path.
But now all the scripts which I have modified does not display little green color 'Checked-In' symbol next to it.
I cannot check-out or check-in any of my modified scripts.
Does anyone know what is the reason why some of the scripts does not display little green color checked-in symbol in TestComplete?
You don't mention which version control tool you are using, but generally they don't like for you to just move the code around to other locations.
As far as your version control is concerned, the scripts that are on the server are new scripts because they are not located in the same place they were when you checked them in last.
Thanks for your reply Marsha_R.
But I am still unclear with your comments. In my situation I have same version of scripts on my local machine and server.
I can directly modify the script using TestComplete application but it does not allow me to check-out or check-in my script. After I update a script in TestComplete the only way I can check-in is through VS TFS. I will have to further investigate the root cause.
Same version on local machine and server does not matter. Once you moved the file, you've gone outside the version control system and it's treated as a separate file.
TestComplete will let you edit anything you can open in the editor, so that's not necessarily a clue.
Have you tried readding that script to the repository?
I am not sure what do you mean by reading a script to the repository? How do you do that?
re-adding = adding again
You usually have to add a file to a version control repository when it is new and then you can check it out and work on it and check it in.
What you might try is doing a "remove" on the file in TestComplete (*not* delete). You want to get it out of the project but not kill it altogether. Then add it to TestComplete from the location on the server.
I followed the steps and remove a script and add a same script from the server. But I still cannot see checked-in symbol. I am going to contact Customer Support team to resolve this issue. Thanks for all your help.