Telerik Test Projects in TFS

4 posts, 0 answers
  1. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 11 Jun 2015 Link to this post

    Hi,

     We use TFS as repository for our project and store TFS test related files as well.

    I am wondering whether we need to check in Pages.g.cs everytime we add a new object.

    We are facing object not found issues intermittently. But team mate would have checked in latest objects to TFS.

    I was of impression that pages.g.s gets created every time project is loaded.

    Any inputs will be appreciated.

    Thanks,

    VVP

  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 12 Jun 2015 Link to this post

    Hello VVP,

    No, pages.g.cs is one of those files that should not be checked in to source control. It is automatically regenerated very frequently:
    • When you open the project
    • When you add new test steps
    • When you delete test steps
    • When you run a test

    If you are getting unexpected "element not found" errors and need assistance please create a new support ticket. Please let the test fail then go to Step Failure Details, find and click Export then attach the generated .zip file. It contains valuable information we need to diagnose this type of failure.

    P.S. I don't see any purchases or licenses to Test Studio in your account. To get further technical support we need to validate you are using a valid license. Please point us to the owner of the license you are using. Thank you.



    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 13 Jun 2015 in reply to Cody Link to this post

    HI,

    Thanks for the info. We were checking in Pages.g.cs and every now and then we had issues related to objects.

    So you mean to say basically objects will be stored in the test file which we are recording?

    And yes we have Test Studio Ultimate version license . It is owned by my company. So not sure whether i can link to my personal email id.

    Thanks,

    VVP

  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 14 Jun 2015 Link to this post

    Hi VVP,

    Yes every test actually stores the elements that test references within the test file itself. When the project is loaded Test Studio scans all tests contained in the project, merges all the elements then generates Pages.g.cs.

    Checking that file in can actually cause problems. Most source control systems will leave the file in read-only mode after checking it in. When it's set to read-only Test Studio is unable to re-write this file with current data.

    As for linking your account, if you can provide me with the email address of the license owner we can link your account properly for you. In fact we have to do that in our CRM system. Thanks!


    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top