This is a migrated thread and some comments may be shown as answers.

Copying .aii test yields duplicate uniqueid

6 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Johnson
Top achievements
Rank 1
Chris Johnson asked on 14 May 2010, 09:21 PM
If I copy an .aii file in Visual Studio solution explorer, the copy has a duplicate unique id. You can see this by opening the two files with Visual Studio's XML editor. This causes mstest to give the following warning and it only runs the first test. (The original is Test_A, I renamed the copy to Test_B.)

"Warning: In loading Test_B from c:\tests\test_b.aii, it is detected that its id collides with Test_A from c:\tests\Test_A.aii. Test_A.aii from c:\tests\test_a.aii will be kept."

The problem also shows up in the Test List window. If you add the test to a list and close the solution, when you reopen it you'll see the test dimmed out and a warning icon alongside it.

I'm going to change the ID in the copy. Just wanted to know if there are any other issues I need to be aware of in the copy! I see at least one other fishy-looking thing in the copy: duplicate StepImageKey elements. I'll post a follow-on if those prove to be problematic.

Thanks,
Chris

6 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 14 May 2010, 10:10 PM
Hi Chris Johnson,

Are you running the 2010.1.4.12 version? I believe this problem has been fixed in the 2010.2.4.23 release, at least I am unable to repro this problem using that version. Can you download this newer version and try this again?

Regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chris Johnson
Top achievements
Rank 1
answered on 14 May 2010, 11:22 PM
Hi Cody -

Is 2010.2.4.23 an internal build? I am running the latest released version available on my downloads page, which is 2010.1.4.12. If I go to the internal builds link, I still don't see the one you mentioned. I see 2010.1.423.

Chris
0
Cody
Telerik team
answered on 14 May 2010, 11:36 PM
Hi Chris Johnson,

Yes it is the internal build. The 2010.1.423 you see on the download turns into 2010.1.4.23 when you install it. Sorry my mistake (typo)... I meant 2010.1.4.23. Sorry for the confusion!

Sincerely yours,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chris Johnson
Top achievements
Rank 1
answered on 17 May 2010, 06:31 PM
Cody -

Unfortunately I'm not prepared to use an internal release right now. When copying tests using the official release, is it enough to change the uniqueid in the copy, or are there any other issues we need to be aware of?

Thanks,
Chris
0
Accepted
Cody
Telerik team
answered on 17 May 2010, 07:15 PM
Hi Chris Johnson,

I understand your concern. Good news is no there isn't anything else you need to be concerned with, though if it were me I'd also change the name of the test after the copy & paste so I can remember which one is which, especially looking at it in Test View or Test List Editor.

Other good news is that we're about to release SP1 of the tool. It will be published any day now. It includes many fixes and a few new features for Silverlight recording and playback.

Kind regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Konstantin Petkov
Telerik team
answered on 24 May 2010, 09:39 PM
Hi Chris,

I'd like to thank you for your help in isolating the problem. We fixed the duplicated IDs test generation causing the error in the VS TestListEditor.

Unfortunately that fix didn't make it with the latest 2010 Q1 Service Pack release but you can find it included in the next one. Also if you decide to give an internal build a try please let us know and we will follow up once the build is available in Telerik the client accounts. Thanks!

Regards,
Konstantin Petkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Chris Johnson
Top achievements
Rank 1
Answers by
Cody
Telerik team
Chris Johnson
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or