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

Coded steps failed to compile

9 Answers 255 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 21 Jun 2011, 02:24 AM
Hi,

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

Sort by
0
Accepted
Konstantin Petkov
Telerik team
answered on 21 Jun 2011, 08:48 AM
Hello Mark,

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 >>

0
Mark
Top achievements
Rank 1
answered on 28 Jun 2011, 05:58 AM
Hi Konstantin,

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?
0
Cody
Telerik team
answered on 28 Jun 2011, 04:47 PM
Hello Mark,

Please see this KB article for a detailed explanation on the Element repository.

Kind regards,
Cody
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
0
Mark
Top achievements
Rank 1
answered on 04 Jul 2011, 02:48 AM
Thanks Cody!
0
Eyjolfur
Top achievements
Rank 1
answered on 05 Jul 2011, 11:38 AM
Hi, I have a similar problem.

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
0
Cody
Telerik team
answered on 05 Jul 2011, 06:57 PM
Hello Eyjolfur,

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).

Regards,
Cody
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
0
Sangita
Top achievements
Rank 1
answered on 14 Aug 2017, 11:15 AM
Please refer to the attached image for the UI. If I want to click on a specific elipses(three dots) icon using Test Studio, how do I do that in a kendo grid since no unique attribute is available for the different ellipses?
0
Sangita
Top achievements
Rank 1
answered on 14 Aug 2017, 11:40 AM
I have added a piece of selenium code in a step after recording a few steps and getting the build error given in the attached document. I have added selenium dlls in setting. Please suggest how to remove this.
0
Elena
Telerik team
answered on 17 Aug 2017, 07:06 AM
Hello Sangita,

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
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Mark
Top achievements
Rank 1
Cody
Telerik team
Eyjolfur
Top achievements
Rank 1
Sangita
Top achievements
Rank 1
Elena
Telerik team
Share this question
or