Copying .aii test yields duplicate uniqueid

7 posts, 1 answers
  1. Chris Johnson
    Chris Johnson avatar
    20 posts
    Member since:
    Jan 2010

    Posted 14 May 2010 Link to this post

    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
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 14 May 2010 Link to this post

    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.
  3. Chris Johnson
    Chris Johnson avatar
    20 posts
    Member since:
    Jan 2010

    Posted 14 May 2010 Link to this post

    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
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 14 May 2010 Link to this post

    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.
  5. Chris Johnson
    Chris Johnson avatar
    20 posts
    Member since:
    Jan 2010

    Posted 17 May 2010 Link to this post

    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
  6. Answer
    Cody
    Admin
    Cody avatar
    3354 posts

    Posted 17 May 2010 Link to this post

    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.
  7. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 24 May 2010 Link to this post

    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.
Back to Top