Compilation error

4 posts, 0 answers
  1. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 12 Jul Link to this post

    I have removed some obsolete verification steps from test. When I try to execute the test list, I got the following error. Any ideas how to fix this issue?

    \\sw-fitnes\test.studio.myhours.tests\MH.Web\Pages.g.cs(1478,65) : error CS0102: The type 'MH_Web.Pages.Time1Page.ExpressionDefinitions' already contains a definition for 'Span'
    \\sw-fitnes\test.studio.myhours.tests\MH.Web\Pages.g.cs(1354,68) : error CS0102: The type 'MH_Web.Pages.Time1Page' already contains a definition for 'Span'

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 14 Jul Link to this post

    Hi Uros,

    What version of Test Studio do you use?

    What exactly verification have you removed? If you use some elements in a recorded step and in a coded and when you delete the recorded step the element is also removed, so the coded step cannot find it anymore. 

    Is that the case?

    Could you please send us the problematic test so we can review it.

    Thank you!

    Regards,
    Boyan Boev
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 18 Jul Link to this post

    I have managed to solve problem with renaming all elements containing "Span".
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 19 Jul Link to this post

    Hello Uros,

    Glad to hear that.

    If you need further assistance please let us know.

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