Files to be added to svn

10 posts, 1 answers
  1. ching ping
    ching ping avatar
    3 posts
    Member since:
    Sep 2010

    Posted 02 Nov 2010 Link to this post

    Hi,

    We have multiple developers working on the UI tests simultaneously. We're using svn as our version control. I would like to know which files(e.g. Settings.aii, Pages.g.cs, .vsmdi) do we need to add to our svn?

    Also, we implement the checking for FxCop and StyleCop for our codes. So when we try to convert our recorded steps into Nunit, the generated codes will hit the FxCop and StyleCop warnings. The workaround that we're currently using is to add 

    // <auto-generated />

    tag at the beginning of our UnitTest.cs file to avoid FxCop and StyleCop checking for that file. Is there any other better or automated way to prevent this?

  2. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 02 Nov 2010 Link to this post

    Hi ching ping,

    You will want to check-in all files to SVN except the following:

    • Pages.g.cs - this file is auto-generated with every build
    • *.suo files - this is a VS per user settings file
    • Anything in the TestResults folder
    • If you also use QA edition, you will want to exclude the Results folder. This folder is only created by QA edition and holds the results of test list runs.

    Here's a definition of some other files that test projects use:
    • *.vsmdi - This is a Visual Studio file. It stores the definitions of Visual Studio test lists
    • *.testsettings - This is a Visual Studio file. It stores the test run configuration settings (default timeouts, default browser, etc.).
    • Files in the Properties folder - this is created for every Visual Studio project. It contains definitions for the projects assembly.

    These are the files that are unique to WebUI Test Studio projects:
    • *.aii - These contain the actual test definitions
    • *.cs/*.vb - These contain your the code for your coded steps
    • *.resx - These contain the images for the storyboard.
    • Settings.aiis - This contains properties specific to this WebUI Test project (e.g. tool version it was created under, Recording settings, assembly references, TFS connection settings).

    We don't have a better method for working with FxCop and StyleCop. Thanks for pointing this problem to us. I'll add a feature request to add better support for working with those tools.

    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. ching ping
    ching ping avatar
    3 posts
    Member since:
    Sep 2010

    Posted 03 Nov 2010 Link to this post

    Hi,

    Thanks for the fast response. I encountered another problem that all the aii files(including the aii test created on my machine and created by my colleagues). Attached is the screenshot of the error message when i try to open an aii file. Some of my colleagues have same problem with me while some don't have this problem. Is there any files that some of us forgot to check-in to svn? Can advice on this?
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 05 Nov 2010 Link to this post

    Hello ching ping,

    I am sorry the screenshot of the error was not attached. Can you please try again? Don't forget to click Attach Files after selecting the file to attach.

    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
  5. ching ping
    ching ping avatar
    3 posts
    Member since:
    Sep 2010

    Posted 07 Nov 2010 Link to this post

    Sorry, here is the screenshot.
  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 08 Nov 2010 Link to this post

    Hi ching ping,

    Thank you for the screenshot. We sometimes see this error the first time you open a WebAii test project right after performing an upgrade of WebUI Test Studio. The fix seems to be to close Visual Studio, restart Visual Studio and open the project again. Have you tried that? If you already have and you still run into this error message, please put your entire test project folder into a .zip file and attach it to post. We'll analyze it to discover what the problem is.

    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. ching ping
    ching ping avatar
    3 posts
    Member since:
    Sep 2010

    Posted 09 Nov 2010 Link to this post

    Hi,

    I tried to restart my VS and reopen my project but this seems doesn't help. I had attached my project here.
  8. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 09 Nov 2010 Link to this post

    Hello ching ping,

    I loaded this project and did not have any problems with it. All tests contained in it load properly and it builds successfully too.

    The steps I took to fix the "Operation could not be completed" yesterday when we tried to open that one WebAii test on your computer were:

    1. Exclude the test from the project (right click on it and select Exclude from project)
    2. Save and close the solution
    3. Close Visual Studio
    4. Restart Visual Studio
    5. Reopen the solution
    6. Add the test back to project (right click and select Include in project)

    Once I did all of those steps the test loaded normally.

    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
  9. Georges
    Georges avatar
    1 posts
    Member since:
    May 2011

    Posted 17 Jan 2012 Link to this post

    What about tsprofconfig files in Profiler Configurations folder for the QA edition. Do they need to be added to SVN? What are these files for in general?
  10. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 18 Jan 2012 Link to this post

    Hi Georges,

    The *.tsprofconfig files are related to the Performance Testing. This is where the performance configuration settings are stored (such as the folder path where to store the test results, Performance server information, Performance counters, etc.) , so whether or not to check-in these files into SVN, depends on whether or not you want to save/share this performance test run configuration information.

    All the best,

    Plamen
    the Telerik team

     


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!