When i add an element to the Project Elements on my old Test Studio Project and create a coded step. I always get an error of Compilation Failed - 1/1 coded steps failed to compile. External code failed to compile.
How can I resolve this issue?
Thanks.
9 Answers, 1 is accepted
Thank you for contacting us!
Can you try our latest official release? We published an official update about two weeks ago, labeled 2011.1.609.
Please let us know if you still experience the problem, thank you!
Best wishes,
Konstantin Petkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Addional question: how to the element repository work? what if two developers/testers working on a same project and are testing a page and recorded a same element/action? will the elements overlap?
Please see this KB article for a detailed explanation on the Element repository.
Kind regards,Cody
the Telerik team
Have you looked at the new Online User Guide for Telerik Test Studio?
I just upgraded to the latest version 2011.1.609.0 from the previous version.
In the stand alone version my tests fail to run when I add a custom coded step or even if I "Customize test in code" and make no changes. The error is:
(CS0246) The type or namespace name 'Pages' could not be found (are you missing a using directive or an assembly reference?)
In the project folder there is a "Pages.g.cs" file and in the test folder where all the test are.
However I still get this error. However the time stamp on the file is not current, isn't the file created automatically when "build/Execute" is deployed?
If I create a new project and new test in the stand alone version this problem does not surface. I exported the project for VS10, rebuilded solution, ran it, saved, reopened in Standa alone version and still no problems.
What can be the problem with my other project that fails due to "Pages" error?
cheers,
Eyjolfur Bjarnason
I am sorry you have run into this problem. Yes the Pages.g.cs file is supposed to be automatically re-generated (and all the source files compiled into a .dll) when you go to execute your tests. Since this appears to not be happening correctly I'd very much like to analyze your test project to try and determine the root cause. There is no setting or any other condition which would cause the symptom you are describing.
Please place your entire test project into a .zip file and attach that file for us to analyze. You may want to open a support ticket since they are only viewable by yourself and support (unlike this public forum).
Cody
the Telerik team
Have you looked at the new Online User Guide for Telerik Test Studio?
Thank you for posting!
Please refer to the forum threads you have submitted separately for each of these issues. Thanks!
Regards,
Elena Tsvetkova
Progress Telerik