missing a using directive or an assembly reference

2 posts, 0 answers
  1. Jin Khai
    Jin Khai avatar
    11 posts
    Member since:
    Mar 2018

    Posted 07 Apr Link to this post

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

  2. Ivaylo
    Admin
    Ivaylo avatar
    775 posts

    Posted 11 Apr Link to this post

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