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

missing a using directive or an assembly reference

1 Answer 362 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jin Khai
Top achievements
Rank 1
Jin Khai asked on 07 Apr 2018, 03:41 PM

I spend 3 hours to debug this problem.

I change some element page "Friendly name", and things start to screw up when run the test remotely. Everything is working fine in local tests.

I have no choice, but the uninstall the mongodb, remove all the mongodb files, and reinstall the entire storage services (with mongodb back). And everything is working fine after that.

Compile failed: c:\Users\Administrator\AppData\Local\Temp\2\TSProjects\d3044404-1123-4459-97ff-a78e64d83e16\Please Review Project\New UI\PR-T107 Create Multiple Comments & Verify Content (Stable).tstest.cs(72,19) : error CS1061: 'Area51Project.Pages' does not contain a definition for 'Review1hIOpTZmK0' and no extension method 'Review1hIOpTZmK0' accepting a first argument of type 'Area51Project.Pages' could be found (are you missing a using directive or an assembly reference?)
c:\Users\Administrator\AppData\Local\Temp\2\TSProjects\d3044404-1123-4459-97ff-a78e64d83e16\Please Review Project\New UI\PR-T107 Create Multiple Comments & Verify Content (Stable).tstest.cs(82,19) : error CS1061: 'Area51Project.Pages' does not contain a definition for 'Review1hIOpTZmK0' and no extension method 'Review1hIOpTZmK0' accepting a first argument of type 'Area51Project.Pages' could be found (are you missing a using directive or an assembly reference?)

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 11 Apr 2018, 03:43 PM
Hello Jin,

Please note that if you are using coded step and change an element or a page using the UI you should manually change the name in the coded step as well as this will not be reflected automatically.
I am providing you with the demonstration of the problem and what happens if you do not rename the page in the code. Refer attached.

Regards,
Ivaylo
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Jin Khai
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or