Coded steps failed to compile

10 posts, 1 answers
  1. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 20 Jun 2011 Link to this post

    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.
  2. Answer
    Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 21 Jun 2011 Link to this post

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

  3. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 28 Jun 2011 Link to this post

    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?
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 28 Jun 2011 Link to this post

    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?
  5. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 03 Jul 2011 Link to this post

    Thanks Cody!
  6. Eyjolfur
    Eyjolfur avatar
    6 posts
    Member since:
    May 2011

    Posted 05 Jul 2011 Link to this post

    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
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 05 Jul 2011 Link to this post

    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?
  8. Sangita
    Sangita avatar
    5 posts
    Member since:
    Aug 2017

    Posted 14 Aug 2017 Link to this post

    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?
  9. Sangita
    Sangita avatar
    5 posts
    Member since:
    Aug 2017

    Posted 14 Aug 2017 Link to this post

    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.
  10. Elena
    Admin
    Elena avatar
    1176 posts

    Posted 17 Aug 2017 Link to this post

    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!
Back to Top