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

Compilation error

3 Answers 130 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Uroš
Top achievements
Rank 2
Uroš asked on 12 Jul 2016, 05:51 AM

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'

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 14 Jul 2016, 02:54 PM
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!
0
Uroš
Top achievements
Rank 2
answered on 18 Jul 2016, 09:59 AM
I have managed to solve problem with renaming all elements containing "Span".
0
Boyan Boev
Telerik team
answered on 19 Jul 2016, 02:28 PM
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!
Tags
General Discussions
Asked by
Uroš
Top achievements
Rank 2
Answers by
Boyan Boev
Telerik team
Uroš
Top achievements
Rank 2
Share this question
or