TC doesn't find KeywordTests after renaming
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TC doesn't find KeywordTests after renaming
Hello,
I renamed and re-structured all keyword tests in my project. After restarting, TestComplete can't find these tests anymore. In the Windows File Explorer I can see, that the tests were renamed in the KeywordTests.tcKDT file. In the Keyword-Test folder the files were also renamed. But aparently they were not renamed in the subordinate .mds file.
In TestComplete's Project Explorer the tests are shown as unavailable, still in the old structure and with old names.
I guess that's a bug. But what can I do about it to avoid having to edit the .mds file manually?
Edit: I use Git, but it's not linked to TestComplete. When opening TC, I get the message "The Git executable was not found". I said "Work without Git".
Thanks in advance
Tobias
- Labels:
-
Keyword Tests
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where did you do the renaming? If you renamed them in Windows, I wouldn't expect TC to find them. Those folders and your folder structure in TC are not related.
Let's see a screenshot of your project please.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are able to reproduce the issue again in TestComplete, then it most likely is a bug. You can open a ticket via TestComplete: New Support Request.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I opened a support ticket now.
But maybe you have an idea for a workaround? Can TestComplete regenerate the .mds file?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look for references of "Fepu_wechseln" (Keyword Test) in all files, you should then be able to work out which files need to be modified - I would personally use Notepad++ to modify the files manually to get it back into the state it was before. Only do this, if you are confident in making changes
Make a backup of your project before making any changes though!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, but if possible I wanna avoid changing everything manually
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's an example of the same error that I purposely caused,
I've renamed the file Test3.tcKDTest to TestX.tcKDTest, and TestComplete is looking for the file which it can't find.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Good to know, that you can also recreate it. So it's for sure a bug
