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

Telerik Test Projects in TFS

3 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
VVP
Top achievements
Rank 2
VVP asked on 11 Jun 2015, 08:39 AM

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

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 12 Jun 2015, 07:36 PM
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!
0
VVP
Top achievements
Rank 2
answered on 13 Jun 2015, 12:47 PM

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

0
Cody
Telerik team
answered on 14 Jun 2015, 09:47 PM
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!
Tags
General Discussions
Asked by
VVP
Top achievements
Rank 2
Answers by
Cody
Telerik team
VVP
Top achievements
Rank 2
Share this question
or